Skip to main content

All Questions

Tagged with
4 votes
0 answers
3k views

how to give custom design (icons) for point Style of chart js legends?

I have a chart which designed based on a mock-up but the the mock-up chart has used custom icons for legends pointStyles which basically i couldn't find them in chart JS itself, i tried different ...
Sajad Haibat's user avatar
2 votes
2 answers
9k views

How to change position of labels in Doughnut chart?

I have created one doughnut chart. var ctx=document.getElementById('mycanvas').getContext('2d'); var chart = new Chart(ctx, { type: 'doughnut', data: { ...
user7397787's user avatar
  • 1,470
26 votes
3 answers
95k views

How can I control the placement of my Chart.JS pie chart's legend, as well as its appearance?

I am able to create a pie chart using Chart.JS with this code: HTML <div> <canvas id="top10ItemsChart" style="padding-left:20px" width="320" height="320"></canvas> <div ...
B. Clay Shannon-B. Crow Raven's user avatar