Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour of tiles: intermediate (code 2) and high (3) resistance shows green #19

Closed
pascalmfrey opened this issue Sep 7, 2014 · 8 comments
Assignees
Milestone

Comments

@pascalmfrey
Copy link
Contributor

instead of orange and gray. Tiles where no data is available should be empty/white instead of gray.

@pascalmfrey pascalmfrey changed the title Colour of tiles: intermediate (code 2) resistance shows green Colour of tiles: intermediate (code 2) and high (3) resistance shows green Sep 7, 2014
@fxstr
Copy link
Contributor

fxstr commented Nov 3, 2014

@fabianjordi Use the following colors and display styles:

  • class of td is «.not-available»: white background, gray border, no value.
  • class of td is .high: green
  • class of td is .intermediate: light green (between green and gray) or orange
  • class of td is .low: gray

@fxstr fxstr assigned fabianjordi and unassigned fxstr Feb 10, 2015
@fxstr
Copy link
Contributor

fxstr commented Feb 10, 2015

@eventEmitter Better data would be nice – there's no value between 0.33 and 0.66.

This was referenced Feb 10, 2015
@fxstr
Copy link
Contributor

fxstr commented Feb 10, 2015

@Alpascal Any chance we could have some user or import values to test the new matrix?

@fxstr fxstr modified the milestone: Prototype Feb 11, 2015
@pascalmfrey
Copy link
Contributor Author

I've entered an examples with data from the anresis.ch database: Neisseria gonorrhoae has now a 62% resistance to all chinolones (Ciprofloxacin, Norfloxacin, etc.).
In addition I've entered a 79% resistance for Staphylococcus aureus to Amoxicillin (without combination with Clavulanate), and a 26% resistance of E. coli to Cotrimoxazole to have examples of user entered values for all three categories of resistance.

@fxstr
Copy link
Contributor

fxstr commented Feb 19, 2015

@Alpascal Thanks a lot!

@fxstr
Copy link
Contributor

fxstr commented Feb 19, 2015

Tataa:
image

@Alpascal Colors are still wrong, but is this behaviour correct:

  • Ciprofloxacin/Neisseria gono… is orange, letter is «I»
  • On mouse-over, value is displayed (62)
  • On mouse-out, I is displayed again.

@fxstr
Copy link
Contributor

fxstr commented Feb 19, 2015

Staphylococcus aureus to Amoxicillin

image

E. coli to Cotrimoxazole
image

@pascalmfrey
Copy link
Contributor Author

This looks nice, good job!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants