Code Monkey home page Code Monkey logo

Comments (3)

jonathancallahan avatar jonathancallahan commented on July 18, 2024

I believe that the suggestions below will make for strings too long and will make for 2-line/cluttered/ugly graphics.

  1. The string "(located in air district: [airDistrict])" will significantly increase the length of the title and is likely to cause other issues like automatic font scaling, etc.
  2. I don't believe it is appropriate to sacrifice space allocated to the data to increase the verbiage in a legend title that will never change. Once people figure out what the colors are, the legend becomes just a reminder.

Comparing string lengths:

12345678901 -- 11 character max
* PA raw
* PA hourly
* PWFSL

12345678901234567890123456 -- 26 character max
* Sensor raw
* Sensor hourly
* Reference monitor hourly

Also, thinking about the future:

What if there is another kind of sensor and you want to plot both "PA hourly" and "Type2 hourly"? It's nice to differentiate.

from airsensordataviewer.

acollier-oxandale avatar acollier-oxandale commented on July 18, 2024

We agree regarding limiting the string length, instead of the original request, could "PWFSL" in the timeseries plot title and in the legend be changed to "Monitor"? Then it might be helpful to add some static text below the plot noting that the PWFSL package is used to access to reference data and the source of the reference data.

from airsensordataviewer.

jonathancallahan avatar jonathancallahan commented on July 18, 2024

Resolved in AirSensor 1.0.5

from airsensordataviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.