Home Forums Chart Support Border Radius for Chart Reply To: Border Radius for 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