Git Product home page Git Product logo

Comments (8)

anagrius avatar anagrius commented on June 23, 2024 4

Awesome. We have made our own and would love support out of the box. The biggest challenge was getting labels right. Meaning using meaningful dates (e.g. 1 days, 2 weeks, 3 months, 6 months) for arbitrary intervals. We ended up porting the logic from Highcharts:

https://github.com/highcharts/highcharts/blob/a270307bbc099909760b801bf877abb6a77f5581/js/parts/DateTimeAxis.js

Where they had done the ground work for us.

from elm-charts.

terezka avatar terezka commented on June 23, 2024

It seems to be a common use, so that's a great idea! I'll add some helpers in the new version!

from elm-charts.

stuartnelson3 avatar stuartnelson3 commented on June 23, 2024

Definitely need this, as all the data I plot is for timeseries.

from elm-charts.

anagrius avatar anagrius commented on June 23, 2024

Anyone done any work on this else I will start soon

from elm-charts.

terezka avatar terezka commented on June 23, 2024

Hi! I'm splitting the library into smaller chart libraries, so the work is being done here: https://github.com/terezka/lines

I haven't worked on data series specifically, so you can go ahead if you'd like :)

from elm-charts.

anagrius avatar anagrius commented on June 23, 2024

That sounds like a great idea, as long as area and lines would have compatible options and data, since we switch between them based on user preference.

Or would you include area as part of lines?

UPDATE: Just looked through the code. They are. Closing this.

@terezka You should really let people know about this plan, maybe close issues and make a paragraph about it in the README?

from elm-charts.

terezka avatar terezka commented on June 23, 2024

@anagrius You're right, I'll do that!

from elm-charts.

terezka avatar terezka commented on June 23, 2024

Done! Thanks for the reminder.

from elm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.