https://bugs.kde.org/show_bug.cgi?id=403561

--- Comment #17 from Alexander Semke <alexander.se...@web.de> ---
(In reply to Stefan Gerlach from comment #16)
> I can comment on the recalculate problem. Your formula contains "4/3" or
> "1/3" which is one or zero, respectively. Can you try it again with "1./3"
> and "4./3"?
The problem is here because of the logic in our CartesianPlot::scale*()
function were we only retransform/repaint the curves if the plot ranges have
changed. In Michi's example project, when changing x_max from 4 to e.g. 6, we
recalculate the points but we don't repaint the curve because the the plot
ranges didn't change. If you change x_max for example from 4 to 11, the curve
is correctly repainted. We don't have this problem if we only have one single
curve - here we basically always have range changes and the current logic in
the code works perfectly.

We also have this problem for data coming from spreadsheets - we don't properly
update the curve, if the ranges are not changed on cell changes in the
spreadsheet... I'll fix this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to