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
405
logrithmic chart
posted

hi guys

i want to know if  infragistic chart s suppor logrithmic chaling   or just linear  scaling.

any sample

regards.

Parents
  • 17605
    posted

    It supports. Try using this code:

     

       <igChart:XamWebChart x:Name="Chart1">

                <igChart:XamWebChart.Axes>

                    <igChart:Axis AxisType="PrimaryY"                             

                                  Logarithmic="True" >

                        <igChart:Axis.MinorGridline>

                            <igChart:GridlineGroup Unit="0.2" Stroke="Red"  />

                        </igChart:Axis.MinorGridline>

                    </igChart:Axis>

                </igChart:XamWebChart.Axes>

                <igChart:XamWebChart.Series>

                    <igChart:Series ChartType="Column">

                        <igChart:Series.DataPoints>

                            <igChart:DataPoint Value="500" />

                            <igChart:DataPoint Value="40" />

                            <igChart:DataPoint Value="30" />

                        </igChart:Series.DataPoints>

                    </igChart:Series>

                </igChart:XamWebChart.Series>

            </igChart:XamWebChart>

Reply Children