Scrounger / ioBroker.vis-materialdesign

ioBroker Material Design Widgets are based on Google's material design guidelines. The adapter uses different libraries.
https://forum.iobroker.net/topic/42185/test-adapter-material-design-widgets-v0-5-x
MIT License
59 stars 38 forks source link

Line History Chart #194

Open thomke67 opened 3 years ago

thomke67 commented 3 years ago

Hallo,

der Chart wird in keinem meiner Browser (Frefox, Edge, Chrome, Opera) angezeigt. Lediglich in der Iobroker.Vis App auf dem Android ist der Chart zu sehen. Und das auch nach mehrmaligen synchronisieren.

Beim Edit kann ich die Widgets auch in der Auflistung sehen. Nicht aber auf dem Bildschirm.

Widget: [{"tpl":"tplVis-materialdesign-Chart-Line-History","data":{"g_fixed":false,"g_visibility":true,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"dataCount":"1","aggregate":"minmax","timeIntervalToShow":"12 hours","refreshMethod":"timeInterval","refreshTimeInterval":"30 seconds","chartTimeout":"4","pointStyle":"circle","showLegend":true,"legendPosition":"bottom","legendPointStyle":"true","showTooltip":"true","tooltipTimeFormats":"{\"millisecond\":\"lll:ss\",\"second\":\"lll:ss\",\"minute\":\"lll\",\"hour\":\"lll\",\"day\":\"lll\",\"week\":\"lll\",\"month\":\"lll\",\"quarter\":\"lll\",\"year\":\"lll\"}","tooltipShowColorBox":"true","lineSpanGaps0":"true","xAxisPosition":"bottom","xAxisBounds":"dataSet","xAxisTimeFormats":"{\"millisecond\":\"H:mm:ss.SSS\",\"second\":\"H:mm\",\"minute\":\"H:mm\",\"hour\":\"H\",\"day\":\"ddd DD.\",\"week\":\"ll\",\"month\":\"MMM YYYY\",\"quarter\":\"[Q]Q - YYYY\",\"year\":\"YYYY\"}","xAxisValueDistanceToAxis":"0","xAxisShowAxis":"true","xAxisShowAxisLabels":"true","xAxisShowGridLines":"true","xAxisShowTicks":"true","xAxisMinRotation":"0","xAxisMaxRotation":"0","yAxisValueDistanceToAxis":"10","showYAxis0":"true","yAxisPosition0":"left","yAxisShowGridLines0":"true","yAxisShowTicks0":"true","yAxisShowAxisBorder0":"true","showValues0":"showValuesOn","valuesPositionAnchor0":"end","valuesPositionAlign0":"top","valuesTextAlign0":"center","historyAdapterInstance":"history.0","maxDataPoints":"1","minTimeInterval":"30","oid0":"alias.0.Waschküche.Waschmaschine_Power.SET","backgroundColor":"#ffaf0a","pointSizeHover":"1","legendFontColor":"#FFFFFF","legendFontSize":"12","legendBoxWidth":"","tooltipDistanceToBar":"","visibility-cond":"==","visibility-val":"false","visibility-groups-action":"hide","tooltipBoxRadius":"","legendText0":"Stromverbrauch WM & Trockner","useFillColor0":true,"mdwDebug":false,"pointHoverColor0":"#f94343","g_layoutForData_§1":false,"lineSpanGaps1":"true","yAxisMaxLabel0":"","g_yAxisLayoutForData_§1":false,"showYAxis1":"true","yAxisPosition1":"left","yAxisShowGridLines1":"true","yAxisShowTicks1":"true","yAxisShowAxisBorder1":"true","g_lineValuesLayout_§1":false,"showValues1":"showValuesOn","valuesPositionAnchor1":"end","valuesPositionAlign1":"top","valuesTextAlign1":"center","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"valuesMaxDecimals0":"2","yAxisValueMaxDigits0":"2","yAxisValueMinDigits0":"2","time_interval_oid":"0_userdata.0.Automatiken.Zeit_Intervall","visibility-oid":"0_userdata.0.Automatiken.WM_Diagramm","chartPaddingLeft":"","chartPaddingRight":""},"style":{"top":"21px","left":"30px","width":"606px","height":"300px"},"widgetSet":"materialdesign"}]

Screenshot Firefox

grafik

Screenshot iobroker.vis auf Android

grafik

Versions:

Firefox Console

`

Error: can't render tplVis-materialdesign-Chart-Line-History w00172 on "2_Keller": conn.js:1256:17
Error: 0 - Error: can.view: No template or empty template:tplVis-materialdesign-Chart-Line-History.ejsu@http://xx.xx.xx.xx:8082/vis/lib/js/can.custom.min.js:58:256 conn.js:1256:17
Error: can't render tplVis-materialdesign-Chart-Line-History w00170 on "2_Keller": conn.js:1256:17
Error: 0 - Error: can.view: No template or empty template:tplVis-materialdesign-Chart-Line-History.ejsu@http://xx.xx.xx.xx:8082/vis/lib/js/can.custom.min.js:58:256 conn.js:1256:17
XHRGEThttp://xx.xx.xx.xx:8082/vis/tplVis-materialdesign-Chart-Line-History.ejs[HTTP/1.1 404 Not Found 9ms]
GET | http://xx.xx.xx.xx:8082/vis/tplVis-materialdesign-Chart-Line-History.ejs

`

thomke67 commented 2 years ago

Hi,

hat hier keiner eine Idee, worin dieses Verhalten begründet ist?

mfg Thomas

Doreinie commented 2 years ago

Hatte auf dem IOB Forum gefragt. https://forum.iobroker.net/topic/40164/cloud-fernzugriff-keine-materialdesign-widgets-in-vis/6?_=1643480113517

weil dieser Adapter kein stable hat kommt der auch wohl nicht in die Cloud. d.h. die Frage muss also hier gestellt werden. Wann kann ein stable Version geposted werden?