Hi Everyone,
I have a requirement to show a columnseries in which one category has two different numeric values(in other words,one x having two y values).
I have been able to plot a columnseries using xamdatachart for other requirements successfully.
But when i implemented this requirement, two seperate bar got displayed adjacent to each other, which is incorrect implementation.(PFA image, two bars shown in red circle)
Correct for me actually would be if both bars could have overlapped each other. I tried applying using overlap propery of CategoryXAxis but no success.
Could someone please advice me on this, I have a delivery for the same very soon. :( please help
Thanks in advance,
Rakesh
Ignore the first image.
This is correct one
Hi Rakesh,
You're going to need to use the StackedColumnSeries if you want to have one category with multiple Y values.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Category_Stacked_Column_Series.html
Hi Rob,
Thanks for your advice.
I was able to fulfill my requirement using StackedColumnSeries.
But now i have one more issue left for marker template of StackedColumnSeries. I am displaying (x,y) marked values at the top of every bar.
If there is one y for one x, marked values are getting displayed properly,but when i have two "y" values for one "x"
I am finding it difficult to implement the logic for the marked template for one of the two places.
Can you please help or advice, if possible with a sample.
HI,
you should be able to create Marker Templates for each stack.
I am attaching a sample application for your review.
Sincerely,
Matt
Developer Support Engineer
HI ,
Please let me know if you need further assistance regarding this case.
Hi Matt,
Thanks for your help,