I had annotations above each column when the chart was in its flat version, but since I changed it to the 3D version I get the ChartTextAppearance( this is the object it was using to write out each column value right above the column) to show up?
Here is my code snippet for this issues
//labels above columns. if (showValues) { //Appearance // ColumnChartAppearance // ColumnChart3DAppearance
ChartTextAppearance cta = new ChartTextAppearance(); cta.Visible = true; //-2 signifies all rows or all columns cta.Row = -2; cta.Column = -2; cta.ChartTextFont = new Font("Arial", ((float)FontSize - 1.5f), FontStyle.Regular, GraphicsUnit.Point); cta.ItemFormatString = bMatchup ? " " + sValueFormat : sValueFormat;
cta.HorizontalAlign = StringAlignment.Center; cta.VerticalAlign = stack ? StringAlignment.Center : StringAlignment.Far;// Inside the bar for stack style
chart.ColumnChart.ChartText.Add(cta);
if (ValueAlignVerical) { chart.ChartDrawItem += ultraChart1_ChartDrawItem; cta.HorizontalAlign = StringAlignment.Far; cta.VerticalAlign = stack ? StringAlignment.Center : StringAlignment.Center;// Inside the bar for stack style } }
Hi,
Not all chart types support showing data labels on chart.
Data labels are not supported for a ColumnChart3D.
You can submit a feature request here:
http://devcenter.infragistics.com/protected/requestfeature.aspx
I know this answer was posted 2 years ago, but I am trying to do the same and still not working. Is this property still not supported in 3D charts?
Thanks
Hi dariogs2001,
Thank you for posting in the community.
Adding data labels to the ColumnChart3D is not currently supported. I have created a feature request for you regarding this functionality which I have logged directly with our product management team. Our product team chooses new features based on feedback from our customers. We continue to monitor all of our products so that as trends arise in the functionality requests from our customers, we can plan accordingly.
Your reference number for this feature request is FR13705. If you would like to follow up on your request at a later point, please feel free to contact Developer Support management via email. Please include the reference number of your FR in the subject and body of your message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support