MVC5 Classic
Rotate the Axis Label

To set the label properties for the X-Axis such as the width, textAlign, and rotation use the following code:

x: {
            text: "Height (cm)",
            labels: {
                  style: {
                        fill: "#7f7f7f",
                        "font-size": "11pt",
                        rotation: -45
                  }
            }
    },

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback