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

ymax option in line graph is not affected on redraw() #781

Open
r8b8 opened this issue Apr 24, 2019 · 0 comments
Open

ymax option in line graph is not affected on redraw() #781

r8b8 opened this issue Apr 24, 2019 · 0 comments

Comments

@r8b8
Copy link

r8b8 commented Apr 24, 2019

If I update the value of ymax using graph instance and try to redraw the graph, ymax value will update in the instance but graph won't redraw the new ymax value.

let graph = Morris.Line(configuration);
graph.options.ymax = 1000;
graph.redraw();
console.log(graph.options.ymax) // gives 1000 but graph wont update

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

1 participant