Home › forums › Using CanvasJS › How to remove padding from 'stackedbar'? › Reply To: How to remove padding from 'stackedbar'?
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