Hi,
I am building a small SPC Charting tool. I use the Multiline chart and XML to load multiple lines on the chart canvas.
Each line has:
The line itself
Upper Limits (I use the trendline tag in XML to create this) horizontal line(s)
Lower Limits (I use the trendline tag in XML to create this) horizontal line(s)
I want to
Match the color of the line and its respective trendlines. For example if a line is yellow, I want its tendlines to be yellow. I currently do not choose the color of each line so the FusionCharts library assigns them. What is the best way to pick the color (I like the ones fusion charts is automatically assigning) for each chart? I don't want to use a loop to increment some color variable because that doesn't result in nice colors. Toggle the trendlines on or off depending if the line they belong to was toggled off/on using the legend
Thank you,
Achilles