Closed addmix closed 6 months ago
bdceaa5 implements point (2).
Currently it is possible to fix y/x domain bounds using Chart.set_x_domain(lower_bound, upper_bound)
and Chart.set_y_domain(lower_bound, upper_bound)
methods.
You can find an update example on simple_chart
on main
branch (it should have been another branch, but I decided to first integrate your PR and ended up working on main).
It is not a final implementation, let me know what you think about it and if you are still having issues :)
Max sample count was implemented in #80, but domain scaling was not modified to handle this case elgantly, so the domain will shift and change randomly, sometimes setting either axis scale to 0, or not filling the domain entirely, or points going off the graph.
I have 3 features to propose that can aid in fixing this problem.