The flowfuse dashboard has been released at 1.30.0. A summary of the numerous fixes and one or two enhancements can be found here.
The chart widget in particular has a number of fixes and also now you can access the underlying eCharts object via msg.ui_update. This adds great flexibility to the widget as virtually any of the vast number of eCharts options can be adjusted. For example, to move the yAxis scale to the right hand side, change the title font size and drop the top of the grid area down, msg.ui_update would be
{
"chartOptions": {
"yAxis": {
"position": "right"
},
"grid": {
"top": 90
},
"title": {
"textStyle": {
"fontSize": 20
}
}
}
}
The changes are additive, so if it was also desired to move the bottom of the grid, after the above message was sent, then another msg.ui_update could be sent containing
{
"chartOptions": {
"grid": {
"bottom": 200
}
}
}
Options available can be found in the eCharts documentation
There have also been some bug fixes, one to watch out for is the fact that there was a bug that caused the X axis time range limit not to be applied under some circumstances, particularly when adding historical data. The time limit is now correctly applied, but you may have been accidentally relying on the bug to show your data. If you find that data is no longer appearing then check the setting. It defaults to 1 hour. To completely disable the time limit it can be set to 0.