Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1230
xamDataChart Markers using Olap and xamPivotGrid
posted

We are using the xamDataChart interaction feature with xamPivotGrid.

in the SeriesCreating event of the OlapXAxis we are applying a MarkerTemplate to the series.

My Question is, what property should we set the TextBlock Test binding to?  

We have tried:

Item.Value, Cell.Value, Cell.ValueFormatted

None work

var xamlMarker = @"
<DataTemplate x:Key='ColumnMarkerTemplate'
xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
<TextBlock Text='{Binding Cell.ValueFormatted}'
Foreground ='Black' FontSize='12' FontWeight='Bold'
VerticalAlignment ='Center'
HorizontalAlignment ='Center'
TextWrapping = 'Wrap' />
</DataTemplate>";

Second Problem will be how to NOT display the markers in the Legend?

Parents
No Data
Reply Children
No Data