Next
Update
Prev
Default

If you have multiple Y-axes and multiple lines ( or ranges ), then you will want to set a specific axis to a specific line ( or range ). You can set the specific axis to the line ( or range ) by setting the axis attribute ( e.g. axis="{vAxis2}" ).

...
  <Stroke id="stroke1" color="0xFF0000" weight="1"/>
  <Stroke id="stroke2" color="0x0000FF" weight="1"/>
...  
  <backgroundElements>
    <GridLines/>
    <AxisMarker>
      <lines>
        <AxisLine value="400" stroke="{stroke1}" ... />
        <AxisLine value="400" stroke="{stroke2}" axis="{vAxis2}" ... />
      </lines>
      <ranges>
        <AxisRange startValue="1200" endValue="1400" ... >
          <fill>
            <SolidColor color="#fbe7f0">
          </fill>
        </AxisRange>
        <AxisRange startValue="1200" endValue="1400" ... >
          <fill>
            <SolidColor color="#cde9f1">
          </fill>
        </AxisRange>
      </ranges>
    </AxisMarker>                  
  </backgroundElements>
...

© 2017 KoolChart. All rights reserved.