diff --git a/src/display.cpp b/src/display.cpp index 792ac0c..c67e2e3 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -301,6 +301,13 @@ void display_screen_graph(float *values, char* key, int type, int buffersize) if (max > 14000) { graph_max_kW = 15000; } if (max > 15000) { graph_max_kW = 16000; } if (max > 16000) { graph_max_kW = 17000; } + if (max > 17000) { graph_max_kW = 18000; } + if (max > 18000) { graph_max_kW = 19000; } + if (max > 19000) { graph_max_kW = 20000; } + if (max > 20000) { graph_max_kW = 21000; } + if (max > 21000) { graph_max_kW = 22000; } + if (max > 22000) { graph_max_kW = 23000; } + if (max > 23000) { graph_max_kW = 24000; } if ((graph_max_kW/1000) < 10) {