Customize the content auditor reading grade chart

Background

The reading grade chart reports on performance against the Flesch-Kincaid reading grade level scale. Pages that fall within a target reading grade band are displayed with green bars, while those that fall outside this range are displayed with red bars.

The range of acceptable grade levels can be configured in the results page configuration by setting ui.modern.content-auditor.reading-grade parameter keys, which control the lower and upper bounds of the reading grades that are rendered in green.

Customization of the reading grade chart does not require an update of the collection.

Set the document age threshold

  1. Log in to the administration dashboard, switch to the results page that corresponds to the content auditor report and view the results page configuration.

  2. Select edit results page configuration and add ui.modern.content-auditor.reading-grade.lower-ok-limit and ui.modern.content-auditor.reading-grade.upper-ok-limit parameter keys.

    e.g. to set the acceptable (green) range of reading grades of 5-7 add the following lines:

    Parameter key Value

    ui.modern.content-auditor.reading-grade.lower-ok-limit

    5

    ui.modern.content-auditor.reading-grade.upper-ok-limit

    7

  3. Return to the content auditor report and observe that the reading graph has updated to display the new acceptable range in green. Observe that the changes take place as soon as the configuration changes are saved

© 2015- Squiz Pty Ltd