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
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. data: [{
  6. .
  7. .
  8. },{
  9. type: "error",
  10. linkedDataSeriesIndex: 1,
  11. }
  12. ],
  13. .
  14. .
  15. });
  16. chart.render();

Try Editing The Code

  Also See:    


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