You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use mini-graph-card to maintain chemical levels of my Hot Tub. I need to maintain the chemical levels within a certain range:
There is certainly a better way of doing it, but I managed to get this working by modifying graph.js with the following code:
getFill(path) {
let fill = path;
fill = '';
fill += 'M0,0';
fill += ` ${this.width},${this.margin[Y]}`;
fill += ` ${this.width},${this.height}`;
fill += ` L 0, ${this.height} z`;
return fill;
}
Could support for this type of graph be added to the master repository?
The text was updated successfully, but these errors were encountered:
I use mini-graph-card to maintain chemical levels of my Hot Tub. I need to maintain the chemical levels within a certain range:
There is certainly a better way of doing it, but I managed to get this working by modifying
graph.js
with the following code:Could support for this type of graph be added to the master repository?
The text was updated successfully, but these errors were encountered: