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.

    covid bell curve line graph tracker

    Scheduled Pinned Locked Moved Solved Requests
    89 Posts 6 Posters 52.4k Views 8 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
      sdetweil @sdetweil
      last edited by sdetweil

      @humdinger44

      first pass
      China, Italy, US cases since 1/1/2020
      (can also do deaths, and cumulative)

      would update daily

      have lots of config work to do yet

      alt text

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      H 1 Reply Last reply Reply Quote 0
      • H Offline
        humdinger44 @sdetweil
        last edited by

        @sdetweil love it! thanks for your efforts

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

          @humdinger44 here u go

          https://github.com/sdetweil/MyCovid19

          two charts… cumulative cases and cumulative deaths, currently can display only 1 chart at a time

          US is about 7 weeks behind China, Italy about 5 weeks behind

          alt text

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @humdinger44 you can now run two instances to get both charts

            git pull in the module folder if already installed

            alt text

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              humdinger44 @sdetweil
              last edited by

              @sdetweil I got it working this morning after your latest update. Thanks for making this, its exactly what i was hoping for.

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

                @humdinger44 cool… some country names with spaces (or popular abbreviations) need special handling… so if u find one that doesn’t display, let me know

                the US data is reported under ‘United_States_of_America’, which no one would ever use…
                so I have handling for US, USA, and “United States”

                this will refresh about 2am next day… (if u keep your system running all day)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  humdinger44 @sdetweil
                  last edited by

                  @sdetweil one thing i did do on my system is switch your background color from ‘black’ to ‘transparent’ because that works a little better with my setup.

                  Thanks again

                  S 3 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @humdinger44
                    last edited by sdetweil

                    @humdinger44 yeh, I have images displayed and the chart washes out in transparent mode, but thats why I added the setting

                    oops… didn’t add that to the doc
                    in config
                    backgroundColor: ‘???’ color name/id/value

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @humdinger44 also, if u have a mouse on the system , you should be able to hover over the line and see the raw numbers used

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @humdinger44 I just posted fixes for resume from sleep when multiple module instances are running (and multiple browsers watching screen)

                        git pull in module folder to update, no config changes
                        added backgroundColor config to doc

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 4 / 9
                        • 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