Class NumericalAxis3D
Class implementation for RangeAxisBase3D
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class NumericalAxis3D : RangeAxisBase3D, ICloneable, IRangeAxis
Constructors
NumericalAxis3D()
Declaration
public NumericalAxis3D()
Fields
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximumProperty
The DependencyProperty for Maximum property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinimumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangePaddingProperty
The DependencyProperty for RangePadding property.
Declaration
public static readonly DependencyProperty RangePaddingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StartRangeFromZeroProperty
The DependencyProperty for StartRangeFromZero property.
Declaration
public static readonly DependencyProperty StartRangeFromZeroProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Interval
Gets or sets a value that determines the interval between labels. Its null-able. If this property is not set, interval will be calculated automatically.
Declaration
public Nullable<double> Interval { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
Maximum
Gets or sets the maximum value for the axis range. This is null-able property.
Declaration
public Nullable<double> Maximum { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
Remarks
If we didn't set the maximum value, it will be calculate from the underlying collection.
Minimum
Gets or sets the minimum value for the axis range. This is null-able property.
Declaration
public Nullable<double> Minimum { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
Remarks
If we didn't set the minimum value, it will be calculate from the underlying collection.
RangePadding
Gets or sets property used to shift the numeric range inside or outside.
Declaration
public NumericalPadding RangePadding { get; set; }
Property Value
Type | Description |
---|---|
NumericalPadding |
|
StartRangeFromZero
Gets or sets a value indicating whether to start range from zero when range calculated automatically.
Declaration
public bool StartRangeFromZero { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
ApplyRangePadding(DoubleRange, Double)
Apply padding based on interval
Declaration
protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | range | The Range |
System.Double | interval | The Interval |
Returns
Type | Description |
---|---|
DoubleRange | Returns the padded range. |
Overrides
CalculateActualInterval(DoubleRange, Size)
Calculates actual interval.
Declaration
protected override double CalculateActualInterval(DoubleRange range, Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | range | The Range |
System.Windows.Size | availableSize | The Available Size |
Returns
Type | Description |
---|---|
System.Double | Returns the actual interval. |
Overrides
CalculateActualRange()
Calculates actual range
Declaration
protected override DoubleRange CalculateActualRange()
Returns
Type | Description |
---|---|
DoubleRange | Returns the calculated actual range. |
Overrides
CloneAxis(DependencyObject)
Clones the NumericalAxis3D.
Declaration
protected override DependencyObject CloneAxis(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The Object |
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | Returns the cloned axis. |
Overrides
GenerateVisibleLabels()
Method implementation for Generate Labels in ChartAxis
Declaration
protected override void GenerateVisibleLabels()
Overrides
OnIntervalChanged(DependencyPropertyChangedEventArgs)
Called when interval changed
Declaration
protected virtual void OnIntervalChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The Event Arguments |
OnMaximumChanged(DependencyPropertyChangedEventArgs)
Called when Maximum property changed
Declaration
protected virtual void OnMaximumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The Event Argument |
OnMinimumChanged(DependencyPropertyChangedEventArgs)
Called when Minimum property changed
Declaration
protected virtual void OnMinimumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The Event Arguments |