I'm still relatively new to silverlight charts and I was wondering if there is a way to display multiple colors on the same line series.
Basically I have a line series chart that displays temperature over time. Along with these two values I have a third boolean value. Now depending on whether or not this value is true I want the color of either the line itself or the background of the chart to change.
Please take a look at the images below for a better understanding of what I mean.
This is how my chart currently looks:
This is what I want to happen (Whichever one is easiest):
Any help will be greatly appreciated!
Note: I am using Silverlight 4 with Apr 2010 Toolkit.
You style the point. Then you can, for instance, use a value converter to convert your point information to color based on your logic. You bind the style background to the point data, for instance. So each point can be a different color based on the data. Or they can all be the same, if the data for the color is all the same.
You COULD programmatically apply a style to just certain points, but I wouldn't do that. Too much work for questionable benefit.