Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actively maintained alternatives to Dygraphs. #1004

Closed
kierson opened this issue Aug 6, 2020 · 6 comments
Closed

Actively maintained alternatives to Dygraphs. #1004

kierson opened this issue Aug 6, 2020 · 6 comments

Comments

@kierson
Copy link

kierson commented Aug 6, 2020

Hi.

First of all, we are using Dygraphs since 2016 in our product.
It is great library, has everything we need and is super fast.
At the beginning we used probably 10% of its capabilities but whenever we wanted to add some feature in our app, it was either built in in Dygraphs or was super easy to extends because Dygraphs has a lot of places when you can "jump in" with your own code.

However currently we are considering refactor of our charts code base and I was wondering if there is something on the open source market that we could replace Dygraphs with. The reason for this is that Dygraphs is not actively maintained, written in old style, without support for static typing etc. Don't understand me wrong. It is not bad. It just requires a lot of work around it to fit it into your product.

Do you maybe know library that:

  • is actively maintained
  • has good quality docs
  • render/re-render a lot of data points (lets say 50-75K) fast, AFAIK only canvas based libs can do it, but maybe I am wrong
  • has easy way to integrate with your own interaction model, tooltips, legends etc (it is super easy with Dygraphs!)
  • is customizable when comes to rendering points, lines etc (colors, shapes, thickness etc)
  • handles real numbers and Dates for X-axis or at least gives possibility to provide custom formatters for X and Ys axes.
  • supports error bars
  • has good quality TypeScript definitions
  • has good quality wrapper for React (not must have)

I hope this question doesn't offend anyone in this community.
I always found you guys very helpful and open minded.

@leeoniya
Copy link

leeoniya commented Aug 6, 2020

minus good quality docs, a React wrapper and stacked series support i think uPlot ticks the rest of your requirements and then-some. i wrote it as a spiritual successor to dygraphs (which i used prior).

https://github.com/leeoniya/uPlot

@kierson
Copy link
Author

kierson commented Aug 6, 2020

I forgot about error bars. I need them too.
Edited my first comment.

@leeoniya
Copy link

leeoniya commented Aug 6, 2020

i never really understood why dygraphs calls what it does error bars: http://dygraphs.com/gallery/#g/temperature-sf-ny

in uPlot this is called high/low bands: https://leeoniya.github.io/uPlot/demos/high-low-bands.html

traditionally error bars look like actual bars:

error-bars

@danvk
Copy link
Owner

danvk commented Aug 6, 2020

dygraphs does have TypeScript definitions, btw https://yarnpkg.com/package/@types/dygraphs

@kierson
Copy link
Author

kierson commented Aug 6, 2020

Well as far as I understand they come from:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/dygraphs/index.d.ts

First line in this file says it is for version 1.x of Dygraphs.

@danvk
Copy link
Owner

danvk commented Aug 6, 2020 via email

@mirabilos mirabilos closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants