<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sorry kann dir nicht ganz folgen. <div class=""><br class=""></div><div class="">Hier meine Option.js</div><div class=""><br class=""></div><div class=""><div class="">vz.options = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>language: 'de',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>precision: 2,<span class="Apple-tab-span" style="white-space:pre"> </span>// TODO update from middleware capabilities?</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>maxPrecision: {<span class="Apple-tab-span" style="white-space:pre"> </span>// override precision for certain units</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>'°C': 1</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>tuples: null,<span class="Apple-tab-span" style="white-space:pre"> </span>// automatically determined by plot size</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>refresh: true,<span class="Apple-tab-span" style="white-space:pre"> </span>// update chart if zoomed to current timestamp</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>interval: 24*60*60*1000,<span class="Apple-tab-span" style="white-space:pre"> </span>// 1 day default time interval to show</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>totalsInterval: 300,<span class="Apple-tab-span" style="white-space:pre"> </span>// update interval for total consumption in s (only channels where initialconsumption > 0)</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>pushRedrawTimeout: 1000,<span class="Apple-tab-span" style="white-space:pre"> </span>// ms delay for collecting push updates before redrawing</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>minTimeout: 2000,<span class="Apple-tab-span" style="white-space:pre"> </span>// minimum refresh time in ms</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>shortenLongTypes: false,<span class="Apple-tab-span" style="white-space:pre"> </span>// show shorter type names in table</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>middleware: [</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>{</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>title: 'Local (default)',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>url: 'middleware.php'</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// live: 8082<span class="Apple-tab-span" style="white-space:pre"> </span>// NOTE: live updates require</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// - push-server running and</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// - either apache proxy forwarding configured according to</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>//<span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://github.com/volkszaehler/volkszaehler.org/issues/382" class="">https://github.com/volkszaehler/volkszaehler.org/issues/382</a></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// <span class="Apple-tab-span" style="white-space:pre"> </span>- or push-server live update port configured and accessible</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}, {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>title: 'Volkszaehler Demo',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>url: '//<a href="http://demo.volkszaehler.org/middleware.php'" class="">demo.volkszaehler.org/middleware.php'</a></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>],</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>monthNames: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>dayNames: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>lineWidthDefault: 2,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>lineWidthSelected: 4,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>speedupFactor: 2, // higher values give higher speedup but can produce chunky display</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>hiddenProperties: ['link', 'tolerance', 'local', 'owner', 'description', 'gap', 'active'] // hide less commonly used properties</div><div class="">};</div><div class=""><br class=""></div><div class="">/**</div><div class=""> * Plot options are passed on to flot</div><div class=""> */</div><div class="">vz.options.plot = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>colors: ['#579D1C', '#7E0021', '#FFD320', '#FF420E', '#004586', '#0084D1', '#C5000B', '#FF950E', '#4B1F6F', '#AECF00', '#314004', '#83CAFF'],</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>series: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>shadowSize: 0,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>points: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>radius: 3</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""> <span class="Apple-tab-span" style="white-space:pre"> </span>legend: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>show: true,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>position: 'nw',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>backgroundOpacity: 0.80,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>xaxis: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>mode: 'time',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>timezone: 'browser'</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>axisLabels: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>show: false // set to true to show labels</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>yaxes: [</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>{</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>axisLabel: 'W', // assign el. energy to first axis- remove if not used</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>tickFormatter: vz.wui.tickFormatter<span class="Apple-tab-span" style="white-space:pre"> </span>// show axis label</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>{</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>// alignTicksWithAxis: 1,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>position: 'right',</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>tickFormatter: vz.wui.tickFormatter<span class="Apple-tab-span" style="white-space:pre"> </span>// show axis label</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>],</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>selection: { mode: 'x' },</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>crosshair: { mode: 'x' },</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>grid: {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>hoverable: true,</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>autoHighlight: false</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class="">};</div><div class=""><br class=""></div><div class="">vz.options.saveCookies = function() {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>var expires = new Date(2038, 0, 1); // some days before y2k38 problem</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>for (var key in vz.options) {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>if (vz.options.hasOwnProperty(key) &&</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>typeof vz.options[key] != 'function' &&</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>typeof vz.options[key] != 'object' &&</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>typeof vz.options[key] != 'undefined'</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>) {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>$.setCookie('vz_' + key, vz.options[key], {expires: expires});</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class="">};</div><div class=""><br class=""></div><div class="">vz.options.loadCookies = function() {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>for (var key in this) {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>var value = $.getCookie('vz_' + key);</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>if (value !== undefined) {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>switch(typeof this[key]) {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>case 'string':</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>this[key] = value;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>break;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>case 'number':</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>this[key] = Number(value);</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>break;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>case 'boolean':</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span>this[key] = (value == 'true');</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>break;</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div class="">};</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 12.03.2017 um 08:46 schrieb Andreas Götz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class="">Das reicht, schaue ich mit an. Fürs erste genügt es wenn Du demo aus der options.js entfernst, dann sollte der Fehler weg sein. <br class=""><br class="">Viele Grüße,<div class="">Andreas</div></div><div class=""><br class="">Am 12.03.2017 um 08:34 schrieb News <<a href="mailto:news@spider-wolf.de" class="">news@spider-wolf.de</a>>:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class="">Hi,<div class=""><br class=""></div><div class="">ich arbeite mit OSX. habe im Safari die „Fehlerkonsole einblenden“ ausgewählt. Hoffe das ist gemeint</div><div class=""><br class=""></div><div class=""><Bildschirmfoto 2017-03-12 um 08.32.42.png></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Am 12.03.2017 um 08:15 schrieb Andreas Götz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Entwicklerkonsole</span></div></blockquote></div><br class=""></div></div></blockquote></div></div></blockquote></div><br class=""></div></body></html>