Unplanned
Last Updated: 15 Jan 2024 09:57 by Darren
Darren
Created on: 15 Jan 2024 09:57
Category: Chart
Type: Feature Request
1
Enable default axis labels auto rotation

By design, the axisDefaults configuration of the Kendo UI for jQuery Chart allows you to set the rotation of the labels to "auto":

axisDefaults: {
    ...
    labels: {
      rotation: "auto"
    },
  }

//OR

axisDefaults: {
    ...
    labels: {
      rotation: {
        angle: "auto"
      }
    },
  }

At this stage, when using Telerik UI for ASP.NET Core Chart, the Rotation() method does not accept a string value. Also, the Angle() option accepts only a double value. Is it possible to implement an additional overload that allows setting the labels rotation to "auto"?

For example:

.AxisDefaults(ad => ad.Labels(l => l.Rotation("auto")))

Or

.AxisDefaults(ad => ad.Labels(l => l.Rotation(r => r.Angle("auto"))))

0 comments