Home forums Using CanvasJS How to remove padding from 'stackedbar'? Reply To: How to remove padding from 'stackedbar'?

#22319

Priyanka M S
Member

@ethicalsector,

Legends are shown for dataSeries and not for dataPoints except pie, doughnut, funnel and pyramid charts.

You can set the showInLegend property of dataSeries and dockInsidePlotArea property of legend to true to place the legends inside the plot area.

__
Priyanka M S
Team CanvasJS