playing around with chartscss
This commit is contained in:
parent
c0e1e43811
commit
1c7aba5e0a
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ String Proc_WebPage_root(const String& var) {
|
|||
html += F("<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css'><style>#chart0 { width: 100%%; max-width: 640px; margin: 0 auto; .minw { min-width: 140px; max-width: 320px; text-align: center; }}</style>");
|
||||
html += F("<div id='chart0'><table class='charts-css line multiple show-data-on-hover show-heading show-primary-axis show-data-axes show-10-secondary-axes'><caption>Linechart</caption>");
|
||||
byte i = 0;
|
||||
if(config.grow.dashboard.chartConfigured[i] == 3) {
|
||||
if(config.grow.dashboard.chartConfigured[i] == true) {
|
||||
char chartDirPath[10];
|
||||
snprintf(chartDirPath, sizeof(chartDirPath), "%s%d", CHART_BASE_PATH, i);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue