Hi All,
We are using Stacked Column Chart to display data with in a week (from Mon -> Sun).
For each day (corresponding with a column from the chart), we want to add a line for estimation value as in the attachment.
In WinForm version we did this by add target line from FillSceneGraph() event .
How can we do this in WPF?
Thanks so much,
Chu
Hello Chu,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I used Markers for the top most Series and created a DataTemplate for them, which contains a Rectangle with a set Margin. You can always bind the Margin Property to the underlying object’s Property, which determines the target line and use a Converter to return a proper Thickness.
Please let me know if you require any further assistance on the matter.
Hi Stefan,
Thanks you very much for your solution. It helps us to resolve the problem with Stacked Chart.
Regards,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
I have value for line so I can not to define margin value. What relation of unit of chart and margin unit.
Thanks.