Skip to main content

All Questions

Tagged with
0 votes
0 answers
776 views

Chart JS 3.9 - bar chart with multiple legend labels for one dataset

Current results As seen in this picture, I would like additional legends that is matching the colors. Like Apples are shown with the color green, I would also like to show 'Bananas' for orange', '...
Peter Dalby's user avatar
0 votes
0 answers
587 views

ChartJS: How to force redraw after hiding data items clicking on legend?

I've a ChartJS pie chart, where I draw the labels myself. This works fine - until the legend comes into play. const options = { layout: { ... }, plugins: { ...
Konrad's user avatar
  • 4,637
0 votes
1 answer
1k views

Chart.js remove label from legend for if dataset values

I have a chart with multiple datasets. I want the label of a dataset from the legend to not be visible if all the values in a dataset are null. I've found some solutions but they were only working if ...
Raluca Micu's user avatar
0 votes
1 answer
933 views

Chartjs - Changing legend as a line with pointsyle of circle?

const myLineChart = new Chart(viewsCount, { type: 'line', data: lineChartStats.data, options: { elements: { line: { tension: 0 // ...
budz's user avatar
  • 123
0 votes
0 answers
317 views

Appear legend or label on each path with JSON data

I have the following d3 diagram: http://img801.imageshack.us/img801/4904/zjj4.png If you look, it is not appear any label or legend that indicate the info about the path. I want that It looks ...
araujophillips's user avatar
1 vote
0 answers
2k views

d3.js Sequence Sunburst __data__ null

I am attempting to use a "sequence-sunburst" style d3 visualization for some data that I have. To get started, I decided to simply recreate what is given on the d3 website (http://bl.ocks.org/...
Jefftopia's user avatar
  • 2,155