I am using a XamDataChart to create a Waterfall graph that looks identical to this one.
To do this, I am using a RangeColumnSeries as well as a StackedColumnSeries. The RangeColumnSeries shows the individual range values (all columns but far right), and the StackedColumnSeries is showing those same values 'stacked' in the far right column. What I need to do is change the colors of individual columns in the RangeColumnSeries so that those colors line up with the colors used in the StackedColumnSeries individual StackedFragmentSeries items.
Any pointers on how to do this? I have tried using the LayoutUpdated event of the grid to use code to set the colors but I cannot seem to find the right properties in the object model to allow me to do so.
Attached a new image file. The one I linked to got cut off.
Hello Mike,
Thank you for your post. I have been looking into it and I created sample project for you with the functionality you want. Basically I created a Style for Rectangle, and handle its Loaded event, because the RangeSeries is created from Rectangles. In the handler I set different colors, which you can make match the ones in the Stacked Series.
Hope this helps you.