I am creating a pie chart in Highcharts with a legend.
When I specify the series as an array of values (my preferred method), the legend
displays the string "Slice" for each value. If I instead specify the series as a list of
objects with named values, I correctly see the data names. Can I see the data names if I
specify the series as an array of values?
Here
is the code that doesn't work but that I would like to
use:
HighCharts
pie
src="http://code.jquery.com/jquery-1.11.1.min.js">
src="http://code.highcharts.com/highcharts.js">
Here is the code that
does work when I specify the series as a list of objects with named
values:
HighCharts
pie
src="http://code.jquery.com/jquery-1.11.1.min.js">
src="http://code.highcharts.com/highcharts.js">
style="width:600px; height:400px;">
No comments:
Post a Comment