Page 1 of 1

Manage Labels Size

Posted: Fri Aug 28, 2015 10:46 am
by 9526439
Hi Steema Support,

We are creating chart labels with large data values so in last label(that show Bottom maximum value) its does not show complete value properly as shown in fig. below:
Labels.png
Label
Labels.png (15.86 KiB) Viewed 7582 times
Is there is any way to manage labels size automatically according to labels data.

Thanks in advance.

Thanks
PlanoResearch

Re: Manage Labels Size

Posted: Fri Aug 28, 2015 11:02 am
by narcis
Hi PlanoResearch,
amol wrote: Is there is any way to manage labels size automatically according to labels data.
That's what automatic labels do. With custom labels you can add the code below after adding custom labels.

Code: Select all

      tChart1.Panel.MarginUnits = PanelMarginUnits.Pixels;
      tChart1.Panel.MarginRight = tChart1.Axes.Bottom.MaxLabelsWidth();

Re: Manage Labels Size

Posted: Fri Aug 28, 2015 12:33 pm
by 9526439
Thanks! Steema Support it works successfully!!!