...
It is also possible to customise the interaction lines. In this case, the <referencePoints> element should be surrounded by <infoPlotLine> <interactionLine> element. None of the customisation options within an <infoPlotLine> <interactionLine> are compulsory. If you wish to configure several interaction lines, all of them have to be configured either as <infoPlotLine> <interactionLine> or as <referencePoints>. You cannot mix <referencePoints> and <infoPlotLine>.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<interactionLine> <infoPlotLine> <color>red</color> <lineColor>red</lineColor> <lineStyle>dashdot<<lineStyle>solid;thick</lineStyle> <lineWidth>2</lineWidth> <labelText>30 Hz</labelText> <referencePoints> <xAttributeId>Q_30Hz</xAttributeId> <yAttributeId>H_30Hz</yAttributeId> </referencePoints> </infoPlotLine>interactionLine> <interactionLine> <infoPlotLine> <lineColor>blue</lineColor> <lineStyle>dashdot<<lineStyle>solid</lineStyle> <lineWidth>2<<lineWidth>1</lineWidth> <labelText>50 Hz<<labelText>samenloop</labelText> <referencePoints> <point> <point><x>600</x> <x>0</x> <y>60<<y>5</y> </point> <point> <x>500<<x>700</x> <y>60<<y>4</y> </point> <point> <x>1000<<x>1200</x> <y>70<<y>8</y> </point> <point> <x>1500</x> <y>75</y> </point> </referencePoints> </infoPlotLine> <infoPlotLine> <color>green</color> <lineWidth>2</lineWidth> <labelText>Best eff.</labelText> <referencePoints> <xAttributeId>BEP_80_Q</xAttributeId> <yAttributeId>BEP_80_H</yAttributeId> </referencePoints> </infoPlotLine> <infoPlotLine> <referencePoints> <xAttributeId>Q_50Hz</xAttributeId> <yAttributeId>H_50Hz</yAttributeId> </referencePoints> </infoPlotLine>interactionLine> |
To display the data in a scatterplot, you can chose between two options: <showAsScatterPlot> and <addInteractionScatterPlot> If you chose the first one, the TimeSeries display will be replaced with a scatterplot. If you configure addInteractionScatterPlot, you can turn on an extra scatterplot that is displayed next to the original time series. . The interaction scatterplot If the element <showInSeperateInfoPlot>true</showInSeperateInfoPlot> is set to true, the time series display will show a regular time series, and the scatterplot will only appear if the info plot button is selected. The info plot button has to be enabled in the TieSeriesDisplayConfig.xml buttonsettings.
...
An example of scatter plot configuration that uses all optional elements:
Code Block |
---|
<showAsScatterPlot> <chartTitle>Title</chartTitle> <showInSeperateInfoPlot>true</showInSeperateInfoPlot> <infoPlotLine> <color>red</color> <lineStyle>dashdot</lineStyle> <lineWidth>2</lineWidth> <labelText>30 Hz</labelText> <referencePoints> <xAttributeId>Q_30Hz</xAttributeId> <yAttributeId>H_30Hz</yAttributeId> </referencePoints> </infoPlotLine> <infoPlotLine> <color>black</color> <lineStyle>dashdot</lineStyle> <lineWidth>2</lineWidth> <labelText>50 Hz</labelText> <referencePoints> <point> <x>10</x> <y>40</y> </point> <point> <x>10</x> <y>80</y> </point> <point> <x>1000</x> <y>80</y> </point> <point> <x>1000</x> <y>10</y> </point> </referencePoints> </infoPlotLine> <infoPlotLine> <color>green</color> <lineStyle>solid</lineStyle> <lineWidth>2</lineWidth> <labelText>Best eff.</labelText> <referencePoints> <xAttributeId>BEP_80_Q</xAttributeId> <yAttributeId>BEP_80_H</yAttributeId> </referencePoints> </infoPlotLine> <referencePointsLegendLabel>reference points</referencePointsLegendLabel> <coloredBackgroundArea> <label>area 1</label> <color>cyan</color> <opaquenessPercentage>50</opaquenessPercentage> <point> <x>10</x> <y>40</y> </point> <point> <x>10</x> <y>80</y> </point> <point> <x>1000</x> <y>80</y> </point> <point> <x>1000</x> <y>10</y> </point> </coloredBackgroundArea> <coloredBackgroundArea> <label>area 2</label> <color>green</color> <opaquenessPercentage>50</opaquenessPercentage> <point> <x>100</x> <y>20</y> </point> <point> <x>100</x> <y>70</y> </point> <point> <x>2000</x> <y>20</y> </point> <displayGroup id="pk" name="Pompkrommes"> <singleParentLocationDisplays> <locationId>261VPrg-08017</locationId> <locationId>261VPrg-10021</locationId> <plotId>pompkromme</plotId> <addInteractionScatterPlot> <xAxisParameterId>Q.meting.keten</xAxisParameterId> <yAxisParameterId>H.opvoer</yAxisParameterId> <dataLine> <lineColor>pink</lineColor> <lineStyle>none</lineStyle> </dataLine> <chartTitle>Pompkarakteristieken</chartTitle> <interactionLine> <lineColor>red</lineColor> <lineStyle>solid;thick</lineStyle> <lineWidth>2</lineWidth> <labelText>30 Hz</labelText> <referencePoints> <xAttributeId>Q_30Hz</xAttributeId> <yAttributeId>H_30Hz</yAttributeId> </referencePoints> </interactionLine> <interactionLine> <lineColor>blue</lineColor> <lineStyle>solid</lineStyle> <lineWidth>1</lineWidth> <labelText>samenloop</labelText> <referencePoints> <point> <x>600</x> <y>5</y> </point> <point> <x>700</x> <y>4</y> </point> <point> <x>1200</x> <y>8</y> </point> </referencePoints> </interactionLine> <referencePointsLegendLabel>Q</referencePointsLegendLabel> <coloredBackgroundArea> <label>werkgebied0</label> <color>green</color> <opaquenessPercentage>25</opaquenessPercentage> <point> <x>600</x> <y>5</y> </point> <point> <x>700</x> <y>4</y> </point> <point> <x>1200</x> <y>8</y> </point> </coloredBackgroundArea> <coloredBackgroundArea> <xAxisRange> <min>-100<<label>werkgebied1</min>label> <max>1600</max> </xAxisRange> <xAxisTitle>X axis title</xAxisTitle> <yAxisRange> <min>40</min> <max>90</max> </yAxisRange> <yAxisTitle>Y axis title</yAxisTitle> <overrulingSeriesLabel>Series 1</overrulingSeriesLabel> <overrulingSeriesLabel>Series 2</overrulingSeriesLabel> <matchTimeSeriesPair>location</matchTimeSeriesPair> <!-- the options are: location, parameter --> <markerVisibility>onlyLast</markerVisibility> <!-- the options are: all, none, onlyLast --> </showAsScatterPlot> <color>green1</color> <opaquenessPercentage>10</opaquenessPercentage> <xAttributeId>enkelloop_Q</xAttributeId> <yAttributeId>enkelloop_H</yAttributeId> </coloredBackgroundArea> <overrulingSeriesLabel>QH</overrulingSeriesLabel> <markerVisibility>all</markerVisibility> </addInteractionScatterPlot> </singleParentLocationDisplays> </displayGroup> |
An example of the scatter plot created with the configuration above :
...