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
200
Pareto Chart
posted

Hi,

I can't see that the pareto chart is part of the availible styles in xamWebChart, is this in the pipeline for a future release?

Or is there a workaround that can produce the pareto style? In either DV or LOB..

Kind regards

Henrik

  • 1765
    posted

    Hi Henrik,

     

    You can try to combine two series types - Column and Line. The code could be something like this:

            <igChart:XamWebChart Grid.Row="0" Width="300" Height="300" x:Name="myChart">
                <igChart:XamWebChart.Series>
                    <igChart:Series ChartType="Column">
                        <igChart:Series.DataPoints>
                            <igChart:DataPoint Value="5"/>
                            <igChart:DataPoint Value="8"/>
                        </igChart:Series.DataPoints>
                    </igChart:Series>
                    <igChart:Series ChartType="Line">
                        <igChart:Series.DataPoints>
                            <igChart:DataPoint Value="9"/>
                            <igChart:DataPoint Value="3"/>
                            <igChart:DataPoint Value="15"/>
                        </igChart:Series.DataPoints>
                    </igChart:Series>
                </igChart:XamWebChart.Series>
            </igChart:XamWebChart>

    The DataPoints could be added from the code behind, so you can provide any custom logic.

     

    Best Regards,

    Anatoli Iliev