Home forums Using CanvasJS Remove all paddings and margins

This topic contains 3 replies, has 2 voices, and was last updated by  Anjali 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8277

    Dodo
    Participant

    I would like to remove all paddings and margins in charts in order to align the chart with an adjacent grid. You can find the working fiddle below, I removed all the margins that I can find but the chart still has paddings from bottom, top and left.

    http://jsfiddle.net/teoj05js/1/

    #8290

    Anjali
    Participant

    dodo,

    As of now margins are automatically calculated and can’t be customized. As a workaround, on axisX you can set margin to -10.

    __
    Anjali

    #8296

    Dodo
    Participant

    Hi Anjali,

    I can remove the bottom and the left margins with negative values, but can’t remove the top margin. Is there any way to do that, if not do you have any plans to implement such a feature.

    #8307

    Anjali
    Participant

    dodo,

    Sorry, we don’t have plans to implementing this in near future.

    __
    Anjali

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

You must be logged in to reply to this topic.