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
1490
some value on top of ColumnSeries missing
posted

Hi,

Please see below screenshot. 

I have a requirement like this case: http://es.infragistics.com/community/forums/t/54197.aspx, and  I achieve this in code-behind, but now there is a problem here. Some value on top of ColumnSeries are missing, is there any property need to set to avoid this situation.  Thanks in advance

 

Below is my code behind:

ColumnSeries series = new ColumnSeries();
series.ValueMemberPath = "Y";
series.Thickness = 3;
series.XAxis = _xAxis;

//show value on top of columnSeries
DataTemplate dt = new DataTemplate();
dt = (DataTemplate)XamlReader.Load("<DataTemplate xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'> <TextBlock Text='{Binding Item.Y}' Margin='0,0,0,20'/> </DataTemplate>");
series.MarkerTemplate = dt;

 

 

 
Parents Reply Children