Home forums Report Bugs xAxis label not appearing

This topic contains 3 replies, has 2 voices, and was last updated by  Manoj Mohan 1 week, 2 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27045

    Cheers everyone,

    I am having an issue with the bar chart xAxis label. I have created one bar chart which xAxis is a date object. I have used intervalType: ‘month’ and interval: 1. The issue is that when the chart has a single value, sometimes the xAxis label doesn’t appear.

    Here is the jsfiddle: http://jsfiddle.net/89mvzbfc/.
    If you change the widow scale the xAxis dissapears.

    I would be really grateful if someone gave me a solution.
    All the best.

    • This topic was modified 1 week, 4 days ago by  dev.europe. Reason: This is a bug
    #27064

    @dev-europe,

    Setting labelAutoFit to false of axisX should work fine in your scenario. Please take a look at this updated JSFiddle.

    —–
    Manoj Mohan
    Team CanvasJS

    #27069

    Now the chart has the behaviour I needed. Thanks much for the instant support.

    #27094

    @dev-europe,

    Glad that it worked out for you :)

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.