Skip to content

Removing weekends while plotting the graph #513

dnschnur opened this Issue Sep 28, 2012 · 3 comments

3 participants

Flot member

Original author: (November 04, 2010 12:43:53)

As you people might have seen, for the finance graphs saturday,sunday and some public holidays it won't show the y axis labels as there won't be any data but in the Flot it is considering those with no data. Eg: for one week(7 days) we have the data only for 5 days as sat and sun are the market closing dates it should not be taken sat and sun as x axis labels.but in FLOT is caculated the ticks automatically and displayed no values at sat and sun.bcz of that you can find large gap between lines(if it is a bar graph).
Hope you understood this.

Original issue:

tmedford commented Jul 9, 2013

Is there any update on this issue? Flot really cant be used for market financials without the ability to eliminate none market days.

Flot member
dnschnur commented Jul 9, 2013

You can already do this by providing a custom tick generator function. See customizing the axes for more information. The only thing I'm considering for this issue is to make it a preset to save users a little bit of work.

RitikaG commented Feb 11, 2015

I have been trying to do a similar thing but no success yet. Can you give an example on how to remove the weekends? I am badly stuck with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.