ComponentOne Chart for WPF and Silverlight
Chart for WPF and Silverlight / Chart Types / Special Chart Types and Combination Charts / Creating a Pareto Chart
In This Topic
    Creating a Pareto Chart
    In This Topic

    A Pareto chart highlights the most important factors in a large set of data.

    To create a Pareto chart, use the following XAML markup:

    XAML
    Copy Code
    <c1chart:C1Chart Name="c1Chart1">
       <c1chart:C1Chart.View>
         <c1chart:ChartView>
           <c1chart:ChartView.AxisX>
             <c1chart:Axis AnnoAngle="-75" MajorGridStroke="Gray"/>
           </c1chart:ChartView.AxisX>
           <!-- Standard(default) left y-axis -->
           <c1chart:ChartView.AxisY>
             <c1chart:Axis Min="0" Max="50" Title="Frequency"
    MajorGridStroke="Gray"/>
           </c1chart:ChartView.AxisY>
           <!-- Auxiliary(right) y-axis -->
           <c1chart:Axis Name="ay2" AxisType="Y" Position="Far" AnnoFormat="p"
               Min="0" Max="1" />
         </c1chart:ChartView>
       </c1chart:C1Chart.View>
       <c1chart:C1Chart.Data>
         <c1chart:ChartData>
           <c1chart:ChartData.ItemNames>Documents Quality Packaging Delivery Other</c1chart:ChartData.ItemNames>
           <c1chart:DataSeries Values="40 30 20 5 5" />
           <c1chart:DataSeries AxisY="ay2" Values="0.4 0.7 0.9 0.95 1.0"
    ChartType="LineSymbols" />
         </c1chart:ChartData>
       </c1chart:C1Chart.Data>
    </c1chart:C1Chart>
    
    See Also