You must be logged in to post your query.
Home › Forums › Chart Support › Label clipped or invisible if longer than viewport
Tagged: label, viewport
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?
@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
You must be logged in to reply to this topic. Login/Register