Home Forums Chart Support Reduce title spacing

Reduce title spacing

Viewing 2 posts - 1 through 2 (of 2 total)
  • #33007

    How to reduce the spacing between multiple titles in the Y-axis object array. I have reduces the font size for the title. but also want to reduce the spacing. I am facing this issue in a line chart

    #33107

    @raghav-son,

    To reduce space between title of one y-axis with the other y-axis line, you can set the margin property of axisY to 0.

    axisY: {
    	margin: 0
    }

    Please take a look at this JSFiddle for a complete code.

    Multiple Axis Y Chart with margin set to 0

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.