hasjob
hasjob copied to clipboard
Job pay graph Y axis shows fractions of jobs
This should not happen as the count of jobs should be whole numbers:

We've solved for this in the job detail page by specifying a custom Y axis. The same approach can be used on the job pay graph.
https://github.com/hasgeek/hasjob/blob/5e99e7d47eb46b7a0adf257a0efc19b2bd68cadb/hasjob/templates/detail.html.jinja2#L492-L503
Specifying values may not actually work, as sometimes there are hundreds of jobs and we don't want a tick for each digit. We only want the floor to be integers instead of fractions. There may be another way to achieve that.
Correction: specifying values does work, as this graph shows.
