Horizontal axe label truncated

2 posts, 1 answers
  1. Mathieu
    Mathieu avatar
    6 posts
    Member since:
    Feb 2014

    Posted 03 Sep 2015 Link to this post

    Hi,
    I'm using a graph in wich i specified an horizontal DatetimeCategoricalAxis.
    I have a the first axe label trucated (attaced file).

    Is it possible to fix this issue without changing the "LabelRotationAngle" value ? 

    Regards,

    Mathieu

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1414 posts

    Posted 03 Sep 2015 Link to this post

    Hi Mathieu,

    Thank you for writing.

    You should set the ClipLabels property of the axis to false:
    DateTimeCategoricalAxis categoricalAxis = new DateTimeCategoricalAxis();
     
    categoricalAxis.LabelFitMode = AxisLabelFitMode.Rotate;
    categoricalAxis.LabelRotationAngle = 300;
    categoricalAxis.ClipLabels = false;

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top