Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
Mutliple Y-Axis
posted

Hi,

   How to add multiple Y-Axis to the XamWebChart and how to assign the values for the same ?

Thanks,

vijay

Parents
No Data
Reply
  • 28496
    Suggested Answer
    Offline posted

            <igChart:XamWebChart>
                <igChart:XamWebChart.Series>
                    <igChart:Series AxisY="y1" ChartType="Line">
                        <igChart:Series.DataPoints>
                            <igChart:DataPoint Value="1" />
                            <igChart:DataPoint Value="2" />
                        </igChart:Series.DataPoints>
                    </igChart:Series>
                    <igChart:Series AxisY="y2" ChartType="Line">
                        <igChart:Series.DataPoints>
                            <igChart:DataPoint Value="1000" />
                            <igChart:DataPoint Value="1500" />
                        </igChart:Series.DataPoints>
                    </igChart:Series>
                </igChart:XamWebChart.Series>
                <igChart:XamWebChart.Axes>
                    <igChart:Axis AxisType="PrimaryY" Name="y1" AutoRange="False" Minimum="0" Maximum="3" Unit="1" />
                    <igChart:Axis AxisType="SecondaryY" Name="y2" AutoRange="False" Minimum="0" Maximum="2000" Unit="1000" />
                </igChart:XamWebChart.Axes>
            </igChart:XamWebChart>

Children
No Data