Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Setting the font size in a subplot

  • Open the DisplayGroups.xml and go to the subplot for which you want to set the font sizes. Make sure you enter the sizes before the subplot you want to change:
    Code Block
    xml
    xml
    
    <plot id="Performance_RadarActuals">
    <subplot>
    <color>beige</color>
    <lineStyle>bar</lineStyle>
    <timeSeriesSet>
    	<moduleInstanceId>CatchmentAveragePrecipitation</moduleInstanceId>
    	<valueType>scalar</valueType>
    	<parameterId>P.catchment</parameterId>
    	<locationSetId>CatAvg</locationSetId>
    	<timeSeriesType>external historical</timeSeriesType>
    	<timeStep unit="minute" multiplier="60"/>
    	<relativeViewPeriod unit="hour" start="-168" end="0" endOverrulable="true"/>
    	<readWriteMode>read only</readWriteMode>
    </timeSeriesSet>
    
  • Now add the legendFontSize, axisTitleFontSize and/or tickLabelFontSize elements just before the subplot for which you want to change the settings. Please not that the order of these elements is important: first the legendFontSize element, next the axisTitleFontSize element and next again the tickLabelFontSize element:
    Code Block
    xml
    xml
    
    <plot id="Performance_RadarActuals">
    <legendFontSize>12</legendFontSize>
    <axisTitleFontSize>10</axisTitleFontSize>
    <tickLabelFontSize>10</tickLabelFontSize
    <subplot>
    	<color>beige</color>
    	<lineStyle>bar</lineStyle>
    	<timeSeriesSet>
    		<moduleInstanceId>CatchmentAveragePrecipitation</moduleInstanceId>
    		<valueType>scalar</valueType>
    		<parameterId>P.catchment</parameterId>
    		<locationSetId>CatAvg</locationSetId>
    		<timeSeriesType>external historical</timeSeriesType>
    		<timeStep unit="minute" multiplier="60"/>
    		<relativeViewPeriod unit="hour" start="-168" end="0" endOverrulable="true"/>
    		<readWriteMode>read only</readWriteMode>
    		</timeSeriesSet>