Class SurfaceAxis
Class which represent the surface axis.
Inheritance
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class SurfaceAxis : Control
Constructors
SurfaceAxis()
Initializes a new instance of the SurfaceAxis class.
Declaration
public SurfaceAxis()
Fields
AxisLineStyleProperty
The DependencyProperty for AxisLineStyle property.
Declaration
public static readonly DependencyProperty AxisLineStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EdgeLabelsDrawingModeProperty
The DependencyProperty for EdgeLabelsDrawingMode property.
Declaration
public static readonly DependencyProperty EdgeLabelsDrawingModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GridLineStrokeProperty
The DependencyProperty for GridLineStroke property.
Declaration
public static readonly DependencyProperty GridLineStrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GridLineThicknessProperty
The DependencyProperty for GridLineThickness property.
Declaration
public static readonly DependencyProperty GridLineThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HeaderProperty
The DependencyProperty for Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HeaderTemplateProperty
The DependencyProperty for HeaderTemplate property.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IntervalProperty
The DependencyProperty for Interval property.
Declaration
public static readonly DependencyProperty IntervalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelFormatProperty
The DependencyProperty for LabelFormat property.
Declaration
public static readonly DependencyProperty LabelFormatProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelTemplateProperty
The DependencyProperty for LabelTemplate property.
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MajorTickLineStyleProperty
The DependencyProperty for MajorTickLineStyle property.
Declaration
public static readonly DependencyProperty MajorTickLineStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximumProperty
The DependencyProperty for Maximum property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaxPixelsCount
Declaration
protected double MaxPixelsCount
Field Value
Type |
---|
System.Double |
MinimumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinorTickLineStyleProperty
The DependencyProperty for MinorTickLineStyle property.
Declaration
public static readonly DependencyProperty MinorTickLineStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangePaddingProperty
The DependencyProperty for RangePadding property.
Declaration
public static readonly DependencyProperty RangePaddingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowGridLinesProperty
The DependencyProperty for ShowGridLines property.
Declaration
public static readonly DependencyProperty ShowGridLinesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SmallTicksPerIntervalProperty
The DependencyProperty for SmallTicksPerInterval property.
Declaration
public static readonly DependencyProperty SmallTicksPerIntervalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TickLineSizeProperty
The DependencyProperty for TickLineSize property.
Declaration
public static readonly DependencyProperty TickLineSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AxisLineStyle
Gets or sets style for axis line
Declaration
public Style AxisLineStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
EdgeLabelsDrawingMode
Get or sets the label drawing mode.
Declaration
public EdgeLabelsDrawingMode EdgeLabelsDrawingMode { get; set; }
Property Value
Type |
---|
EdgeLabelsDrawingMode |
GridLineStroke
Gets or sets brush for gridline
Declaration
public Brush GridLineStroke { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
GridLineThickness
Gets or sets thickness for gridline
Declaration
public double GridLineThickness { get; set; }
Property Value
Type |
---|
System.Double |
Header
Gets or sets header for surface axis
Declaration
public object Header { get; set; }
Property Value
Type |
---|
System.Object |
HeaderTemplate
Gets or sets header template for surface axis
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | System.Windows.DataTemplate |
Interval
Gets or sets interval for suface axis
Declaration
public Nullable<double> Interval { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
LabelFormat
Gets or sets axis label format for surface axis
Declaration
public string LabelFormat { get; set; }
Property Value
Type |
---|
System.String |
LabelTemplate
Gets or sets axis label template for surface axis
Declaration
public DataTemplate LabelTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | System.Windows.DataTemplate |
MajorTickLineStyle
Gets or sets major tick line style.
Declaration
public Style MajorTickLineStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
Maximum
Gets or sets Maximum property
Declaration
public Nullable<double> Maximum { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
Minimum
Gets or sets Minimum property
Declaration
public Nullable<double> Minimum { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
MinorTickLineStyle
Gets or sets minor tick line style.
Declaration
public Style MinorTickLineStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
RangePadding
This property used to shift the SurfaceAxis range inside or outside.
Declaration
public NumericalPadding RangePadding { get; set; }
Property Value
Type |
---|
NumericalPadding |
ShowGridLines
Gets or sets whether showing gridlines for surface axis
Declaration
public bool ShowGridLines { get; set; }
Property Value
Type |
---|
System.Boolean |
SmallTicksPerInterval
Gets or sets small tics per interval
Declaration
public int SmallTicksPerInterval { get; set; }
Property Value
Type |
---|
System.Int32 |
TickLineSize
Gets or sets size for tick line
Declaration
public double TickLineSize { get; set; }
Property Value
Type |
---|
System.Double |
VisibleLabels
Get visible labels for surface axis.
Declaration
public ObservableCollection<ChartAxisLabel> VisibleLabels { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<ChartAxisLabel> |
Methods
ApplyRangePadding(DoubleRange, Double, NumericalPadding)
Apply range padding
Declaration
protected virtual DoubleRange ApplyRangePadding(DoubleRange range, double interval, NumericalPadding rangePadding)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | range | |
System.Double | interval | |
NumericalPadding | rangePadding |
Returns
Type |
---|
DoubleRange |
CalculateNiceInterval(DoubleRange, Size)
Calculate the nice interval
Declaration
protected virtual double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
DoubleRange | actualRange | |
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Double |
GetActualDesiredIntervalsCount(Size)
Returns the maximum desired intervals count.
Declaration
protected double GetActualDesiredIntervalsCount(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Double |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()