Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use elements leftAxis and rightAxis to confiure the axes separately. If the rightAxis is configured, the leftAxis must be configured too.
If the optional attributes min and max are not configured, then subplot attributes min and max are used.

Note that the graphs of the left axis are always plotted on top of the graphs of the right axis, no matter the order of the timeseries in the configuration

An example:

Code Block
languagexml
titleleftAxis, rightAxis example (click to expand)
linenumberstrue
collapsetrue
<subplot> 
       <leftAxis min="-10" max="100"/>
		<axisLabel>Label left axis</axisLabel> 
   		<lowerMarginPercentage>10</lowerMarginPercentage>
   		<upperMarginPercentage>20</upperMarginPercentage>
	</leftAxis>	
			
    <rightAxis min="20" max="50"/>
		<axisLabel>Label right axis</axisLabel> 
   		<lowerMarginPercentage>5</lowerMarginPercentage>
   		<upperMarginPercentage>5</upperMarginPercentage>
	</rightAxis>	
.....

...