Closed leeoniya closed 4 years ago
cc @arwenpi via https://github.com/chartjs/Chart.js/issues/6611
uPlot should be quite a bit faster for data streaming. demo: https://leeoniya.github.io/uPlot/demos/stream-data.html
cc @BatelAyala via https://github.com/highcharts/highcharts/issues/12602, https://github.com/highcharts/highcharts/issues/12662
here is your example using uPlot: https://jsfiddle.net/v4xuohk6/
if you need to plot 500,000 points, uPlot will easily handle this, too.
cc @drichardonline via https://github.com/drichardonline/chart-demo
cc @ptimson via https://github.com/amcharts/amcharts4/issues/1965
here is your example using uPlot: https://jsfiddle.net/mb5rpzn7/
the chart completes rendering in ~85ms on my machine.
cc @ceefit via https://github.com/patternfly/patternfly-react/issues/3429
uPlot should easily handle a 200 data point stream (it does quite well with thousands):
cc @ben-spiller via https://github.com/danvk/dygraphs/issues/355
legend series toggle is the default behavior in uPlot
cc @lab-w dygraphs is no longer maintained, perhaps uPlot can work for you.
maybe of interest to you, as well:
@noobymcnoob
lol did they delete your question?
No I deleted it because I figured I wouldn't get an answer.
On Wed., May 6, 2020, 1:46 p.m. Leon Sorokin, notifications@github.com wrote:
@noobymcnoob https://github.com/noobymcnoob
lol did they delete your question?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/leeoniya/uPlot/issues/33#issuecomment-624793559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDE4VBGPSBYFXEZ2WIRZODRQGPBBANCNFSM4JFRR4UA .
i think their answer is to downsample on the server. from the plotly maintainer: https://news.ycombinator.com/item?id=23045956.
i'll add plotly to the benchmark later today based on [1], since it's pretty widely used. some preliminary numbers using box plots: https://github.com/leeoniya/uPlot/issues/179
[1] https://plotly.com/javascript/line-charts/#basic-line-plot
If I wanted to downsample, I'd downsample. I don't want to. I will likely be switching to uPlot soon. Incredible performance!
Minor suggestion: uPlot is tough to search for on the web. Name is not unique enough?
On Wed., May 6, 2020, 2:19 p.m. Leon Sorokin, notifications@github.com wrote:
i think their answer is to downsample on the server. from the plotly maintainer: https://news.ycombinator.com/item?id=23045956.
i'll add plotly to the benchmark later today based on [1], since it's pretty widely used. some preliminary numbers using box plots: #179 https://github.com/leeoniya/uPlot/issues/179
[1] https://plotly.com/javascript/line-charts/#basic-line-plot
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/leeoniya/uPlot/issues/33#issuecomment-624809954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDE4VC2MHBIHUJIQM4CO2DRQGS23ANCNFSM4JFRR4UA .
Minor suggestion: uPlot is tough to search for on the web.
Googling uPlot yields the first 3 proper matches on the first page for me.
Name is not unique enough?
that ship has sailed...and i'm happy with the name :)
Indeed, looks like the search engines have caught up.
On Wed, 6 May 2020 at 14:26, Leon Sorokin notifications@github.com wrote:
Minor suggestion: uPlot is tough to search for on the web.
Googling uPlot yields the first 3 proper matches on the first page for me.
Name is not unique enough?
that ship has sailed...and i'm happy with the name :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/leeoniya/uPlot/issues/33#issuecomment-624813436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDE4VDCQXVXYV2OQQINZWLRQGTU5ANCNFSM4JFRR4UA .
Plotly.js (scattergl) bench:
cc @nagabhushant (via https://github.com/amcharts/amcharts4/issues/2475)
amcharts has very poor performance. you should try something faster:
https://github.com/leeoniya/uPlot#performance
your examples should render in < 200ms with uPlot.
cc @runfaj (via https://github.com/amcharts/amcharts4/issues/2720).
In this 48 chart page, v3 loads on average about 13 seconds. v4 always loads about 3x that time at 35 seconds on average.
even 13s is an absurd amount of time.
i'll tag people here whose issues & use-cases in other charting libs could be good opportunities to try uPlot.