Home Forums Chart Support Border Radius for Chart

Border Radius for Chart

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

    How to set border radius for a chart?

    #44266

    @anirudhspriyan,

    Are you looking to add border radius to chart container? If yes, you can add it through CSS as shown in the code-snippet below.

    
    .canvasjs-chart-canvas {
      border-radius: 12px;
    }
    
    #chartContainer {
      border: 1px solid #dedede;
      border-radius: 12px;
    }
    

    Also, check out this JSFiddle for complete working code.

    Add border-radius to Chart Container

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.