로깅한 그래프 값들 csv저장기능추가
This commit is contained in:
@@ -149,10 +149,23 @@ const char graph_viewer_html[] PROGMEM = R"rawliteral(
|
||||
<button class="btn btn-info" id="btn-sort-name-asc" onclick="setSortMode('name-asc')">Name (A→Z)</button>
|
||||
<button class="btn btn-info" id="btn-sort-name-desc" onclick="setSortMode('name-desc')">Name (Z→A)</button>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<button class="btn btn-success" onclick="downloadCSV()" style="background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);">
|
||||
📥 Download CSV
|
||||
</button>
|
||||
<button class="btn btn-danger" onclick="clearData()" style="background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);">
|
||||
🗑️ Clear Data
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="status" id="status">Connecting...</div>
|
||||
|
||||
<div style="padding: 10px 15px; background: #2a2a2a; color: #aaa; font-size: 0.85em; display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>Data Points: <strong id="data-point-count" style="color: #43cea2;">0</strong></span>
|
||||
<span>Recording Time: <strong id="recording-time" style="color: #43cea2;">0s</strong></span>
|
||||
</div>
|
||||
|
||||
<div class="graphs" id="graphs"></div>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user