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
1330
Chart axis labels getting cut off
posted

I a using UltraWinChart version 12.2

I have the labels on the X axis on my charts displayed diagonally, however, as you can see in the following screenshot, the lables get cut off if they are too long:

http://screencast.com/t/x49jwH5v9cSy

Is there a way to either:

1) Automatically resize the chart so that the axis label fits in the chart area, and/or

2) Wrap the label text over 2 lines

Parents
No Data
Reply
  • 53790
    posted

    Hello Estatemaster,

    There are different approaches to solve this task. Maybe the easiest way could be if you move your X axis up, using the property ultraChart1.Axis.X.Extent, or if you change the Orientation angle  ultraChart1.Axis.X.Labels.OrientationAngle.

    Another approach could be if you are using FillSceneGraph event and modify your Text primitives from your X axis.

    Please let me know if you have any questions.

    Regards

     

Children