Open xingped opened 8 years ago
Not sure if u can use method for yAxisMinimumInterval option but still before u will call Chart function to create graph u can call function which calculate interval and populate to variable which will be in options
Unfortunately that option doesn't quite work for me as there's multiple graphs on the page that are all using the same set of options.
I don't see any option for your request and I do not plan to implement it - It is a bit too "abstract" and determining a good interval for axis is complicate.... I fear that it should led to lot of new bugs in the program.
Regards, François
I see only last option to do is create function which accepts something like values, and min,max interval values which returns whole set of options back but this part need to be in your code i did something like this for 6 graphs each with different titles, units
I'd be more than happy with allowing a function to be passed in, allowing me to determine the interval markers. On Mar 25, 2016 1:43 PM, "markosko" notifications@github.com wrote:
I see only last option to do is create function which accepts something like values, and min,max interval values which returns whole set of options back but this part need to be in your code i did something like this for 6 graphs each with different titles, units
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/FVANCOP/ChartNew.js/issues/428#issuecomment-201489735
Can we have an option (or is there already and option/method?) for setting the Y Axis Interval not in terms of the interval itself, but rather by the number of intervals (with a rounding, perhaps). For instance my line chart might have a min/max anywhere from 0-100 or 0-10,000. Instead of trying to find some way to change the interval amount each time, I'd rather be able to say "Create a minimum of 4 intervals and a maximum of 5 intervals". So my intervals could automatically become sets of 20/25 or 2,000/2,500 respectively.