diff --git a/Software/src/devboard/webserver/cellmonitor_html.cpp b/Software/src/devboard/webserver/cellmonitor_html.cpp
index 627fef3d..435414c2 100644
--- a/Software/src/devboard/webserver/cellmonitor_html.cpp
+++ b/Software/src/devboard/webserver/cellmonitor_html.cpp
@@ -11,44 +11,147 @@ String cellmonitor_processor(const String& var) {
content += ".cell { width: 48%; margin: 1%; padding: 10px; border: 1px solid white; text-align: center; }";
content += ".low-voltage { color: red; }"; // Style for low voltage text
content += ".voltage-values { margin-bottom: 10px; }"; // Style for voltage values section
+ content += "#graph {display: flex;align-items: flex-end;height: 200px;border: 1px solid #ccc;position: relative;}";
+ content +=
+ ".bar {margin: 0 0px;background-color: blue;display: inline-block;position: relative;cursor: pointer;border: "
+ "1px solid white; /* Add this line */}";
+ content += "#valueDisplay {text-align: left;font-weight: bold;margin-top: 10px;}";
content += "";
// Start a new block with a specific background color
content += "
";
// Display max, min, and deviation voltage values
- content += "
";
- content += "Max Voltage: " + String(system_cell_max_voltage_mV) + " mV
";
- content += "Min Voltage: " + String(system_cell_min_voltage_mV) + " mV
";
- int deviation = system_cell_max_voltage_mV - system_cell_min_voltage_mV;
- content += "Voltage Deviation: " + String(deviation) + " mV";
- content += "
";
-
- // Visualize the populated cells in forward order using flexbox with conditional text color
- content += "
";
- for (int i = 0; i < 120; ++i) {
- // Skip empty values
- if (system_cellvoltages_mV[i] == 0) {
- continue;
- }
-
- String cellContent = "Cell " + String(i + 1) + "
" + String(system_cellvoltages_mV[i]) + " mV";
-
- // Check if the cell voltage is below 3000, apply red color
- if (system_cellvoltages_mV[i] < 3000) {
- cellContent = "
" + cellContent + "";
- }
-
- content += "
" + cellContent + "
";
- }
- content += "
";
+ content += "
";
+ // Display cells
+ content += "
";
+ // Display bars
+ content += "
";
+ // Display single hovered value
+ content += "
Value: ...
";
// Close the block
content += "
";
content += "