Home Forums Report Bugs The x-axis label gets cut off.

The x-axis label gets cut off.

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

    Check out this fiddle:

    http://jsfiddle.net/canvasjs/33bfczkn/

    The last x-axis label gets cut off. It should be 500 but it reads 50 instead.

    #9590

    @sbefort,

    You can avoid cliping of axis labels towards end by setting maximum value of x-axis to 510 which will add some padding towards the right side of the axis.

    axisX: {
      maximum: 510,
      .
      .
    }

    Please take a look at this JSFiddle for complete code.

    Dynamic chart with static X-Axis Labels

    —-
    Rishabh
    Team CanvasJS

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

You must be logged in to reply to this topic.