Intersoft ClientUI Documentation
CategoryAxis Class
Members 



An axis that displays categories.
Object Model
CategoryAxis ClassAdditionalGridLineCollection ClassAdditionalGridLine ClassISFramework ClassStyleSelector ClassISeriesHost Interface
Syntax
<TemplatePartAttribute(Name="AxisTitle", Type=Intersoft.Client.UI.DataVisualization.Title)>
<StyleTypedPropertyAttribute(Property="GridLineStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.GridLine)>
<StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)>
<StyleTypedPropertyAttribute(Property="AxisLabelStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.AxisLabel)>
<TemplatePartAttribute(Name="AxisGrid", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="MajorTickMarkStyle", StyleTargetType=System.Windows.Shapes.Line)>
Public Class CategoryAxis 
   Inherits DisplayAxis
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IAxisICategoryAxisIDataConsumerIRequireSeriesHostIZoomPanelHost 
Dim instance As CategoryAxis
[TemplatePartAttribute(Name="AxisTitle", Type=Intersoft.Client.UI.DataVisualization.Title)]
[StyleTypedPropertyAttribute(Property="GridLineStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.GridLine)]
[StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)]
[StyleTypedPropertyAttribute(Property="AxisLabelStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.AxisLabel)]
[TemplatePartAttribute(Name="AxisGrid", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="MajorTickMarkStyle", StyleTargetType=System.Windows.Shapes.Line)]
public class CategoryAxis : DisplayAxis, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IAxisICategoryAxisIDataConsumerIRequireSeriesHostIZoomPanelHost  
[TemplatePartAttribute(Name="AxisTitle", Type=Intersoft.Client.UI.DataVisualization.Title)]
[StyleTypedPropertyAttribute(Property="GridLineStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.GridLine)]
[StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)]
[StyleTypedPropertyAttribute(Property="AxisLabelStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.AxisLabel)]
[TemplatePartAttribute(Name="AxisGrid", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="MajorTickMarkStyle", StyleTargetType=System.Windows.Shapes.Line)]
public ref class CategoryAxis : public DisplayAxis, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, IAxisICategoryAxisIDataConsumerIRequireSeriesHostIZoomPanelHost  
Remarks

CategoryAxis displays text labels instead of numerical intervals, CategoryAxis lets charts represent data grouped by a set of discrete values along an axis. You typically use the CategoryAxis  to define a set of labels that appear along an axis of a chart.

When using CategoryAxis  you can sort its category whether descending or ascending. You can also set the Title of CategoryAxis .

Example
XAML
Copy Code
<Intersoft:UXChart>
    <Intersoft:UXChart.Series>
        <Intersoft:ColumnSeries Title="Medals"
                                ItemsSource="{Binding DataSource}"
                                IndependentValueBinding="{Binding Country}"
                                DependentValueBinding="{Binding MedalCount}" >
            <Intersoft:ColumnSeries.IndependentAxis>
                <Intersoft:CategoryAxis Location="Bottom" Orientation="X" SortOrder="Ascending" />
            </Intersoft:ColumnSeries.IndependentAxis>
        </Intersoft:ColumnSeries>
    </Intersoft:UXChart.Series>
</Intersoft:UXChart>                      
                
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Intersoft.Client.Framework.ISControl
                  Intersoft.Client.UI.DataVisualization.Axis
                     Intersoft.Client.UI.DataVisualization.DisplayAxis
                        Intersoft.Client.UI.DataVisualization.CategoryAxis

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CategoryAxis Members
Intersoft.Client.UI.DataVisualization Namespace

Send Feedback