Home Forums Chart Support Label clipped or invisible if longer than viewport

Label clipped or invisible if longer than viewport

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

    Hi Team,

    If minimumViewport is set to “23-02-2023:20:30:00Z” or at any time in PM either the date is clipped or completely invisible in X-axis label. Is there a way to fix it so that the label displays?

    #42967

    @vinay4422,

    By default, the chart avoids clipping labels on either end of the plot area through auto-labeling. In your case, the labels are getting clipped since you are setting viewportMinimum. You can overcome this by either not setting viewportMinimum or by setting viewportMinimum to a value smaller than the required viewport minimum.


    Thangaraj Raman
    Team CanvasJS

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

You must be logged in to reply to this topic.