100% stacked chart with callout datalabels

100% stacked chart with callout datalabels

Forum member · Jun 20, 2013
Is the ability available to make an 100% stacked chart without an X-Axis, Y-Axis, and legend but to add callout datalabels pointing at the different stacked sections? If I cannot do it out of the box, would I be able to create the 100% stacked chart without an X-Axis, Y-Axis, and legend and then evaluate where the series stacks were drawn and X/Y plot my own callout labels? If it helps to visualize what I am after, my scenario is to have a single stack with each segment representing student ethnic/race demographics. Thanks much!

Re: 100% stacked chart with callout datalabels

Support · Jun 21, 2013
Hello, You can hide the X-Axis, Y-Axis and legends using our DynamicPDF Generator for .NET product. You will need to set the Visible property of the XAxis, YAxis and Legend class to false in your application. Below is sample code for it. chart.Layout(); if (barSeries.XAxis.MinorTickMarks != null) { barSeries.XAxis.MinorTickMarks.Visible = false; } if (barSeries.XAxis.MajorTickMarks != null) { barSeries.XAxis.MajorTickMarks.Visible = false; } barSeries.XAxis.Labels.Visible = false; barSeries.XAxis.Visible = false; if (barSeries.YAxis.Labels.Count > 0) { barSeries.YAxis.Labels.Visible = false; } if (barSeries.YAxis.MinorTickMarks != null) { barSeries.YAxis.MinorTickMarks.Visible = false; } if (barSeries.YAxis.MajorTickMarks != null) { barSeries.YAxis.MajorTickMarks.Visible = false; } barSeries.YAxis.Visible = false; chart.Legends[0].Visible = false; It is not possible to add callout data labels pointing at the different stacked sections using our DynamicPDF Generator for .NET product API. Also it is not possible to get the X and Y positions of the series stacks. Thanks, ceTe Software Support Team.