dockInsidePlotArea: Boolean

When dockInsidePlotArea is set to true, title renders inside the plot area there by giving more space to plot area.

Default: false
Example: true, false
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 title:{
   dockInsidePlotArea: true
 },
 .
 .
});
chart.render();

Try Editing The Code


If you have any questions, please feel free to ask in our forums.Ask Question