If plotting average CTDI chart and acquisition frequency chart wrong values are shown in the frequency chart

Issue #420 resolved
David Platten created an issue

No description provided.

Comments (3)

  1. David Platten reporter

    There is an error in the logic of the average_chart_inc_histogram_data routine: it only returns the system names if average values as well as frequency data has been requested. It should always return a list of systems if the user has requested it, regardless of whether average values have been requested. It should also return a series per system for frequency data, rather then just a single series, when just frequency data is requested.

  2. David Platten reporter

    Amended average_chart_inc_histogram_data routine so that it always returns data per system if asked to, even when just asked for frequency data. Tested and works as expected. Fixes issue #420

    → <<cset 519cc98de075>>

  3. David Platten reporter

    Tested for:

    Frequency chart on it's own with "series per system" selected Frequency chart on it's own with "series per system" deselected

    Frequency chart and average chart with "series per system" selected Frequency chart and average chart with "series per system" deselected

    All of the above now show the correct number of items in the pie charts.

  4. Log in to comment