• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Request: Within a graph, sensor variables should have consistent color

    Scheduled Pinned Locked Moved Developers Zone
    5 Posts 3 Posters 692 Views 1 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.
    • N Offline
      ncollins
      last edited by

      Problem
      I have a graph that displays events for ~12 motion/door sensors within the last 12 hours. Events for Sensor-5 might be blue, or orange, or red...depending on how many other sensors were tripped in that same time frame.

      Example: I look at the graph at 10:00, and I see two events from two different sensors: motion at 5:00 from Sensor-1 (blue), motion at 6:30 from Sensor-5 (orange).

      The next day, I look at the graph at 10:00, and I see three events from three different sensor: 5:30 Sensor-1 (blue), 6:25 Sensor-3 (orange), 6:30 Sensor-5 (green).

      Yesterday, sensor-5 was orange, today sensor-5 is green. I always have to check the legend to figure out which sensors are in the graph.

      Request
      For each graph configured on a dashboard, there should be a fixed relationship between sensor variable <-> color.

      A tripped graph displays 5 sensor variables [Sensor1, Sensor2, Sensor3, Sensor4, Sensor5] over the last 12 hours.

      Yesterday at 10:00, there were 3 events in the last 12 hours: Sensor2 (orange), Sensor3 (green), Sensor4 (red).

      Today at 10:00, there were 2 events in the last 12 hours: Sensor2 (orange), Sensor4 (red).

      Whenever I look at the chart, I know orange is Sensor2, red is Sensor4.

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @ncollins
        last edited by

        @ncollins Good point! I have created a ticket to resolve this request,

        https://github.com/mycontroller-org/mycontroller/issues/470

        skywatchS 1 Reply Last reply Reply Quote 0
        • skywatchS Offline
          skywatch @jkandasa
          last edited by skywatch

          @jkandasa

          +1

          I have numerous graphs with temp and humidity and the colours vary from one graph to the next, never did find a way to get them all the same...

          skywatchS 1 Reply Last reply Reply Quote 0
          • skywatchS Offline
            skywatch @skywatch
            last edited by

            @jkandasa

            I notice that whatever colour I choose in settings>metrics, I don't see it in the graph. Should the colour for temperature set in metrics be displayed on a mixed sensor graph?

            jkandasaJ 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @skywatch
              last edited by

              @skywatch I guess the color will work only with "A sensor graph", Not for grouped and mixed. In these graphs colors will be chosen randomly(we may have more than one same type variable in these graphs).

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

              0

              Online

              586

              Users

              529

              Topics

              3.4k

              Posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization