Home Forums Chart Support Z-index for canvas chart Reply To: Z-index for canvas chart

#22671

@adjmpw,

Irrespective of when you receive the data for charts, defining line chart as the second dataSeries and updating dataPoints of the respective dataSeries on receiving data from web-socket or AJAX should work fine in your case. Please take a look at this JSFiddle where dataPoints for 1st dataSeries, which is of type column, is updated after clicking the button.

__
Priyanka M S
Team CanvasJS