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…
Note
  • Works only in Error Series
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
	.
	.
	},{
		type: "error",
		linkedDataSeriesIndex: 1, 
	 }
],
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


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