I would my y-axis to range from 0 to just above the max of my data.
I tried the following:
"yaxis": {
"autotypenumbers": "strict",
"dtick": "0.01",
"title": {
"text": "",
"standoff": 6,
"font": {
"size": 12
}
},
"type": "linear",
"tickformat": ".0%",
"automargin": true,
"fixedrange": true,
"zerolinecolor": "#DEDEDE", "range": [0, Math.max(...{{ap_prov_monthly.data.abschluss_prov_ng}})]
}
I got the following error message: "The value has to be of type 'object', you provided a value of type 'string'"
the data i provide cannot be strings as they are the exact same data points that are plotted on the chart, and they are of type float.
I also tried to set the range to [0, null] and also tried changing the value of fixedrange from true to false, but nothing happend.
The app is self-hosted. Is that a problem?
The name of the app is called Versicherungen - RSV/2. Selection and you can try doing it for the chart in 2.5 or 2.6, where the axis should start 0.1 below the minimum and up to 0.1 above the max of the depicted data.
Thanks in advance.
Would you mind sharing an app export instead? It doesn't export with any data or resource connections, but I'd at least be able to check out your chart JSON. You can export your apps by clicking the 3 dots in the top right corner of the app > Export to JSON.