linkedDataSeriesIndex: Number

Setting linkedDataSeriesIndex lets you choose to which dataSeries the Error Series should be attached.

By default, Error Series will be linked to its previous dataSeries.


Default: previous dataSeries Index
Example: 1,2,3…

Notes
  • Works only in Error Series


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
	.
	.
	},{
		type: "error",
		linkedDataSeriesIndex: 1, 
	 }
],
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



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