summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Chart.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Chart.cxx b/src/Fl_Chart.cxx
index fad325f48..9d183c826 100644
--- a/src/Fl_Chart.cxx
+++ b/src/Fl_Chart.cxx
@@ -318,6 +318,7 @@ Fl_Chart::~Fl_Chart() {
*/
void Fl_Chart::clear() {
numb = 0;
+ min = max = 0;
redraw();
}