MVC5 Classic
Style the Axis Labels

To modify the Y-Axis label style use the following code:

$(document).ready(function () {
  $("#wijcompositechart").wijcompositechart({
            axis: {
                y: {
                    text: "Total Hardware",
                                        labels: {
                        style: {
                            fill: "#3399ff",
                            "font-size": "11pt"
                        }
                    },
                },

This topic illustrates the following:

The following image shows the Y-Axis label style forecolor and font-size modified. The font size was modified using the font-size option and the forecolor was modified using the fill option.

 

 


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

Product Support Forum |  Documentation Feedback