Graph color.
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 5
- Joined: Friday 16 February 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
Graph color.
I have a graph for my solarsystem. It's a line graph in color blue but i want the whole graph filled in blue. Can't find the command to fill the graph and make it tranparent. Who can help me?
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Graph color.
Have you checked: https://dashticz.readthedocs.io/en/mas ... raphs.html?
With lineFill you can fill the graph.
With lineFill you can fill the graph.
Blah blah blah
-
- Posts: 5
- Joined: Friday 16 February 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
Re: Graph color.
Yes, checked that but won't work.
-
- Posts: 5
- Joined: Friday 16 February 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
Re: Graph color.
Now i have bars instead of a line graph. I'm trying to get the graph like the image.
https://i.imgur.com/yaFTZWm.png
https://i.imgur.com/yaFTZWm.png
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Graph color.
Try the following:Alphons wrote: ↑Monday 17 August 2020 20:17 Now i have bars instead of a line graph. I'm trying to get the graph like the image.
https://i.imgur.com/yaFTZWm.png
Code: Select all
blocks['graph_123'] = {
lineFill: true,
datasetColors: ['rgba(255,255,255,0.3)'],
borderColors: ['rgba(255,255,255,0.6)']
}
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Graph color.
For a transparent blue fill use:
Code: Select all
datasetColors: ['rgba(0,0,255,0.3)'],
-
- Posts: 5
- Joined: Friday 16 February 2018 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
Re: Graph color.
Works. Thnx
Who is online
Users browsing this forum: Google [Bot] and 1 guest