I would like to inquire about how to apply a legend to a ColorGrid chart as shown in the attached image.
thank you.
I would like to inquire about how to apply a legend to a ColorGrid chart.
I would like to inquire about how to apply a legend to a ColorGrid chart.
- Attachments
-
- legend.png (267.86 KiB) Viewed 10908 times
Re: I would like to inquire about how to apply a legend to a ColorGrid chart.
Hello,
The simplest way could be adding a dummy
Add the
Tune the legend and the left axis:
Use the
The alternative would be to draw the legend manually.
The simplest way could be adding a dummy
Line
series to draw those items in the legend.Add the
Line
series before adding the ColorGrid
:
Code: Select all
var line = Chart1.addSeries(new Tee.Line());
line.data.values = [1200, 1150, 1100, 1050, 1000, 950, 900];
line.colorEach = "yes";
Code: Select all
Chart1.legend.legendStyle="values";
Chart1.legend.symbol.height = 18;
Chart1.legend.symbol.format.stroke.fill = "";
Chart1.axes.left.setMinMax(0, 100);
warm
palette:
Code: Select all
Chart1.applyPalette("warm");
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |