Home › forums › Using CanvasJS › The legends are hiding behind the zoom and reset panel
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 4 months, 3 weeks ago.
When there are more legends, which covering the entire horizontal space allocated, it is hiding behind the zoom and reset panel.
As I saw the zoom panel has position absolute so it is not relative to dom flow. Can I break the legends line before some space to right? Like margin-right in css.
Thanks for reporting the use-case. We will fix it in future versions.
As of now, you can workaround this issue by setting horizontalAlign to left and maxWidth of the legend as shown in this JSFiddle.
Priyanka M S
You must be logged in to reply to this topic.