MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Chart - View your graphs on your Mirror

    Scheduled Pinned Locked Moved Utilities
    21 Posts 8 Posters 19.7k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      schmo90
      last edited by

      Hy i solved the issue with jumping values.

      you are deleting the y axis values in the file mmm-chart.js

      but not the label dataarray.

      i added the line:
      this.chartData.labels = [];
      at #296 and now i have fixed the jumping value issue

      i also added the suggestedMin/Max parameter and to change the line chart to a stepped line chart

      1 Reply Last reply Reply Quote 0
      • R Offline
        ricq
        last edited by

        @logen563 Hi. I am interested how you did this? Would like to display graph. Data is from an xml file that I download daily.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          schmo90 @ricq
          last edited by

          @ricq you have to convert the xml to the json format.

          i have now build a python script which provides the data from my sensors.

          or you build a php script…

          1 Reply Last reply Reply Quote 0
          • R Offline
            ricq @logen563
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • T Offline
              turntablist2
              last edited by

              How do i turn my MQTT temperature data from Mosquito into jason data providing me with a url for this module? or is there a way to get your module to read an mqtt topic?

              1 Reply Last reply Reply Quote 0
              • T Offline
                turntablist2 @zazzo
                last edited by

                @zazzo how did you create that php file in the first place? I’m new to this and really struggling. thanks in advance

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @turntablist2
                  last edited by sdetweil

                  @turntablist2 u can use any language u like. I created a conversion script in JavaScript for one person.

                  It’s knowing your data, and how you would organized it into items you would chart.

                  Draw the chart on paper, what are the x and y axis?, how do you get your data into points along the line.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • 1
                  • 2
                  • 3
                  • 2 / 3
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy