I am using UltraWinChart.UltraChart and ChartType is StackColumnChart. I want to display actual value associated with each of the box on the columns appearing in chart.
e.g. if I have one bar in the chart having 3 sections with underlying values 5,8,6. So now these three section of the bar will be displayed by default with lables as 5,13,19 onto the bar. But what I am expecting is to display 5,8,6 instead of their added values.
Please help - if anybody nows hows to display the actual value onto the bars in StackColumnChart
Thanks for the reply!
Alternatively, I have changed the property ItemFormatString to <DATA_VALUE_ITEM:00> under 'Chart Type Property' - Chart text - Column Chart and it fixed.
Hello ,
You can set a ChartTextAppearance with the necessary ItemFormatString property to the Barchart like so:
BarChartAppearance barApp = new BarChartAppearance();
ChartTextAppearance textApp = new ChartTextAppearance();
textApp.ItemFormatString = "<DATA_VALUE_ITEM:#,###.##>";
textApp.Column = -2;
textApp.Row = -2;
textApp.Visible = true;
barApp.ChartText.Add(textApp);
ultraChart1.BarChart = barApp;
Here is also a link form our online documentation for further reference: http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Chart_Label_Formatting.html
Please let me know if I can assist you further.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support