Chart Node problems

Hi,
I have two questions regarding the Chart node:

  1. I'm using a chart to display pH and would like to display on the
    Y-axis the range from 0 to 14 in steps on 1 .I've entered in the Chart node Y-axis min= 0 and the max =14. but the chart displays uneven steps: 0,3.5,7,10.5 and 14 . How do I control the Y-axis steps?
[{"id":"ed599fcd.7e804","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"f0bddd2.9819e2","type":"function","z":"ed599fcd.7e804","name":"","func":"global.set(\"pH\",msg.payload);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":460,"y":160,"wires":[[]]},{"id":"373789a7.14de46","type":"ui_chart","z":"ed599fcd.7e804","name":"","group":"1f1d3f9e.01eaa","order":0,"width":"6","height":"5","label":"ph","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"1","ymax":"14","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":310,"y":160,"wires":[["f0bddd2.9819e2"]]},{"id":"9bfbcb4a.75d4d8","type":"mqtt in","z":"ed599fcd.7e804","name":"","topic":"test_pH","qos":"0","datatype":"auto","broker":"747c8bc1.1fccd4","nl":false,"rap":true,"rh":0,"x":190,"y":160,"wires":[["373789a7.14de46"]]},{"id":"1f1d3f9e.01eaa","type":"ui_group","name":"Default","tab":"f4035327.c9003","order":1,"disp":false,"width":"6","collapse":false},{"id":"747c8bc1.1fccd4","type":"mqtt-broker","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""},{"id":"f4035327.c9003","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

flow1
ph chart

  1. I'm saving the chart data to a global var. (I'v changed the settings.js file to save the var. on the disk) I have about a month of data and I like to display a specific date using the Date picker Node.
    Please help me with the code.

kind regards,
Ki-Va.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.