Home forums Chart Support Padding Support for Chart Legend


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

    I am trying to set padding for legend, Below is the code for legend properties:

    legend: {
    horizontalAlign: “left”,
    verticalAlign: “bottom”,
    fontSize: 12,
    fontFamily: “arial”,

    I want to add padding for legend from left side , can you please guide regarding this?



    Padding is not available in legend, as of now. Are you looking for space between legend-marker and legend-text? If so you can achieve it by setting markerMargin property. If not can you kindly share some pictorial representation or an example of your requirements so that we can understand it better and help you out?

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.