Home › forums › Using CanvasJS › Axis title padding
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.
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.
You must be logged in to reply to this topic.