HiSPARC / jsparc

JavaScript library and coincidences analysis
https://data.hisparc.nl/media/jsparc/
GNU General Public License v3.0
6 stars 2 forks source link

Fit lines can go out of the plotting grid #22

Closed 153957 closed 10 years ago

153957 commented 10 years ago

Especially when using a log-log scale this can happen.

Possibly a flot issue? No newer release of flot yet..

screen shot 2014-06-21 at 11 55 01

153957 commented 10 years ago

Probably due to:

var flot_histogram = {
    yaxis: {
        min: 0},
    ...

And the fit may go below y = 0. Possibly worse with logarithmic axes..

153957 commented 10 years ago

Seems fixed with 789e608cfbadf8976ac12bcd6e7884a85f7bae01