Class LinearGaugePropertiesBuilder
Class for linear gauge properties builder.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class LinearGaugePropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
LinearGaugePropertiesBuilder()
Initializes a new instance of the LinearGaugePropertiesBuilder class.
Declaration
public LinearGaugePropertiesBuilder()
LinearGaugePropertiesBuilder(LinearGauge)
/// Initializes a new instance of the LinearGaugePropertiesBuilder class.
Declaration
public LinearGaugePropertiesBuilder(LinearGauge linearGauge)
Parameters
Type | Name | Description |
---|---|---|
LinearGauge | linearGauge | The linear gauge |
Fields
linearGauge
Declaration
public LinearGauge linearGauge
Field Value
Type | Description |
---|---|
LinearGauge |
Methods
AnimationSpeed(Int32)
Animations the speed.
Declaration
public LinearGaugePropertiesBuilder AnimationSpeed(int animationSpeed)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | animationSpeed | The animation speed. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
BackgroundColor(String)
Backgrounds the color.
Declaration
public LinearGaugePropertiesBuilder BackgroundColor(string backgroundColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | backgroundColor | Color of the background. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
BorderColor(String)
Borders the color.
Declaration
public LinearGaugePropertiesBuilder BorderColor(string borderColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | borderColor | Color of the border. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
ClientSideEvents(Action<LinearGaugeClientSideEventsBuilder>)
Clients the side events.
Declaration
public LinearGaugePropertiesBuilder ClientSideEvents(Action<LinearGaugeClientSideEventsBuilder> clientSideEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearGaugeClientSideEventsBuilder> | clientSideEvents | The client side events. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
EnableAnimation()
Enables the animation.
Declaration
public LinearGaugePropertiesBuilder EnableAnimation()
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
EnableAnimation(Boolean)
Enables the animation.
Declaration
public LinearGaugePropertiesBuilder EnableAnimation(bool enableAnimation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableAnimation | if set to |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
EnableMarkerPointerAnimation()
Enables the marker pointer animation.
Declaration
public LinearGaugePropertiesBuilder EnableMarkerPointerAnimation()
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
EnableMarkerPointerAnimation(Boolean)
Enables the marker pointer animation.
Declaration
public LinearGaugePropertiesBuilder EnableMarkerPointerAnimation(bool enableMarkerPointerAnimation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableMarkerPointerAnimation | if set to |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
EnableResize(Boolean)
Enables the resize.
Declaration
public LinearGaugePropertiesBuilder EnableResize(bool enableResize)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableResize | if set to |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
ExportSettings(Action<LinearGaugeExportSettingsBuilder>)
Export settings builder.
Declaration
public LinearGaugePropertiesBuilder ExportSettings(Action<LinearGaugeExportSettingsBuilder> exportSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearGaugeExportSettingsBuilder> | exportSettings | The settings for exporting the circular gauge. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Frame(Action<LinearFrameBuilder>)
Frames the specified frame.
Declaration
public LinearGaugePropertiesBuilder Frame(Action<LinearFrameBuilder> frame)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearFrameBuilder> | frame | The frame. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Height(Double)
Heights the specified height.
Declaration
public LinearGaugePropertiesBuilder Height(double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | height | The height. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
IsResponsive(Boolean)
isResponsive.
Declaration
public LinearGaugePropertiesBuilder IsResponsive(bool isResponsive)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isResponsive | if set to |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
LabelColor(String)
Labels the color.
Declaration
public LinearGaugePropertiesBuilder LabelColor(string labelColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | labelColor | Color of the label. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Maximum(Double)
Maximums the specified maximum.
Declaration
public LinearGaugePropertiesBuilder Maximum(double maximum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maximum | The maximum. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Minimum(Double)
Minimums the specified minimum.
Declaration
public LinearGaugePropertiesBuilder Minimum(double minimum)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minimum | The minimum. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Orientation(Orientation)
Orientations the specified orientation.
Declaration
public LinearGaugePropertiesBuilder Orientation(Orientation orientation)
Parameters
Type | Name | Description |
---|---|---|
Orientation | orientation | The orientation. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
OuterCustomLabelPosition(OuterCustomLabelPosition)
Outers the custom label position.
Declaration
public LinearGaugePropertiesBuilder OuterCustomLabelPosition(OuterCustomLabelPosition outerCustomLabelPosition)
Parameters
Type | Name | Description |
---|---|---|
OuterCustomLabelPosition | outerCustomLabelPosition | The outer custom label position. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
PointerGradient1(Action<PointerGradient1Builder>)
Pointers the gradient1.
Declaration
public LinearGaugePropertiesBuilder PointerGradient1(Action<PointerGradient1Builder> pointergradient1)
Parameters
Type | Name | Description |
---|---|---|
System.Action<PointerGradient1Builder> | pointergradient1 | The pointergradient1. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
PointerGradient2(Action<PointerGradient2Builder>)
Pointers the gradient2.
Declaration
public LinearGaugePropertiesBuilder PointerGradient2(Action<PointerGradient2Builder> pointergradient2)
Parameters
Type | Name | Description |
---|---|---|
System.Action<PointerGradient2Builder> | pointergradient2 | The pointergradient2. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
ReadOnly()
Reads the only.
Declaration
public LinearGaugePropertiesBuilder ReadOnly()
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
ReadOnly(Boolean)
Reads the only.
Declaration
public LinearGaugePropertiesBuilder ReadOnly(bool readOnly)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | readOnly | if set to |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Render()
Renders this instance.
Declaration
public void Render()
Scales(Action<ScalesPropertiesBuilder>)
Scaleses the specified scale.
Declaration
public LinearGaugePropertiesBuilder Scales(Action<ScalesPropertiesBuilder> scale)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ScalesPropertiesBuilder> | scale | The scale. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Theme(Themes)
Themes the specified theme.
Declaration
public LinearGaugePropertiesBuilder Theme(Themes theme)
Parameters
Type | Name | Description |
---|---|---|
Themes | theme | The theme. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
TickColor(String)
Ticks the color.
Declaration
public LinearGaugePropertiesBuilder TickColor(string tickColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | tickColor | Color of the tick. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
ToHtmlString()
Returns an HTML-encoded string.
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String | An HTML-encoded string. |
Tooltip(Action<LinearTooltipBuilder>)
Tooltips the specified tooltip.
Declaration
public LinearGaugePropertiesBuilder Tooltip(Action<LinearTooltipBuilder> tooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearTooltipBuilder> | tooltip | The tooltip. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Value(Double)
Values the specified value.
Declaration
public LinearGaugePropertiesBuilder Value(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The value. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |
Width(Double)
Widthes the specified width.
Declaration
public LinearGaugePropertiesBuilder Width(double width)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | The width. |
Returns
Type | Description |
---|---|
LinearGaugePropertiesBuilder |