Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Flot Chart Adapter: STEP left / right / center bzw. Schritte links/rechts/mitte

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Flot Chart Adapter: STEP left / right / center bzw. Schritte links/rechts/mitte

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Motorpsycho last edited by

      Hallo zusammen,

      ich experimentiere gerade mit ioBroker, komme von HighCharts auf der CCU2 und möchte Stunden-, Tages- und Monatswerte mit einer STEP (Schritte) Grafik visualisieren. Funktioniert soweit auch, nur ist bei der STEP Grafik die Linie falsch gezogen, denn sie zeigt den Wert nicht bis zu dem jeweiligen Datenpunkt, sondern ab diesem Punkt. Die Linie soll aber bis zu dem Punkt die entsprechende Höhe haben.

      In Highcharts kann man das Verhalten mit der PlotOption "left","right","middle" anpassen, vgl. Doku:

      https://www.highcharts.com/docs/chart-a … line-chart

      oder hier zum ausprobieren:

      http://jsfiddle.net/gh/get/jquery/1.7.1 … line-step/

      Code sieht dafür so aus:

      plotOptions: {
          series: {
              step: 'left' // or 'center' or 'right'
          }
      }
      

      Wie kriege ich das jetzt bei Flotchart hin? In der API Doku von Flotchart finde ich nicht mal STEP. Im Flot Editor kann ich außer "Schritte" auszuwählen auch nichts diesbezüglich konfigurieren, auch nicht unter Optionen.

      1 Reply Last reply Reply Quote 0
      • M
        Motorpsycho last edited by

        Kann Flot offenbar (noch) nicht: 😞

        https://github.com/flot/flot/pull/1563

        akademic created this issue in flot/flot

        open Added option for steps lines graph #1563

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          Und flot wird seit 2014 nicht mehr gepflegt.

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • M
            Motorpsycho last edited by

            Echt jetzt? Warum ist dann da GIT Aktivität im September 2017?

            Rickshaw kann das wohl auch nicht. Da muss ich wohl bei Cuxd Highcharts bleiben, denn so wie ich verstanden habe, brauche ich auf einen Highcharts Adapter gar nicht zu warten.

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              @Motorpsycho:

              Echt jetzt? `
              https://github.com/flot/flot/commits/master finde ich nichts neues mehr.

              @Motorpsycho:

              Warum ist dann da GIT Aktivität im September 2017? `
              Das ist doch nur beim plugin.

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • M
                Motorpsycho last edited by

                @Homoran:

                @Motorpsycho:

                Echt jetzt? `
                https://github.com/flot/flot/commits/master finde ich nichts neues mehr.

                @Motorpsycho:

                Warum ist dann da GIT Aktivität im September 2017? `
                Das ist doch nur beim plugin.

                Gruß

                Rainer `
                Ah, ok. Danke.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate
                FAQ Cloud / IOT
                HowTo: Node.js-Update
                HowTo: Backup/Restore
                Downloads
                BLOG

                861
                Online

                32.0k
                Users

                80.5k
                Topics

                1.3m
                Posts

                2
                6
                483
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo