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

Need help with DateTime Axis? #60

Closed
anagrius opened this issue May 8, 2017 · 8 comments
Closed

Need help with DateTime Axis? #60

anagrius opened this issue May 8, 2017 · 8 comments

Comments

@anagrius
Copy link

anagrius commented May 8, 2017

In our application we need a lot of timecharts. I was wondering if there are any plans on supporting them out of the box, or if you are interested in getting pull requests for tick positions and label formatting specifically for DateTime Axis?

@terezka
Copy link
Owner

terezka commented May 9, 2017

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

@anagrius
Copy link
Author

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.

@stuartnelson3
Copy link

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

@anagrius
Copy link
Author

anagrius commented Dec 3, 2017

Anyone done any work on this else I will start soon

@terezka
Copy link
Owner

terezka commented Dec 3, 2017

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 :)

@anagrius
Copy link
Author

anagrius commented Dec 3, 2017

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?

@anagrius anagrius closed this as completed Dec 4, 2017
@terezka
Copy link
Owner

terezka commented Dec 4, 2017

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

@terezka
Copy link
Owner

terezka commented Dec 4, 2017

Done! Thanks for the reminder.

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

3 participants