hasjob icon indicating copy to clipboard operation
hasjob copied to clipboard

Job pay graph Y axis shows fractions of jobs

Open jace opened this issue 7 years ago • 2 comments

This should not happen as the count of jobs should be whole numbers:

Fractional jobs

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

jace avatar Oct 25 '17 05:10 jace

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.

jace avatar Oct 25 '17 05:10 jace

Correction: specifying values does work, as this graph shows.

Hasjob candidate activity sample graph

jace avatar Oct 25 '17 06:10 jace