GithubHelp home page GithubHelp logo

Comments (6)

benmccann avatar benmccann commented on May 18, 2024 1

Date has basically no features. Hopefully we can remove date adapters after https://github.com/tc39/proposal-temporal

from chartjs-adapter-luxon.

stockiNail avatar stockiNail commented on May 18, 2024

@winsmith may I ask you if you can reproduce the issue in codepen?

from chartjs-adapter-luxon.

LeeLenaleee avatar LeeLenaleee commented on May 18, 2024

Only thing I can think off by that error is that you dont import the adapter, thats the only way you get that error afaik, when I try it, it seems to work fine: https://codesandbox.io/s/react-typescript-forked-5s45fs?file=/src/App.tsx

from chartjs-adapter-luxon.

iTrooz avatar iTrooz commented on May 18, 2024

Is there a reason ChartJS doesn't support native Javascript dates, rather than forcing an adapter ?

from chartjs-adapter-luxon.

iTrooz avatar iTrooz commented on May 18, 2024

And I assume you need some of these features with ChartJS ? May I ask why, if you also support raw timestamps (that have no features since they are just numbers)

from chartjs-adapter-luxon.

benmccann avatar benmccann commented on May 18, 2024

You can take a look here for everything we need to do:
https://github.com/chartjs/chartjs-adapter-luxon/blob/master/src/index.js

from chartjs-adapter-luxon.

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.