Class LogarithmicAxis3D
Class implementation for LogarithmicAxis3D
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class LogarithmicAxis3D : RangeAxisBase3D, ICloneable, IRangeAxis
Constructors
LogarithmicAxis3D()
Initializes a new instance of the LogarithmicAxis3D class.
Declaration
public LogarithmicAxis3D()
Fields
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LogarithmicBaseProperty
The DependencyProperty for LogarithmicBase property.
Declaration
public static readonly DependencyProperty LogarithmicBaseProperty
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 |
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> |
LogarithmicBase
Gets or sets the base for the LogarithmicAxis3D
.
Declaration
public double LogarithmicBase { get; set; }
Property Value
Type | Description |
---|---|
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.
Methods
AddSmallTicksPoint(Double, Double)
Method implementation for Add SmallTicks for axis
Declaration
protected override void AddSmallTicksPoint(double position, double logarithmicBase)
Parameters
Type | Name | Description |
---|---|---|
System.Double | position | The Position |
System.Double | logarithmicBase | The Logarithmic Base |
Overrides
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 calculated actual range. |
Overrides
CalculateActualRange()
Calculates actual range.
Declaration
protected override DoubleRange CalculateActualRange()
Returns
Type | Description |
---|---|
DoubleRange | Returns the calculated range. |
Overrides
CalculateNiceInterval(DoubleRange, Size)
Calculates nice interval.
Declaration
protected override double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | actualRange | The Actual Range |
System.Windows.Size | availableSize | The Available Range |
Returns
Type | Description |
---|---|
System.Double | Returns the calculated nice interval. |
Overrides
CloneAxis(DependencyObject)
Clones the logarithmic axis.
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
CoefficientToValue(Double)
Converts co-ordinate of point related to chart control to axis units.
Declaration
public override double CoefficientToValue(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The absolute point value. |
Returns
Type | Description |
---|---|
System.Double | The value of point on axis. |
Overrides
See Also
GenerateVisibleLabels()
Method implementation for Generate Labels in ChartAxis
Declaration
protected override void GenerateVisibleLabels()
Overrides
GetLabelContent(Double)
Return the object Value from the given double value.
Declaration
public override object GetLabelContent(double position)
Parameters
Type | Name | Description |
---|---|---|
System.Double | position | The Position |
Returns
Type | Description |
---|---|
System.Object | Returns the label content. |
Overrides
OnIntervalChanged(DependencyPropertyChangedEventArgs)
Called when Interval changed
Declaration
protected virtual void OnIntervalChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The Event Argument |
OnMaximumChanged(DependencyPropertyChangedEventArgs)
Called when maximum changed
Declaration
protected virtual void OnMaximumChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The Event Arguments |
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 |