Home forums Using CanvasJS Canvas view with large no of channels Reply To: Canvas view with large no of channels


Priyanka M S


The space for every legend text is allocated based on the height and width of the chart container. If sufficient space is not available to render every legend completely, the legend text will be wrapped or skipped internally to enhance readability.
However, itemWrap can be set to false to avoid wrapping of legend text and you can set the itemMaxWidth property according to the height and width of chart container or fontSize of the text can be reduced to make the more characters visible. Please take a look at this example on the custom legend which might be of help.

can we show tooltip for the truncated channels name.

toolTip for legends is not available as of now.

Priyanka M S
Team CanvasJS