Class RangeAxisBase
The RangeAxisBase is the base class for all types of range axis.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public abstract class RangeAxisBase : ChartAxis, INotifyPropertyChanged
Constructors
RangeAxisBase()
Initializes a new instance of the RangeAxisBase class.
Declaration
public RangeAxisBase()
Fields
EdgeLabelsVisibilityModeProperty
The DependencyProperty for EdgeLabelsVisibilityMode property.
Declaration
public static readonly DependencyProperty EdgeLabelsVisibilityModeProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
MinorGridLineStyleProperty
The DependencyProperty for MinorGridLineStyle property.
Declaration
public static readonly DependencyProperty MinorGridLineStyleProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
MinorTickLineSizeProperty
The DependencyProperty for MinorTickLineSize property.
Declaration
public static readonly DependencyProperty MinorTickLineSizeProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
MinorTicksPerIntervalProperty
The DependencyProperty for MinorTicksPerInterval property.
Declaration
public static readonly DependencyProperty MinorTicksPerIntervalProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
MinorTickStyleProperty
The DependencyProperty for MinorTickStyle property.
Declaration
public static readonly DependencyProperty MinorTickStyleProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
ShowMinorGridLinesProperty
The DependencyProperty for ShowMinorGridLines property.
Declaration
public static readonly DependencyProperty ShowMinorGridLinesProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
EdgeLabelsVisibilityMode
Gets or sets the edge labels visibility mode for hiding the edge labels on zooming.
Declaration
public EdgeLabelsVisibilityMode EdgeLabelsVisibilityMode { get; set; }
Property Value
Type | Description |
---|---|
EdgeLabelsVisibilityMode | It accepts the EdgeLabelsVisibilityMode values and its default value is Default. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis EdgeLabelsVisibilityMode ="Visible" />
</chart:SfCartesianChart.XAxes>
</chart:SfCartesianChart>
MinorGridLineStyle
Gets or sets the style to customize the appearance of the minor grid lines.
Declaration
public Style MinorGridLineStyle { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Style | It accepts the Microsoft.UI.Xaml.Style value. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis MinorTicksPerInterval="2">
<chart:NumericalAxis.MinorGridLineStyle>
<Style TargetType = "Line" >
<Setter Property="StrokeThickness" Value="2"/>
<Setter Property = "Stroke" Value="Red" />
</Style>
</chart:NumericalAxis.MinorGridLineStyle>
</chart:NumericalAxis>
</chart:SfCartesianChart.XAxes>
<chart:SfCartesianChart.YAxes>
<chart:NumericalAxis/>
</chart:SfCartesianChart.YAxes>
</chart:SfCartesianChart>
MinorTickLineSize
Gets or sets a value to modify the minor tick line size.
Declaration
public double MinorTickLineSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts double values and its default value is 5. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis MinorTickLineSize="10" />
</chart:SfCartesianChart.XAxes>
</chart:SfCartesianChart>
MinorTicksPerInterval
Gets or sets the value that defines the number of minor tick/grid lines to be drawn between the adjacent major tick/grid lines.
Declaration
public int MinorTicksPerInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | It accepts the |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis MinorTicksPerInterval="3" />
</chart:SfCartesianChart.XAxes>
</chart:SfCartesianChart>
MinorTickStyle
Gets or sets the style to customize the appearance of the minor tick lines.
Declaration
public Style MinorTickStyle { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Style | It accepts the Microsoft.UI.Xaml.Style value. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis MinorTicksPerInterval="2">
<chart:NumericalAxis.MinorTickStyle>
<Style TargetType = "Line" >
<Setter Property="StrokeThickness" Value="2"/>
<Setter Property = "Stroke" Value="Red" />
</Style>
</chart:NumericalAxis.MinorTickStyle>
</chart:NumericalAxis>
</chart:SfCartesianChart.XAxes>
<chart:SfCartesianChart.YAxes>
<chart:NumericalAxis/>
</chart:SfCartesianChart.YAxes>
</chart:SfCartesianChart>
ShowMinorGridLines
Gets or sets a value indicating whether the axis minor grid lines can be displayed or not.
Declaration
public bool ShowMinorGridLines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | It accepts the bool value and its default value is |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:NumericalAxis ShowMinorGridLines = "False"
MinorTicksPerInterval="2" />
</chart:SfCartesianChart.XAxes>
</chart:SfCartesianChart>