swiss-seismological-service / REIA-web

Frontend report generation for results of the near real time event specific loss calculations.
GNU Affero General Public License v3.0
0 stars 1 forks source link

Change Tick Values on Scales #54

Open schmidni opened 1 week ago

schmidni commented 1 week ago

User Story

As somebody who is looking at the RIA Sheets, it is currently difficult to read a value from the first part of the scales on the RIA sheets.

Acceptance Criteria

Instead of "Keine", currently corresponding to 0, the lowest value should be written out as below and correspond to the respective value. The code modules for the SED Website also need to be updated as a result.

Hints

The scale is currently implemented in a rather complex way, because my assumption up until now was, that "keine" corresponds to 0. Therefore the first tick can be a scale from 0.01 (log(0) does not exist) to 10 Million (spanning logarithmic scales from 0.01, 0.1, 1, 10, 100, ...), whereas the second tick has the same width on the sheet, but only goes from 10 Mio to 100 Mio.

You probably don't need to change this, but just as an explanation if you find the implementations strange.

Image