Home Forums Chart Support Axis title padding

Axis title padding

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

    Hello,

    I have a column chart with two Y axes. However, the space between the axis labels and the axis title is very small, and the chart looks bad. As far as I can tell, there is no canvasjs chart property to fix this.

    I have tried adding blank spaces to the end of labelFormatter strings, but it seems they get stripped. As far as I know, you also can’t have more than one font color in the axis labels, so I can’t add in a couple extra transparent characters to push the axis title away from the axis labels.

    Am I screwed here? I’m at a loss, my customer really does not like how close the labels and titles are.

    A snipper that shows how close the label and title are

    Thanks,
    Scott

    #25851

    Scott,

    Sorry, there is no property to add padding between axis title and labels as of now. However you can achieve this by adding stripLine with transparent label as shown in this JSFiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.