Initialization Option Reports API

useSVG

Controls whether or not the Session List by Item report renders icons with SVG or HTML5 canvas elements.

When set to true, it shows the report with the traffic light scoring motif rendered with SVG icons. This includes colors and an icon design to improve accessibility.

When set to false and by default, it shows the report with the traffic light scoring motif rendered with HTML5 canvas. This canvas is simply a color circle that indicates the various state of the item.

The following table explains the possible states that can be in this report, and what the icon will look like depending on whether you have the useSVG flag set to true or false.

State useSVG set to false (default) useSVG set to true
Correct Correct icon as an image Correct icon as SVG
Incorrect Incorrect icon as an image Incorrect icon as SVG
Partially correct Partially correct icon as an image Partially correct icon as SVG
Unattempted Unattempted icon as an image Unattempted icon as SVG
Not marked Unmarked icon as an image Unmarked icon as SVG

Values

Request object key configuration.useSVG

Type boolean

Versioning

Version added: v2023.3.LTS

Was this article helpful?