8.3.6 LineChart Renderer

QuickBuild 2.0 Documentation

The LineChart renderer will render the statistics report in the 'Statistics' tab. This renderer only apply to statistics report currently, and can't be used to render build report. The screenshot below shows what this renderer will render the report:

The definition for the renderer is fairly simple. It only contains a set of renderer fields. The data type of renderer field should be either one of the number type or boolean type and each of renderer field should contain the 'source' attribute, that is, the data of the renderer field can only read from the statistics report instead of using an expression. The following is an example definition for JUnit:

<renderer type="lineChart" source="junit_stats" title="JUnit Report">
  <field source="packages" title="Packages"/>
  <field source="success_rate" title="Success Rate"/>
  <field source="tests" title="Tests"/>
  <field source="errors" title="Errors"/>
  <field source="failures" title="Failures"/>
  <field source="time" pattern="H:m:s" title="Test Duration"/>
</renderer>

Refering to the section of working with statistics for more detailed description.

Labels

 
(None)