• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 41.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 @humdinger44
    last edited by sdetweil Mar 23, 2020, 1:39 AM Mar 22, 2020, 10:10 PM

    @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 Mar 23, 2020, 1:23 PM Reply Quote 3
    • S Offline
      sdetweil @sdetweil
      last edited by Mar 23, 2020, 1:23 PM

      @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 Mar 23, 2020, 1:35 PM Reply Quote 0
      • H Offline
        humdinger44 @sdetweil
        last edited by Mar 23, 2020, 1:35 PM

        @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 Mar 23, 2020, 1:38 PM Reply Quote 0
        • S Offline
          sdetweil @humdinger44
          last edited by Mar 23, 2020, 1:38 PM

          @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 Mar 23, 2020, 1:44 PM Reply Quote 0
          • H Offline
            humdinger44 @sdetweil
            last edited by Mar 23, 2020, 1:44 PM

            @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 Mar 23, 2020, 1:45 PM Reply Quote 0
            • S Offline
              sdetweil @humdinger44
              last edited by sdetweil Mar 23, 2020, 1:46 PM Mar 23, 2020, 1:45 PM

              @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 Mar 23, 2020, 2:22 PM

                @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 Mar 23, 2020, 3:28 PM Mar 23, 2020, 3:27 PM

                  @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 Mar 23, 2020, 4:23 PM Reply Quote 0
                  • S Offline
                    sdetweil @sdetweil
                    last edited by Mar 23, 2020, 4:23 PM

                    @sdetweil @humdinger44 another set of fixes for handling names with spaces and not found names (no crash)

                    added abbrev for UK (instead of ‘United_Kingdom’)
                    ‘United Kingdom’ works (notice space vs underscore)

                    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
                      last edited by Mar 23, 2020, 5:57 PM

                      another fix to erase the downloaded file,

                      u can cleanup by erasing the xlsx files

                      rm ~/MagicMirror/*.xlsx
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 8
                      • 9
                      • 1 / 9
                      1 / 9
                      • First post
                        10/89
                        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