Hello,
I need to set Marker at the center of BarSegments in StackedBarSeries and show the total sum at end of the series (see attached pic...)
I'm using GroupBy-Class and automatic generated series. MarkerTemplate is set in code-behind.
I have tried some approaches, but was not successful
I'm meanwhile completely desperate
If you need my source code, please feedback..
I have tried to use"Margin"-Property, but BarFragments has a different size. It makes ist very difficult to place a marker at center of BarFragment. Also an additional marker for "Sum Total" is needed.
I found out, that BarFragment has Canvas with Rectangles and Markers are placed at other Canvas under RootCanvas from StackedBarSeries. So i have no idea, how to move Markers to center of Rectangles of BarFragment.
I Found also out, that RangeColumnSeries (from SampleBrowser) already showing the Markers at the center of Bar. But also here , I don't know, ho to use this knowledge
Perharps is following possible:
- using Grid or Border with Texblock insetad of Rectangle for drawing BarFragments. But i have no idea how to make this..
- For "Sum Total" I can use a usual Marker at last Fragment with SumValue from DataSource, But here i don't know how to show Marker only for the last segment...
Please Help
Hi Tricept,
Thank you for your post. I was looking into your requirement and I was wondering whether you have tried to set the ‘Margin’ property of the Marker in order to move it left?
If this does not help, could you please attach a sample application that shows your scenario?
Looking forward to hearing from you.