Home Forums Chart Support No Chart Legend Padding

No Chart Legend Padding

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


    I was asked to provide spacing between the title of a chart and the (bottom) legend. I figured out how to add padding for the chart’s title, however the legend does not contain an option to add padding to the bottom of the chart. Is there a way to resolve this?



    Sorry, it is not possible to customize the padding of the legend as of now. However, you can create custom legends using DOM elements and use CSS to style it accordingly as shown in this JSFiddle.

    CanvasJS Chart with custom scrollable legend

    Adithya Menon
    Team CanvasJS

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

You must be logged in to reply to this topic.