Hi
I am developing a motion chart sample. I am referring the following example.
http://blogs.infragistics.com/blogs/kiril_matev/archive/2011/01/27/delivering-an-interactive-visualization-of-your-time-series-data-using-xamdatachart-and-infragistics-motion-framework.aspx
I want to add more features to the above example.
As the radius of the Bubble changes based on a radius series value. I am having another series which corresponds to the colour of the bubble and Scattered Line series.
I am able to change the colour of the bubble as the bubble moves in timeline based on the value of the color series value.
i want to add linearGradient for Scattered Line series used to show trail.The line should show all the colors with gradation effect for all the values of the color series.
I am having problem in implementing this.
Well you could always assign a LinearGradientBrush to the series, and orient it such that the color changes in the x direction, but I'm not sure if that's what you are going for.
We don't give you the option to assign different colors to different segments of the scatter line series. If that's what you are trying to do. You could make a feature request for this though. But allowing for individual segment coloring may interfere with some of the performance features of the chart.
If you just want to have a different color for the marker vs the underlying line, You can bind to a color in the underlying data from a custom marker template. This would allow you to vary the color of the marker over time without affecting the color of the line segments, if thats what you are trying to do.
-Graham
Check the above chart.
The colour of the bubble series changes as it moves along the x axis based on the x axis value.
but if i change the colour of the scatteredline series as i move along the x axis it changes the colour of the entire line.
i want scattered line to show linear gradient effect based on the x axis values as i move along the x axis.
Hi,
Could you elaborate a bit on what you mean? You can use a linear gradient as the brush for the markers or the connecting lines, and even change the direction of the gradient. But its the same brush that is used for the entire line, so it may not be appropriate for what you may be trying to do.