diff options
Diffstat (limited to 'src/charts/xychart/xychart.cpp')
-rw-r--r-- | src/charts/xychart/xychart.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/charts/xychart/xychart.cpp b/src/charts/xychart/xychart.cpp index 1811a76e..4314f6dd 100644 --- a/src/charts/xychart/xychart.cpp +++ b/src/charts/xychart/xychart.cpp @@ -128,6 +128,12 @@ void XYChart::updateGlChart() updateGeometry(); } +// Doesn't update gl geometry, but refreshes the chart +void XYChart::refreshGlChart() +{ + presenter()->updateGLWidget(); +} + //handlers void XYChart::handlePointAdded(int index) |