Customised number of bins in histogram charts

Issue #343 resolved
David Platten created an issue

I would find it useful to be able to alter the number of bins used when calculating the histogram of some doses. This would be particularly useful when there are a small number of outliers at a much larger dose level than the bulk of the data. Increasing the number of bins would enable me to see the detail of the distribution without having to exclude the large dose entries from the filtered data.

Comments (6)

  1. David Platten reporter

    Added user profile field to hold number of histogram bins. This enables the user to change the number of bins that are used. The range is restricted to be between 2 and 100. The range is enforced on the chart options form: the system won't allow the user to submit a value that is too high or low. References issue #343 (and probably fixes it).

    → <<cset 3b9879dbff43>>

  2. David Platten reporter

    I'm not so sure that allowing the user to set this to 100 is a good idea: it may require a lot of server memory. May be better to restrict the maximum to something lower, like 40.

  3. David Platten reporter

    Added user profile field to hold number of histogram bins. This enables the user to change the number of bins that are used. The range is restricted to be between 2 and 100. The range is enforced on the chart options form: the system won't allow the user to submit a value that is too high or low. References issue #343 (and probably fixes it).

    → <<cset 3b9879dbff43>>

  4. Log in to comment