mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/statistics] Reload CurveView before drawing histogram labels
This commit is contained in:
committed by
LeaNumworks
parent
a42208f773
commit
83722342f7
@@ -27,6 +27,9 @@ HistogramController::HistogramController(Responder * parentResponder, InputEvent
|
||||
|
||||
void HistogramController::setCurrentDrawnSeries(int series) {
|
||||
initYRangeParameters(series);
|
||||
/* The range of it CurveView has changed, the CurveView must be reloaded.
|
||||
* See comment in HistogramView::drawRect. */
|
||||
m_view.dataViewAtIndex(series)->CurveView::reload();
|
||||
}
|
||||
|
||||
StackViewController * HistogramController::stackController() {
|
||||
|
||||
Reference in New Issue
Block a user