Over-time series aren't always the correct colour

Issue #417 resolved
David Platten created an issue

Example: if a pie chart of radiographic acquisition protocol frequency is requested, as well as a plot of acquisition DAP over time, the series colours between the charts should match for each protocol name. However, this isn't the case if there are certain combinations of capitalisation in use for the names.

Django's database sort puts lower case first: Chest pa Chest PA Chest PA Grid W033 Chest PA

The sort_by_name JavaScript function puts upper case first: Chest PA Chest PA Grid Chest pa W033 Chest PA

For the above protocols the colour of the series in the two charts will not match.

The sort_by_name JavaScript function needs to be updated so that it puts lower case first.

Comments (2)

  1. Log in to comment