Chris48
(Chris Program)
1
Hi, first of all, thank you for this addon. It is greate.
I am busy with a home energy view with some graphs.
First tab is the data from my solar panales.
The second tab the power I consume from the grid.
I would like that the graphs start at zero. Al the moment it is starting with two but this will change overtime depending on the consumed power.
Can you tell me how I can start a graph always on zero.
You can see my little project : http://www.mycloudy.nl:8081
It is running on a small raspberry Pi with tomcat 9 :-)
Chris
Petr109
(Petr Šmejkal)
2
Hi, see chart.js documentation for configuration. http://www.chartjs.org/docs/#scales-linear-scale
Chris48
(Chris Program)
3
I already did but how do I translate that to you api in java?
Petr109
(Petr Šmejkal)
4
This step is independent of this plugin. It only wraps webcomponent and communicate with it. You have to create chartjs setting JSON. We used:
be.ceau
chart
2.5.0
or you can create JSON on your own.
The JSON result is passed to the API and send to webcomponent and this step can be seen in demo.