Dashticz Graphs - Features, Fixes & Updates
Moderators: leecollings, htilburgs, robgeerts
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
There isn't a block param, but you can achieve this with custom data.
https://dashticz.readthedocs.io/en/beta ... the-y-axes
https://dashticz.readthedocs.io/en/beta ... the-y-axes
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 11
- Joined: Saturday 20 January 2018 12:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
I'm using custom data, for example:clinkadink wrote: ↑Sunday 03 May 2020 18:10 There isn't a block param, but you can achieve this with custom data.
https://dashticz.readthedocs.io/en/beta ... the-y-axes
Code: Select all
blocks['my_graph2'] = {
devices:[108],
graph: ['bar'],
legend: false,
maxTicksLimit: 15,
barWidth: 0.8,
borderWidth: 13,
height: 350,
beginAtZero: true,
datasetColors:['white'],
custom : {
"last day": {
ylabels: ['kWh'],
range: 'day',
filter: '1 day',
data: {
Verbruik: 'd.v_108'
}
}
}
}
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Hi clickadink, is May 4th also already visible in your graphs? Mine is showing May 4th with data from today I guess.
-
- Posts: 118
- Joined: Saturday 21 December 2019 8:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
It appears that my problem is caused by this parameter in the config:clinkadink wrote: ↑Sunday 03 May 2020 9:41Ok, thanks for confirming. Is your Dashticz set to en_US or another language? If it is another language, please can you check that language file too.
When you hover over the graph, are there any errors in DevTools?
This is how my block looks:Code: Select all
blocks['all_zones'] = { title: 'Room Temperatures', devices: [6, 11, 12, 8, 14, 9, 15, 235, 10, 13], datasetColors: ['dodgerblue','chocolate', 'darkred', 'gold'], groupByDevice: true }
Code: Select all
groupByDevice: 'horizontal',
Code: Select all
groupByDevice: true
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
I did some testing. When I change .day(1) to .day(2), the week will start on tuesday. But the graphs are exactly the same, it doesn't matter on which day the week starts.clinkadink wrote: ↑Sunday 03 May 2020 10:25 OK, it seems that if the locale isn't set to en_US, it doesn't understand "Monday".
In js/components/graph.js line 639, if you change this ...To this ...Code: Select all
.day("Monday")
It works for me with my language set to nl_NL. Please test and confirm, I will then raise the change.Code: Select all
.day(1)
-
- Posts: 14
- Joined: Tuesday 23 April 2019 14:35
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Kyiv, Ukraine
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Hallo!
Thank you for your work.
I start to use Dashticz beta and I have some problem.
1. I can't hide graph buttons. Code like
or
not working.
2. Code
on beta not working, but work on non-beta.
3. I try to add camera view. [---SOLVED---]
Code like working, but without refresh.
But this not working at all.[---SOLVED---]
4. Sometimes I see black sircles near left-bottom corner of graphs.
Can you help me? What I do wrong?
Thank you for your work.
I start to use Dashticz beta and I have some problem.
1. I can't hide graph buttons. Code like
Code: Select all
.block_multigraph_outside .graph_buttons {
display: none
}
Code: Select all
.block_multigraph_outside .graph_header {
display: none;
}
2. Code
Code: Select all
options: {
scales: {
yAxes: [{
ticks: {
min: 45,
max: 55
}
}]
}
}
3. I try to add camera view. [---SOLVED---]
Code like
Code: Select all
frames.camera123 = {
frameurl: "http://192.168.1.150/cgi-bin/snapshot.cgi?loginuse=domoticz&loginpas=Domo1234?channel=0",
height: 320, //height of the block in pixels
width: 6,
refresh: 3000
But this
Code: Select all
blocks['camera_1'] = {
type: 'camera',
image: 'http://192.168.1.150/cgi-bin/snapshot.cgi?loginuse=domoticz&loginpas=Domo1234?channel=0',
refresh: 3000,
width: 12,
height: '300px'
4. Sometimes I see black sircles near left-bottom corner of graphs.
Can you help me? What I do wrong?
Last edited by JediMax on Tuesday 12 May 2020 12:19, edited 3 times in total.
Re: Dashticz Graphs - Features, Fixes & Updates
this works for meJediMax wrote: ↑Thursday 07 May 2020 12:07 Hallo!
Thank you for your work.
I start to use Dashticz beta and I have some problem.
1. I can't hide graph buttons. Code likenot working.Code: Select all
.block_multigraph_outside .graph_buttons { display: none }
2. Codeon beta not working, but work on non-beta.Code: Select all
options: { scales: { yAxes: [{ ticks: { min: 45, max: 55 } }] } }
3. I try to add camera view. Code likeworking, but without refresh.Code: Select all
frames.camera123 = { frameurl: "http://192.168.1.150/cgi-bin/snapshot.cgi?loginuse=domoticz&loginpas=Domo1234?channel=0", height: 320, //height of the block in pixels width: 6, refresh: 3000
But thisnot working at all.Code: Select all
blocks['camera_1'] = { type: 'camera', image: 'http://192.168.1.150/cgi-bin/snapshot.cgi?loginuse=domoticz&loginpas=Domo1234?channel=0', refresh: 3000, width: 12, height: '300px'
4. Sometimes I see black sircles near left-bottom corner of graphs.
Can you help me? What I do wrong?
Code: Select all
blocks['frontdoor_cam'] = {
type: 'camera',
imageUrl: 'http://192.168.2.9:8080/camsnapshot.jpg?idx=1',
videoUrl: 'http://192.168.2.9:8080/camsnapshot.jpg?idx=1',
refresh: 1000,
width: 12,
height: 355
}
docker with sonos http api / mosquitto / zigbee2mqtt assistant / portainer / dashticz / nodeJS on windows with Zigbee2Mqtt, and some flask builds of my own
-
- Posts: 14
- Joined: Tuesday 23 April 2019 14:35
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Kyiv, Ukraine
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
This code works for me too. Thank you.nfuse wrote: ↑Thursday 07 May 2020 13:17
this works for methe only thing not working is the fullscreen image when i click the image (no streaming video)Code: Select all
blocks['frontdoor_cam'] = { type: 'camera', imageUrl: 'http://192.168.2.9:8080/camsnapshot.jpg?idx=1', videoUrl: 'http://192.168.2.9:8080/camsnapshot.jpg?idx=1', refresh: 1000, width: 12, height: 355 }
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
I have a strange issue with my water meter graph.
I have different views, 6h, 24h and also month, week etc.
The 24h view doesn't show the bars, the tooltip shows a value. But when I change the graph to line, the line is visible.
The 6h view also behaves strange. The bars are visible, but when a new day starts, the bars dissapears. After 6AM in the morning, they appear again.
Output from the debug button:
I have different views, 6h, 24h and also month, week etc.
The 24h view doesn't show the bars, the tooltip shows a value. But when I change the graph to line, the line is visible.
The 6h view also behaves strange. The bars are visible, but when a new day starts, the bars dissapears. After 6AM in the morning, they appear again.
Output from the debug button:
Code: Select all
{
"mountPoint": "#block_47",
"block": {
"width": 12,
"datasetColors": [
"lightblue"
],
"barWidth": 0.9,
"beginAtZero": true,
"borderDash": [],
"borderWidth": 2,
"buttonsBorder": "white",
"buttonsColor": "black",
"buttonsFill": "white",
"buttonsIcon": "#686868",
"buttonsMarginX": 2,
"buttonsMarginY": 0,
"buttonsPadX": 6,
"buttonsPadY": 2,
"buttonsRadius": 0,
"buttonsShadow": false,
"buttonsSize": 14,
"buttonsText": false,
"cartesian": "linear",
"custom": {
"6u": {
"range": "day",
"filter": "6 hours",
"data": {
"verbruik": "d.v_126*100"
}
},
"24u": {
"range": "day",
"filter": "24 hours",
"data": {
"verbruik": "d.v_126*100"
}
},
"Mnd": {
"range": "month",
"filter": "month",
"data": {
"verbruik": "d.v_126*1000"
}
},
"Jr/wk": {
"range": "year",
"filter": "year",
"groupBy": "week",
"aggregate": "sum",
"data": {
"verbruik": "d.v_126*1000"
}
},
"Jr/mnd": {
"range": "year",
"filter": "year",
"groupBy": "month",
"aggregate": "sum",
"data": {
"verbruik": "d.v_126*1000"
}
}
},
"customHeader": false,
"debugButton": "true",
"displayFormats": false,
"drawOrderDay": false,
"drawOrderLast": false,
"drawOrderMonth": false,
"flash": false,
"format": true,
"gradients": false,
"graph": "bar",
"graphTypes": false,
"groupBy": false,
"groupByDevice": false,
"height": "250px",
"iconColour": "grey",
"interval": 1,
"legend": false,
"lineFill": false,
"lineTension": 0.1,
"maxTicksLimit": null,
"method": 1,
"pointBorderColor": [
"grey"
],
"pointBorderWidth": 0,
"pointRadius": 0,
"pointStyle": false,
"range": "initial",
"refresh": 300,
"reverseTime": false,
"sortDevices": false,
"spanGaps": false,
"stacked": false,
"title": "Water",
"tooltiptotal": false,
"zoom": false,
"devices": [
126
],
"key": "Water-graph"
},
"key": "Water-graph",
"name": "graph",
"graphDevices": [
{
"AddjMulti": 1,
"AddjMulti2": 1,
"AddjValue": 0,
"AddjValue2": 0,
"BatteryLevel": 255,
"Counter": "1416.612 m3",
"CounterToday": "227 Liter",
"CustomImage": 0,
"Data": "1416.612 m3",
"Description": "",
"Favorite": 0,
"HardwareID": 29,
"HardwareName": "Unknown?",
"HardwareType": "Unknown?",
"HardwareTypeVal": 0,
"HaveTimeout": false,
"ID": "140CE",
"LastUpdate": "2020-06-09 13:15:41",
"Name": "Waterverbruik",
"Notifications": "false",
"PlanID": "0",
"PlanIDs": [
0
],
"Protected": false,
"ShowNotifications": true,
"SignalLevel": "-",
"SubType": "RFXMeter counter",
"SwitchTypeVal": 2,
"Timers": "false",
"Type": "RFXMeter",
"TypeImg": "counter",
"Unit": 1,
"Used": 1,
"ValueQuantity": "",
"ValueUnits": "",
"XOffset": "0",
"YOffset": "0",
"idx": 126,
"currentValue": "227 Liter",
"name": "Waterverbruik",
"sensor": "counter",
"subtype": "RFXMeter counter",
"title": "Waterverbruik",
"txtUnit": "Liter",
"txtUnits": [],
"type": "RFXMeter",
"decimals": 0
}
],
"decimals": 0,
"graphIdx": "block_47",
"lastRefreshTime": 1591701338,
"range": "day",
"title": "Water",
"params": [
"type=graph&sensor=counter&idx=126&range=day&method=1"
],
"subtype": "RFXMeter counter",
"txtUnits": [
"Liter"
],
"data": {
"result": [
{
"d": "2020-06-08 13:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 13:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:10",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:15",
"v_126": "0.204"
},
{
"d": "2020-06-08 14:20",
"v_126": "0.252"
},
{
"d": "2020-06-08 14:25",
"v_126": "0.096"
},
{
"d": "2020-06-08 14:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:35",
"v_126": "0.084"
},
{
"d": "2020-06-08 14:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 14:45",
"v_126": "0.072"
},
{
"d": "2020-06-08 14:50",
"v_126": "0.060"
},
{
"d": "2020-06-08 14:55",
"v_126": "0.012"
},
{
"d": "2020-06-08 15:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:10",
"v_126": "0.024"
},
{
"d": "2020-06-08 15:15",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:40",
"v_126": "0.024"
},
{
"d": "2020-06-08 15:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 15:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:00",
"v_126": "0.072"
},
{
"d": "2020-06-08 16:05",
"v_126": "0.072"
},
{
"d": "2020-06-08 16:10",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:15",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:45",
"v_126": "0.060"
},
{
"d": "2020-06-08 16:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 16:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:10",
"v_126": "0.144"
},
{
"d": "2020-06-08 17:15",
"v_126": "0.012"
},
{
"d": "2020-06-08 17:20",
"v_126": "0.060"
},
{
"d": "2020-06-08 17:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 17:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:10",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:15",
"v_126": "0.060"
},
{
"d": "2020-06-08 18:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:40",
"v_126": "0.084"
},
{
"d": "2020-06-08 18:45",
"v_126": "0.060"
},
{
"d": "2020-06-08 18:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 18:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 19:00",
"v_126": "0.024"
},
{
"d": "2020-06-08 19:05",
"v_126": "0.012"
},
{
"d": "2020-06-08 19:10",
"v_126": "0.033"
},
{
"d": "2020-06-08 19:15",
"v_126": "0.000"
},
{
"d": "2020-06-08 19:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 19:25",
"v_126": "0.011"
},
{
"d": "2020-06-08 19:30",
"v_126": "0.024"
},
{
"d": "2020-06-08 19:35",
"v_126": "0.012"
},
{
"d": "2020-06-08 19:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 19:45",
"v_126": "0.209"
},
{
"d": "2020-06-08 19:50",
"v_126": "0.384"
},
{
"d": "2020-06-08 19:55",
"v_126": "0.252"
},
{
"d": "2020-06-08 20:00",
"v_126": "0.022"
},
{
"d": "2020-06-08 20:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:10",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:15",
"v_126": "0.048"
},
{
"d": "2020-06-08 20:20",
"v_126": "0.036"
},
{
"d": "2020-06-08 20:25",
"v_126": "0.099"
},
{
"d": "2020-06-08 20:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 20:55",
"v_126": "0.072"
},
{
"d": "2020-06-08 21:00",
"v_126": "0.012"
},
{
"d": "2020-06-08 21:05",
"v_126": "0.048"
},
{
"d": "2020-06-08 21:10",
"v_126": "0.060"
},
{
"d": "2020-06-08 21:15",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:35",
"v_126": "0.036"
},
{
"d": "2020-06-08 21:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 21:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:10",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:15",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:20",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:25",
"v_126": "0.036"
},
{
"d": "2020-06-08 22:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:35",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:45",
"v_126": "0.072"
},
{
"d": "2020-06-08 22:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 22:55",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:00",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:05",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:10",
"v_126": "0.012"
},
{
"d": "2020-06-08 23:15",
"v_126": "0.024"
},
{
"d": "2020-06-08 23:20",
"v_126": "0.024"
},
{
"d": "2020-06-08 23:25",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:30",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:35",
"v_126": "0.180"
},
{
"d": "2020-06-08 23:40",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:45",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:50",
"v_126": "0.000"
},
{
"d": "2020-06-08 23:55",
"v_126": "0.000"
},
{
"d": "2020-06-09",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:20",
"v_126": "0.012"
},
{
"d": "2020-06-09 00:25",
"v_126": "0.144"
},
{
"d": "2020-06-09 00:30",
"v_126": "0.396"
},
{
"d": "2020-06-09 00:35",
"v_126": "0.228"
},
{
"d": "2020-06-09 00:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 00:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 01:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 02:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 03:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:30",
"v_126": "0.055"
},
{
"d": "2020-06-09 04:35",
"v_126": "0.132"
},
{
"d": "2020-06-09 04:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 04:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 05:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 06:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 07:50",
"v_126": "0.048"
},
{
"d": "2020-06-09 07:55",
"v_126": "0.024"
},
{
"d": "2020-06-09 08:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:05",
"v_126": "0.012"
},
{
"d": "2020-06-09 08:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 08:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 09:00",
"v_126": "0.024"
},
{
"d": "2020-06-09 09:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 09:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 09:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 09:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 09:25",
"v_126": "0.176"
},
{
"d": "2020-06-09 09:30",
"v_126": "0.132"
},
{
"d": "2020-06-09 09:35",
"v_126": "0.096"
},
{
"d": "2020-06-09 09:40",
"v_126": "0.036"
},
{
"d": "2020-06-09 09:45",
"v_126": "0.120"
},
{
"d": "2020-06-09 09:50",
"v_126": "0.036"
},
{
"d": "2020-06-09 09:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:00",
"v_126": "0.012"
},
{
"d": "2020-06-09 10:05",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:10",
"v_126": "0.012"
},
{
"d": "2020-06-09 10:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:20",
"v_126": "0.012"
},
{
"d": "2020-06-09 10:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:30",
"v_126": "0.012"
},
{
"d": "2020-06-09 10:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 10:55",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:00",
"v_126": "0.168"
},
{
"d": "2020-06-09 11:05",
"v_126": "0.048"
},
{
"d": "2020-06-09 11:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:15",
"v_126": "0.072"
},
{
"d": "2020-06-09 11:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:25",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:35",
"v_126": "0.024"
},
{
"d": "2020-06-09 11:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 11:55",
"v_126": "0.036"
},
{
"d": "2020-06-09 12:00",
"v_126": "0.168"
},
{
"d": "2020-06-09 12:05",
"v_126": "0.192"
},
{
"d": "2020-06-09 12:10",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:15",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:20",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:25",
"v_126": "0.012"
},
{
"d": "2020-06-09 12:30",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:35",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:40",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:45",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:50",
"v_126": "0.000"
},
{
"d": "2020-06-09 12:55",
"v_126": "0.060"
},
{
"d": "2020-06-09 13:00",
"v_126": "0.000"
},
{
"d": "2020-06-09 13:05",
"v_126": "0.168"
},
{
"d": "2020-06-09 13:10",
"v_126": "0.033"
},
{
"d": "2020-06-09 13:15",
"v_126": "0.000"
}
],
"status": "OK",
"title": "Graph day",
"verbruik": "d.v_126*100"
},
"realrange": "day",
"dataFilterCount": 24,
"dataFilterUnit": "hours",
"groupBy": false,
"customRange": true,
"customRangeName": "6u",
"graphConfig": {
"range": "day",
"filter": "24 hours",
"data": {
"verbruik": "d.v_126*100"
}
},
"keys": [
"v"
],
"ykeys": [
"verbruik"
],
"txtUnit": "Liter",
"ylabels": [
"Liter"
],
"chartctx": "graphoutput_block_47",
"filter": "24 hours",
"_width": 420.656,
"loadingTooltip": false
}
[code]
- Attachments
-
- WatergraphLine.PNG (78.42 KiB) Viewed 1578 times
-
- WatergraphBar.PNG (81.84 KiB) Viewed 1578 times
Last edited by Jimster on Tuesday 09 June 2020 13:15, edited 2 times in total.
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Thats not the debugButton. See here: https://www.domoticz.com/forum/viewtopi ... on#p237106
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Something went wrong with copy-paste. Changed it now.clinkadink wrote: ↑Tuesday 09 June 2020 13:12Thats not the debugButton. See here: https://www.domoticz.com/forum/viewtopi ... on#p237106
-
- Posts: 19
- Joined: Saturday 30 May 2020 16:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
How can I change the text colors of the x and y axis?
Im working on a light theme, but I can't find that..
Im working on a light theme, but I can't find that..
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Hi Jimster, apologies for the delay in responding - things have been manic at work. I have created a dummy water meter (RFX meter) and added your block. I cannot replicate this. The graph correctly displays bars for each range.Jimster wrote: ↑Tuesday 09 June 2020 13:06 The 24h view doesn't show the bars, the tooltip shows a value. But when I change the graph to line, the line is visible.
The 6h view also behaves strange. The bars are visible, but when a new day starts, the bars dissapears. After 6AM in the morning, they appear again.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Do you mean the axis labels or ticks? I am guessing both. Currently there is no method to change these. They are drawn as part of the graph canvas. I will see what I can do to provide this capability.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 19
- Joined: Saturday 30 May 2020 16:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Yeah both... I can pratically change all colors, except those.clinkadink wrote: ↑Saturday 20 June 2020 10:20Do you mean the axis labels or ticks? I am guessing both. Currently there is no method to change these. They are drawn as part of the graph canvas. I will see what I can do to provide this capability.
On a white background, white text doesn't show
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
This is now been added to the latest beta.
Code: Select all
fontColor: 'black', // default is white
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Hi clickadink, as far as I remember, it worked the first day. Can you check if it still works for you the next days?clinkadink wrote: ↑Saturday 20 June 2020 9:37Hi Jimster, apologies for the delay in responding - things have been manic at work. I have created a dummy water meter (RFX meter) and added your block. I cannot replicate this. The graph correctly displays bars for each range.Jimster wrote: ↑Tuesday 09 June 2020 13:06 The 24h view doesn't show the bars, the tooltip shows a value. But when I change the graph to line, the line is visible.
The 6h view also behaves strange. The bars are visible, but when a new day starts, the bars dissapears. After 6AM in the morning, they appear again.
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Yes, it still shows the same graph today, same as above. But don't forget, I am using a dummy device, with no data.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 19
- Joined: Saturday 30 May 2020 16:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
Thanks, I haven't been able to test it yet.clinkadink wrote: ↑Saturday 20 June 2020 13:01This is now been added to the latest beta.Let me know how you get onCode: Select all
fontColor: 'black', // default is white
I first got my Dashboards set up... now I'll probably start on my light theme
-
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Dashticz Graphs - Features, Fixes & Updates
I updated dashticz to version 3.5 but now all the graph dont show any bar/line anymore:
The standard graph works when i click on the button:
But the custom graph is empty, it show total in left top corner:
Here is the code for graph:
The standard graph works when i click on the button:
But the custom graph is empty, it show total in left top corner:
Here is the code for graph:
Code: Select all
blocks['graph_5'] = {
height: ['210px'],
graph: ['bar','bar'],
custom : {
"last day": {
range: 'day',
filter: '24 hours',
data: {
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
},
"last 2 weeks": {
range: 'month',
filter: '14 days',
data: {
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
},
"last 6 months": {
range: 'year',
filter: '6 months',
data: {
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
}
},
legend: false,
datasetColors:['white','white']
}
Who is online
Users browsing this forum: No registered users and 1 guest