Class ScalesPropertiesBuilder
Class for scales properties builder.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class ScalesPropertiesBuilder
Constructors
ScalesPropertiesBuilder()
Initializes a new instance of the ScalesPropertiesBuilder class.
Declaration
public ScalesPropertiesBuilder()
ScalesPropertiesBuilder(LinearGauge)
Initializes a new instance of the ScalesPropertiesBuilder class to indicate the scale value.
Declaration
public ScalesPropertiesBuilder(LinearGauge scales)
Parameters
Type | Name | Description |
---|---|---|
LinearGauge | scales | The scales. |
Methods
Add()
Adds this instance.
Declaration
public void Add()
BackgroundColor(String)
Backgrounds the color.
Declaration
public ScalesPropertiesBuilder BackgroundColor(string backgroundColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | backgroundColor | Color of the background. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
BarPointers(Action<BarPointerBuilder>)
Bars the pointers.
Declaration
public ScalesPropertiesBuilder BarPointers(Action<BarPointerBuilder> barPointers)
Parameters
Type | Name | Description |
---|---|---|
System.Action<BarPointerBuilder> | barPointers | The bar pointers. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Border(Action<LinearBorderBuilder>)
Borders the specified border.
Declaration
public ScalesPropertiesBuilder Border(Action<LinearBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearBorderBuilder> | border | The border. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
CustomLabels(Action<CustomLabelBuilder>)
Customs the labels.
Declaration
public ScalesPropertiesBuilder CustomLabels(Action<CustomLabelBuilder> customLabel)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CustomLabelBuilder> | customLabel | The custom label. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Direction(Directions)
Directions the specified direction.
Declaration
public ScalesPropertiesBuilder Direction(Directions direction)
Parameters
Type | Name | Description |
---|---|---|
Directions | direction | The direction. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Indicators(Action<IndicatorBuilder>)
Indicatorses the specified indicators.
Declaration
public ScalesPropertiesBuilder Indicators(Action<IndicatorBuilder> indicators)
Parameters
Type | Name | Description |
---|---|---|
System.Action<IndicatorBuilder> | indicators | The indicators. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Labels(Action<LabelsBuilder>)
Labelses the specified labels.
Declaration
public ScalesPropertiesBuilder Labels(Action<LabelsBuilder> labels)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LabelsBuilder> | labels | The labels. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Length(Double)
Lengthes the specified length.
Declaration
public ScalesPropertiesBuilder Length(double length)
Parameters
Type | Name | Description |
---|---|---|
System.Double | length | The length. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
MajorIntervalValue(Double)
Majors the interval value.
Declaration
public ScalesPropertiesBuilder MajorIntervalValue(double majorIntervalValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | majorIntervalValue | The major interval value. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
MarkerPointers(Action<MarkerPointerBuilder>)
Markers the pointers.
Declaration
public ScalesPropertiesBuilder MarkerPointers(Action<MarkerPointerBuilder> markerPointers)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MarkerPointerBuilder> | markerPointers | The marker pointers. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Maximum(Double)
Maximums the specified maximum.
Declaration
public ScalesPropertiesBuilder Maximum(double maximum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maximum | The maximum. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Minimum(Double)
Minimums the specified minimum.
Declaration
public ScalesPropertiesBuilder Minimum(double minimum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minimum | The minimum. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
MinorIntervalValue(Double)
Minors the interval value.
Declaration
public ScalesPropertiesBuilder MinorIntervalValue(double minorIntervalValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minorIntervalValue | The minor interval value. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Opacity(Double)
Opacities the specified opacity.
Declaration
public ScalesPropertiesBuilder Opacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity | The opacity. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Position(Action<LinearPositionBuilder>)
Positions the specified position.
Declaration
public ScalesPropertiesBuilder Position(Action<LinearPositionBuilder> position)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearPositionBuilder> | position | The position. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Ranges(Action<RangesBuilder>)
Rangeses the specified ranges.
Declaration
public ScalesPropertiesBuilder Ranges(Action<RangesBuilder> ranges)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RangesBuilder> | ranges | The ranges. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShadowOffset(Double)
Shadows the offset.
Declaration
public ScalesPropertiesBuilder ShadowOffset(double shadowOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Double | shadowOffset | The shadow offset. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowBarPointers()
Shows the bar pointers.
Declaration
public ScalesPropertiesBuilder ShowBarPointers()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowBarPointers(Boolean)
Shows the bar pointers.
Declaration
public ScalesPropertiesBuilder ShowBarPointers(bool showBarPointers)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showBarPointers | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowCustomLabels()
Shows the custom labels.
Declaration
public ScalesPropertiesBuilder ShowCustomLabels()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowCustomLabels(Boolean)
Shows the custom labels.
Declaration
public ScalesPropertiesBuilder ShowCustomLabels(bool showCustomLabels)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showCustomLabels | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowIndicators()
Shows the indicators.
Declaration
public ScalesPropertiesBuilder ShowIndicators()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowIndicators(Boolean)
Shows the indicators.
Declaration
public ScalesPropertiesBuilder ShowIndicators(bool showIndicators)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showIndicators | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowLabels()
Shows the labels.
Declaration
public ScalesPropertiesBuilder ShowLabels()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowLabels(Boolean)
Shows the labels.
Declaration
public ScalesPropertiesBuilder ShowLabels(bool showLabels)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showLabels | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowMarkerPointers()
Shows the marker pointers.
Declaration
public ScalesPropertiesBuilder ShowMarkerPointers()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowMarkerPointers(Boolean)
Shows the marker pointers.
Declaration
public ScalesPropertiesBuilder ShowMarkerPointers(bool showMarkerPointers)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showMarkerPointers | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowRanges()
Shows the ranges.
Declaration
public ScalesPropertiesBuilder ShowRanges()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowRanges(Boolean)
Shows the ranges.
Declaration
public ScalesPropertiesBuilder ShowRanges(bool showRanges)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showRanges | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowTicks()
Shows the ticks.
Declaration
public ScalesPropertiesBuilder ShowTicks()
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
ShowTicks(Boolean)
Shows the ticks.
Declaration
public ScalesPropertiesBuilder ShowTicks(bool showTicks)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showTicks | if set to |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Ticks(Action<LinearTicksBuilder>)
Tickses the specified ticks.
Declaration
public ScalesPropertiesBuilder Ticks(Action<LinearTicksBuilder> ticks)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearTicksBuilder> | ticks | The ticks. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Type(ScaleType)
Types the specified type.
Declaration
public ScalesPropertiesBuilder Type(ScaleType type)
Parameters
Type | Name | Description |
---|---|---|
ScaleType | type | The type. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |
Width(Double)
Widthes the specified width.
Declaration
public ScalesPropertiesBuilder Width(double width)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | The width. |
Returns
Type | Description |
---|---|
ScalesPropertiesBuilder |