Revize 7355b12b
Přidáno uživatelem Štěpán Červenka před téměř 4 roky(ů)
src/app/shared/graph-loading/singlegraph.ts | ||
---|---|---|
119 | 119 |
|
120 | 120 |
|
121 | 121 |
private getValueTooltip() { |
122 |
return "{title: timeFormat(datum.dateTime, '%A, %e. %B %Y, %X') , 'value': datum.value + ' " + this.legend['phenomenon']['unit'] + "'}"
|
|
122 |
return "{title: timeFormat(datum.dateTime, '%A, %B %e, %Y %X') , 'value': datum.value + ' " + this.legend['phenomenon']['unit'] + "'}"
|
|
123 | 123 |
} |
124 | 124 |
|
125 | 125 |
private getSammTooltip() { |
126 |
return "{title: timeFormat(datum.dateTime, '%A, %e. %B %Y, %X') " +
|
|
126 |
return "{title: timeFormat(datum.dateTime, '%A, %B %e, %Y %X') " +
|
|
127 | 127 |
" , 'avg': datum.avg + ' " + this.legend['phenomenon']['unit'] + |
128 | 128 |
"', 'sum': datum.sum + ' " + this.legend['phenomenon']['unit'] + |
129 | 129 |
"', 'max': datum.max + ' " + this.legend['phenomenon']['unit'] + |
... | ... | |
154 | 154 |
(this.sensorId >= 470130000 && this.sensorId < 470140000) || (this.sensorId >= 470180000 && this.sensorId < 470190000)) { |
155 | 155 |
return SingleGraphType.WINDCHART; |
156 | 156 |
} else { |
157 |
//TODO pridat min/max |
|
158 | 157 |
return SingleGraphType.LINECHART; |
159 | 158 |
} |
160 | 159 |
} |
Také k dispozici: Unified diff
Re #XXXX - Oprava několika jednoduchých chyb v rámci meetingu se zadavatelem