0👍
My installation of node red isn’t using the latest and greatest angular-chartjs library, going through some of the ancient documentation I’ve found the ticks
option which allows you to set the max axis, this was changed in Version 3 of chartJS.
Solution below:
ui= {
options: {
scales: {
xAxes: [{
stacked: true
}],
yAxes: [{
stacked: true,
ticks: {
max: 60,
min: -140
}
}]
}
}
}
- Chartjs-Trying to have Doughnut chart with dql result chartjs
- Chartjs-ChartJS vertical bar chart – measure percentage of the data in each column based on a specified max
Source:stackexchange.com