All Questions
4
questions
0
votes
1
answer
527
views
Why the labels under chart are not corresponding with labels in legend in Chart.js for bar chart?
I would like to make a chart with labels on xAxes and the same labels in the legend. I was trying different solutions, but the best I got is the snippet below. I don't understand, why all bars are ...
1
vote
1
answer
160
views
Is there a way to make the correct toggled legends appear when downloading?
I am using a c3 chart. I have a button to download it using canvg. I also have it toggle bars when legends are clicked. The download works and so do the toggles.
The only issue in the downloads is ...
0
votes
0
answers
533
views
D3 bar chart add legend
I have made a bar chart in d3 but I am struggeling with 2 things.
First of all I want to add a legend because I have 2 different bars so I want people to know what each bar is.
The second I want to ...
4
votes
1
answer
12k
views
d3js Create legend for bar chart
I'm having a couple of issues with my bar chart. The current issue is trying to create a legend. The legend should read Global and Local (blue & green).
Currently the legend generates 5 boxes - 2 ...