hi.
im developing chart programming in xamdatachart ver 2016.01 wpf.
problem is positioning of marker in stackedcolumnseries.
im developing marker using StackedFragmentSeries.MarkerTemplate
=========================================
problem is slovled.. using another forum sample in this website..
thanks alot...
code is..
YAxis="{Binding ElementName=StackedColumnYAxis}" ItemsSource="{Binding EnergySampleData}">
<ig:StackedFragmentSeries x:Name="S1" Visibility="Visible" MarkerVisibility="Hidden" ValueMemberPath="Coal" Title="Coal" > <ig:StackedFragmentSeries.MarkerTemplate> BorderBrush="{Binding Series.ActualMarkerOutline}" BorderThickness="0.5"> FontSize="12" HorizontalAlignment="Center" />
StackedFragmentSeries default marker position is below sample.. - asis
i want position vertical center alignment as below - tobe
Marker1
Marker2
Marker3
thanks alot..
================================================================================
Hi
we have the exact same problem. Please explain what your solution was?
Thanks in advance!
Hello Key360,
A sample project and description exists at the linked forum thread above. Just as a reference, the link to that forum thread is http://ko.infragistics.com/community/forums/t/106042.aspx.
In short, the idea is to overlay a transparent StackedLineSeries over the StackedColumnSeries such that the values of the StackedLineSeries are half those of your StackedColumnSeries. This will allow the points of your StackedLineSeries to point directly at the center of the fragments of your StackedColumnSeries, and by re-templating the markers of the StackedLineSeries to bind to the underlying value of that particular marker, you can achieve the behavior shown above. Again, this is all demonstrated in the sample project provided by Infragistics user "MartinT" on the attached forum thread.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer