Hi,
is there any option to make series line change color(or other line properties eventually) at specific x-axis intervals(or just set the color at some data point while creating model)? E.g I'd like to be able to
1.) make the LineChart with datetime x-axis values ranging from 2013-01-01 to 2014-01-01 and be able to set different line colors for different datetime ranges: Red color for interval 2013-01-01 - 2013-02-01, blue one for interval 2013-04-01 - 2013-05-10 etc.
or
2.) make color changes in data model like this:
Code:
data.Add(new ChartModel(new DateTime(2014, 2, 1), 1, 5, Color.Red));//red line from this datapoint
data.Add(new ChartModel(new DateTime(2014, 2, 2), 2, 10));
data.Add(new ChartModel(new DateTime(2014, 2, 3), 1, 2, Color.Blue));//blue line from this datapoint
data.Add(new ChartModel(new DateTime(2014, 2, 3), 10, 35));
Right now I'm only able to make different line colors by creating series for each color. But the number of colors would be limited because you can add only 2 series(am i right?), and yet i would like to add two independent series, each one composed of different colors.
Thanks for your replies, solutions