implot
implot copied to clipboard
Is it possible to draw wave like ecg wave
It is a good project !
Is it possible to proivde a chart type which draw real time data wave line like ecg wave ?
like this : https://demo.scichart.com/javascript-vital-signs-ecg-medical-chart-example
thanks you !
Did you look at the manual/demo? Theres already an example showing how to do that.
As already mentioned, see the second example under Plots/Realtime Plots
in the demo:
the dawing method is not the same like the one shows here : https://demo.scichart.com/javascript-vital-signs-ecg-medical-chart-example
javascript-vital-signs-ecg-medical-chart-example shows that the history wave was "cleared" while drawing the new wave point.
You can do that yourself by just keeping the old data and overwriting it so that it looks like the example you provided.
ImPlot is an awesome library and it has an extensive feature set and customization options, but it just cannot cover all the possible use cases or visualization possibilities. Sometimes you just have to code it yourself.