i would like to:
a) multiply the Item series
b) adjust the yAxis
i red all posts regarding this matter but none of the solution worked for me
this should work in case of yAxis, but it doesn’t
formatter: =v=>Number.parseFloat(v)*2000 also tried to put it directly under the config: section without the label but without success
config:
chartType: ""
period: D
label: Wind voltage - needs to be converted to real m/s wind speed
sidebar: true
slots:
grid:
- component: oh-chart-grid
config:
includeLabels: true
xAxis:
- component: oh-time-axis
config:
gridIndex: 0
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
label:
formatter: =v=>Number.parseFloat(v)*2000
series:
- component: oh-time-series
config:
name: Wind voltage - 142
gridIndex: 0
xAxisIndex: 0
yAxisIndex: 0
type: line
item: anometer__esp32dev_Wind_voltage__142
tooltip:
- component: oh-chart-tooltip
config:
confine: true
smartFormatter: true
legend:
- component: oh-chart-legend
config:
bottom: 3
type: scroll
dataZoom:
- component: oh-chart-datazoom
config:
type: inside