...
Chart should be configured according the following schema definition.
Image Removed
Image Added
Figure 93 Chart definition according the ChartComplexType (reports.xsd).
...
Code Block |
---|
|
<declarations>
<rowPerLocationHtmlTableFormat id="rowPerLocationFormat1" tableStyle="tableStyle3" >
<column>
<header>Naam</header>
<format>_data_yellow</format>
<function>LOCATIONATTRIBUTE(shortname)</function>
</column>
<column>
<header>Tijd maximale overschrijding</header>
<function>THRESHOLDCROSSING(MAX_DATETIME;Qobserved;dateFormat1)</function>
</column>
<column>
<header>Waarde maximale overschrijding (m3/s)</header>
<function>THRESHOLDCROSSING(MAX_VALUE;Qobserved;numberFormat1)</function>
</column>
<column>
<header>Tijd maximale waterstand</header>
<function>MAXTIME(Hobserved;dateFormat1)</function>
</column>
<column>
<header>Maximale waterstand (m)</header>
<function>MAXVALUE(Hobserved;numberFormat1)</function>
</column>
</rowPerLocationHtmlTableFormat>
</declarations>
|
Example of the configuration with htmlColumn:
Code Block |
---|
|
<rowPerLocationHtmlTableFormat id="rowPerLocationHtml" tableStyle="tableStyle3">
<htmlColumn>
<thTemplate>
<![CDATA[<th>Location name</th>]]>
</thTemplate>
<tdTemplate>
<![CDATA[<td>%LOCATIONATTRIBUTE(id)%</td>]]>
</tdTemplate>
</htmlColumn>
<htmlColumn>
<thTemplate>
<![CDATA[
<th class="data-status" style="color:#F9E11E">Thresholds crossed</th>
]]>
</thTemplate>
<tdTemplate>
<![CDATA[
<td class="data-status" style="color:%THRESHOLDCROSSING(MAX_THRESHOLDCOLOR; Hobserved)%">%THRESHOLDCROSSING(MAX_THRESHOLDNAME;Hobserved;dateFormat)%</td>
]]>
</tdTemplate>
</htmlColumn>
</rowPerLocationHtmlTableFormat>
|
rowPerLocationCSVTable
Anchor |
---|
| rowPerLocationCSVTable |
---|
| rowPerLocationCSVTable |
---|
|
...