<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    scheint nicht zu funktionieren, siehe Anhang. Vor allem die grüne
    Kurve und die rote.<br>
    Hier nochmal aus meiner wui.js:<br>
    <br>
    <pre> 637 vz.wui.drawPlot = function () {</pre>
    <pre>    638         vz.options.interval = vz.options.plot.xaxis.max - vz.options.plot.xaxis.min;</pre>
    <pre>    639         vz.wui.updateHeadline();</pre>
    <pre>    640</pre>
    <pre>    641         var series = new Array;</pre>
    <pre>    642         var index = 0;</pre>
    <pre>    643         vz.entities.each(function(entity) {</pre>
    <pre>    644                 if (entity.active && entity.definition && entity.definition.model == 'Volkszaehler\\Model\\Channel' &&</pre>
    <pre>    645                     entity.data && entity.data.tuples && entity.data.tuples.length > 0) {</pre>
    <pre>    646                         var tuples = entity.data.tuples;</pre>
    <pre>    647                         // mangle data for "steps" curves by shifting one ts left ("step-before")</pre>
    <pre>    648                         if (tuples && tuples.length > 0 && entity.style == "steps") {</pre>
    <pre>    649                                 tuples.unshift([entity.data.from, 1, 1]); // add new first ts</pre>
    <pre>    650                                 for (var i=0; i<tuples.length-1; i++) {</pre>
    <pre>    651                                         tuples[i][1] = tuples[i+1][1];</pre>
    <pre>    652                                 }</pre>
    <pre>    653                         }</pre>
    <pre> <b>   654 // remove number of datapoints from each tuple to avoid flot fill error</b></pre>
    <pre><b>    655</b></pre>
    <pre><b>    656                         if (tuples && tuples.length > 0 && entity.fillstyle) {</b></pre>
    <pre><b>    657                                 for (var i=0; i<tuples.length; i++) {</b></pre>
    <pre><b>    658                                         delete tuples[i][2];</b></pre>
    <pre><b>    659                                 }</b></pre>
    <pre><b>    660</b></pre>
    <pre><b>    661                         }</b></pre>
    <pre>    662                         var serie = {</pre>
    <pre>    663                                 data: tuples,</pre>
    <pre>    664                                 color: entity.color,</pre>
    <pre>    665                                 label: entity.title,</pre>
    <pre>    666                                 title: entity.title,</pre>
    <pre>    667                                 unit : entity.definition.unit,</pre>
    <pre>    668                                 lines: {</pre>
    <pre>    669                                         show: (entity.style == 'lines' || entity.style == 'steps'),</pre>
    <pre>    670                                         steps: (entity.style == 'steps'),</pre>
    <pre><b>    671</b>                                         lineWidth: (index == vz.wui.selectedChannel ? vz.options.lineWidthSelected : vz.options.lineWidthDefault),<b>fill: true</b></pre>
    <pre>    672                                 },</pre>
    <pre>    673                                 points: {</pre>
    <pre>    674                                         show: (entity.style == 'points')</pre>
    <pre>    675                                 },</pre>
    <pre>    676                                 yaxis: entity.yaxis</pre>
    <pre>    677                         };</pre>
    <br>
    <br>
    Unter <a
      href="https://github.com/volkszaehler/volkszaehler.org/pull/127">https://github.com/volkszaehler/volkszaehler.org/pull/127</a>
    steht anstatt fill:true:<br>
    <pre class="diff-line-pre">fill: (typeof entity.fillstyle != 'undefined') ? entity.fillstyle : false</pre>
    Kann man das irgendwo einstellen (entity.fillstyle)?<br>
    <br>
    Oder muß man das extra setzen (in der DB oder per REST request)?<br>
    <br>
    Grüße<br>
    Sirko<br>
    <br>
    <div class="moz-cite-prefix">Am 08.04.2014 21:27, schrieb Andreas
      Goetz:<br>
    </div>
    <blockquote
cite="mid:CAD+a8MixVVs8Y90ZD9-R6q9eFf7cDBz4zyKa23WEqXstFP-cig@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Evtl. hättest Du ja auch Gelegenheit den Fix mal zu
            testen?<br>
            <br>
            <a moz-do-not-send="true"
              href="https://github.com/volkszaehler/volkszaehler.org/pull/127">https://github.com/volkszaehler/volkszaehler.org/pull/127</a><br>
            <br>
          </div>
          vg<br>
        </div>
        Andreas<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-04-08 12:33 GMT+02:00 Sirko Fresia
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mail_ist@nurfuerspam.de" target="_blank">mail_ist@nurfuerspam.de</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div style="font-family:Verdana;font-size:12.0px">
                <div>
                  <div>Hi,</div>
                  <div> </div>
                  <div>ich hatte in der Vergangenheit auch mal gefüllte
                    Linien und hatte hin und wieder das gleiche
                    beobachtet.</div>
                  <div> </div>
                  <div>Grüße</div>
                  <div>Sirko</div>
                  <div> 
                    <div name="quote" style="margin:10px 5px 5px
                      10px;padding:10px 0 10px 10px;border-left:2px
                      solid #c3d9e5;word-wrap:break-word">
                      <div style="margin:0 0 10px 0"><b>Gesendet:</b> Dienstag,
                        08. April 2014 um 12:04 Uhr<br>
                        <b>Von:</b> "Andreas Goetz" <<a
                          moz-do-not-send="true"
                          href="mailto:cpuidle@gmail.com"
                          target="_blank">cpuidle@gmail.com</a>><br>
                        <b>An:</b> "<a moz-do-not-send="true"
                          href="http://volkszaehler.org" target="_blank">volkszaehler.org</a>
                        - users" <<a moz-do-not-send="true"
                          href="mailto:volkszaehler-users@demo.volkszaehler.org"
                          target="_blank">volkszaehler-users@demo.volkszaehler.org</a>><br>
                        <b>Betreff:</b> Re: [vz-users] Bessere
                        Farbauswahl und gefüllte Linien</div>
                      <div>
                        <div class="h5">
                          <div name="quoted-content">
                            <div>
                              <div>
                                <div>
                                  <div>Hallo Zusammen,<br>
                                     </div>
                                  ich habe bei ausgefüllten Charts,
                                  insbesondere wenn ich Aggregation
                                  verwende und die Datenpunkte daher
                                  etwas auseinander stehen, das Problem
                                  das die Füllung teilw. optisch nicht
                                  ansprechend ist: <a
                                    moz-do-not-send="true"
                                    href="https://github.com/flot/flot/issues/1267"
                                    target="_blank">https://github.com/flot/flot/issues/1267</a><br>
                                   </div>
                                Einen Fix dafür habe ich ebenfalls,
                                würde aber gerne wissen ob das Problem
                                bei Euch ebenfalls auftritt. Daher Bitte
                                um kurzen Hinweis falls/wer das Problem
                                nachvollziehen kann.<br>
                                 </div>
                              vg<br>
                              Andreas<br>
                               </div>
                            <div class="gmail_extra"> 
                              <div class="gmail_quote">2014-04-01 21:54
                                GMT+02:00 Andreas Goetz <span><<a
                                    moz-do-not-send="true"
                                    href="http://cpuidle@gmail.com"
                                    target="_blank">cpuidle@gmail.com</a>></span>:
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  0.8ex;border-left:1.0px
                                  rgb(204,204,204)
                                  solid;padding-left:1.0ex">
                                  <div>Hallo Karlheinz,
                                    <div class="gmail_extra"> 
                                      <div class="gmail_quote">2014-04-01
                                        21:51 GMT+02:00 Karlheinz <span><<a
                                            moz-do-not-send="true"
                                            href="http://karlheinz.es@gmx.de"
                                            target="_blank">karlheinz.es@gmx.de</a>></span>:
                                        <div> 
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0.0px 0.0px
                                            0.0px
                                            0.8ex;border-left:1.0px
                                            solid
                                            rgb(204,204,204);padding-left:1.0ex">Hallo
                                            Andreas,<br>
                                            <br>
                                            die Bearbeitungsfunktion
                                            gefällt mir :-) - und schon
                                            im master!</blockquote>
                                          <div> </div>
                                        </div>
                                        <div>*freu*</div>
                                        <div>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0.0px 0.0px
                                            0.0px
                                            0.8ex;border-left:1.0px
                                            solid
                                            rgb(204,204,204);padding-left:1.0ex"><br>
                                            Auf meiner Wunschliste hätte
                                            ich noch folgendes:<br>
                                            1. absolute Zählerstandsinfo
                                            (neben Min. / Max ...) pro
                                            Kanal. Meiner Meinung nach
                                            bräuchte man dazu ein
                                            Zusatzfeld in der DB um auch
                                            für Leistungswerte
                                            (So-Impulse) einen aktuellen
                                            Zählerstands-Wert errechnen
                                            zu können.</blockquote>
                                          <div> </div>
                                        </div>
                                        <div>Siehe hier: <a
                                            moz-do-not-send="true"
                                            href="https://github.com/volkszaehler/volkszaehler.org/issues/120"
                                            target="_blank">https://github.com/volkszaehler/volkszaehler.org/issues/120</a>
                                          Dort gibt es einen konkreten
                                          Vorschlag von mir und ein paar
                                          andere Ideen. Aktuell kein
                                          Fortschritt.<br>
                                           </div>
                                        <div>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0.0px 0.0px
                                            0.0px
                                            0.8ex;border-left:1.0px
                                            solid
                                            rgb(204,204,204);padding-left:1.0ex">2.
                                            Ist eine Umschaltung auf
                                            Balkendiagrammdarstellung
                                            für Energieverbrauch
                                            denkbar? Bei Auswahl "Woche"
                                            pro Tag ein Balken, bei
                                            Auswahl "Monat" pro Woche u.
                                            bei "Jahr" monatlich
                                            summierte Balken.</blockquote>
                                          <div> </div>
                                        </div>
                                        <div>Yup, daran grübele ich
                                          schon eine ganze Weile.
                                          Machbarkeit ist nicht so dass
                                          Thema, wohl aber ein elegantes
                                          UI dafür zu finden. Wenn Du da
                                          eine gute Idee hast immer her
                                          damit!<br>
                                           </div>
                                        <div>vg</div>
                                        <div><span><font color="#888888">Andreas</font></span></div>
                                        <div>
                                          <div> </div>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0.0px 0.0px
                                            0.0px
                                            0.8ex;border-left:1.0px
                                            solid
                                            rgb(204,204,204);padding-left:1.0ex"><br>
                                            Gruß<br>
                                            Karlheinz<br>
                                            <br>
                                            ------- Original Nachricht
                                            --------
                                            <div><br>
                                              Betreff: [vz-users]
                                              Bessere Farbauswahl und
                                              gefüllte Lini<br>
                                              Von: Andreas Goetz <<a
                                                moz-do-not-send="true"
                                                href="http://cpuidle@gmail.com"
                                                target="_blank">cpuidle@gmail.com</a>><br>
                                              An: <a
                                                moz-do-not-send="true"
                                                href="http://volkszaehler.org"
                                                target="_blank">volkszaehler.org</a>
                                              - users <<a
                                                moz-do-not-send="true"
                                                href="http://volkszaehler-users@lists.volkszaehler.org"
                                                target="_blank">volkszaehler-users@lists.volkszaehler.org</a>></div>
                                            Datum: Freitag, 21. März
                                            2014 10:11:46<br>
                                             
                                            <blockquote
                                              class="gmail_quote"
                                              style="margin:0.0px 0.0px
                                              0.0px
                                              0.8ex;border-left:1.0px
                                              solid
                                              rgb(204,204,204);padding-left:1.0ex">
                                              <div>Hallo Zusammen,<br>
                                                <br>
                                                unter <a
                                                  moz-do-not-send="true"
href="https://github.com/andig/volkszaehler.org/tree/fill-style"
                                                  target="_blank">https://github.com/andig/volkszaehler.org/tree/fill-style</a>
                                                gibts mal wieder eine
                                                experimentelle
                                                Frontendverbesserung auf
                                                Basis des aktuellen
                                                maintream git.<br>
                                                <br>
                                                <br>
                                                 </div>
                                              <div>Freue mich über
                                                Feedback.<br>
                                                <br>
                                                vg<br>
                                                Andreas</div>
                                            </blockquote>
                                          </blockquote>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div> </div>
                <div> </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>