dockInsidePlotArea: Boolean

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


Default: false
Example: true, false

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
legend:{
   dockInsidePlotArea: true 
 },

 .
 .
});
chart.render();

Try it Yourself by Editing the Code below.



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

Comment