Home Forums Report Bugs xAxis label not appearing

xAxis label not appearing

Viewing 4 posts - 1 through 4 (of 4 total)
  • #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 5 years, 2 months 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.