Class LinearGauge
Represents the LinearGauge UI element.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class LinearGauge : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
LinearGauge()
Declaration
public LinearGauge()
Properties
AnimationSpeed
Gets or sets the animation speed.
Declaration
public int AnimationSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The animation speed. |
BackgroundColor
Gets or sets the color of the background.
Declaration
public string BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color of the background. |
BorderColor
Declaration
public string BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Create
Gets or sets the create.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String | The create. |
Destroy
Gets or sets the destroy.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The destroy. |
DoubleClick
Gets or sets the double click LinearGauge event handler of gauge in client-side.
Declaration
[JsonProperty("doubleClick")]
public string DoubleClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The double click event. |
DrawBarPointers
Gets or sets the draw bar pointers LinearGauge occurs the bar pointer are being drawn.
Declaration
[JsonProperty("drawBarPointers")]
public string DrawBarPointers { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw bar pointers. |
DrawCustomLabel
Gets or sets the draw custom label LinearGauge occurs the custom label are being drawn.
Declaration
[JsonProperty("drawCustomLabel")]
public string DrawCustomLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw custom label. |
DrawIndicators
Gets or sets the draw indicators LinearGauge occurs the indicators are being drawn.
Declaration
[JsonProperty("drawIndicators")]
public string DrawIndicators { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw indicators. |
DrawLabels
Gets or sets the draw labels.
Declaration
[JsonProperty("drawLabels")]
public string DrawLabels { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw labels. |
DrawMarkerPointers
Gets or sets the draw marker pointers LinearGauge occurs the marker are being drawn.
Declaration
[JsonProperty("drawMarkerPointers")]
public string DrawMarkerPointers { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw marker pointers. |
DrawRange
Gets or sets the draw range LinearGauge occurs the range are being drawn.
Declaration
[JsonProperty("drawRange")]
public string DrawRange { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw range. |
DrawTicks
Gets or sets the draw ticks.
Declaration
[JsonProperty("drawTicks")]
public string DrawTicks { get; set; }
Property Value
Type | Description |
---|---|
System.String | The draw ticks. |
EnableAnimation
Gets or sets a value indicating whether [enable animation].
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableMarkerPointerAnimation
Gets or sets a value indicating whether [enable marker pointer animation].
Declaration
public bool EnableMarkerPointerAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableResize
Gets or sets a value indicating whether [enable resize].
Declaration
public bool EnableResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ExportSettings
Declaration
[JsonProperty("exportSettings")]
public LinearGaugeExportSettings ExportSettings { get; }
Property Value
Type | Description |
---|---|
LinearGaugeExportSettings |
Frame
Gets the frame.
Declaration
public LinearFrame Frame { get; }
Property Value
Type | Description |
---|---|
LinearFrame | The frame. |
Height
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Init
Gets or sets the initialize LinearGauge occurs the gauge is initialized.
Declaration
[JsonProperty("init")]
public string Init { get; set; }
Property Value
Type | Description |
---|---|
System.String | The initialize. |
IsResponsive
Gets or sets a value indicating whether [isResponsive].
Declaration
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LabelColor
Gets or sets the color of the label.
Declaration
public string LabelColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color of the label. |
Load
Gets or sets the load LinearGauge occurs the gauge start to load.
Declaration
[JsonProperty("load")]
public string Load { get; set; }
Property Value
Type | Description |
---|---|
System.String | The load. |
Maximum
Gets or sets the maximum scale value.
Declaration
public double Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The maximum. |
Minimum
Gets or sets the minimum scale value.
Declaration
public double Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The minimum. |
Model
Declaration
[JsonIgnore]
public LinearGaugeProperties Model { get; set; }
Property Value
Type | Description |
---|---|
LinearGaugeProperties |
MouseClick
Gets or sets the click LinearGauge event handler of gauge in client-side.
Declaration
[JsonProperty("mouseClick")]
public string MouseClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The click event. |
Orientation
Gets or sets the orientation.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
OuterCustomLabelPosition
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public OuterCustomLabelPosition OuterCustomLabelPosition { get; set; }
Property Value
Type | Description |
---|---|
OuterCustomLabelPosition |
PointerGradient1
Gets the pointer gradient1.
Declaration
public List<PointerGradient1> PointerGradient1 { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PointerGradient1> | The pointer gradient1. |
PointerGradient2
Gets the pointer gradient2.
Declaration
public List<PointerGradient2> PointerGradient2 { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PointerGradient2> | The pointer gradient2. |
ReadOnly
Gets or sets a value indicating whether [read only].
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RenderComplete
Gets or sets the render complete LinearGauge occurs the rendering of the gauge completed.
Declaration
[JsonProperty("renderComplete")]
public string RenderComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String | The render complete. |
RightClick
Gets or sets the right click LinearGauge event handler of gauge in client-side.
Declaration
[JsonProperty("rightClick")]
public string RightClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The right click event. |
Scales
Gets the scales.
Declaration
public List<Scales> Scales { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Scales> | The scales. |
Themes
Gets or sets the themes.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public Themes Themes { get; set; }
Property Value
Type | Description |
---|---|
Themes | The themes. |
TickColor
Gets or sets the color of the tick.
Declaration
public string TickColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color of the tick. |
Tooltip
Gets the tooltip.
Declaration
public LinearTooltip Tooltip { get; }
Property Value
Type | Description |
---|---|
LinearTooltip | The tooltip. |
Value
Gets or sets the pointer value.
Declaration
public double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The value. |
Width
gets or sets of the linear gauge width
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width. |
Methods
DependentScripts()
Declaration
public List<string> DependentScripts()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
GetDependentFiles()
Declaration
public override List<string> GetDependentFiles()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
LoadViewState(Object)
Declaration
protected override void LoadViewState(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
Overrides
OnInit(EventArgs)
Raises the System.Web.UI.Control.Init event.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains the event data. |
Overrides
OnLoad(EventArgs)
Raises the Load event.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.EventArgs instance containing the event data. |
Overrides
OnPreRender(EventArgs)
Raises the PreRender event.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.EventArgs instance containing the event data. |
PostBackEventHandler(String, Dictionary<String, Object>)
Handling properties state maintenance while postback.
Declaration
public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
Parameters
Type | Name | Description |
---|---|---|
System.String | EventName | Name of the event. |
System.Collections.Generic.Dictionary<System.String, System.Object> | args | The arguments. |
Overrides
Render(HtmlTextWriter)
Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer | The System.Web.UI.HtmlTextWriter object that receives the server control content. |
Overrides
UpdateServerModel(Dictionary<String, Object>)
Updates the server model.
Declaration
public override void UpdateServerModel(Dictionary<string, object> ClientModel)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | ClientModel | The client model. |
Overrides
Events
MouseUp
Declaration
public event LinearGauge.LinearGaugeEventHandler MouseUp
Event Type
Type | Description |
---|---|
LinearGauge.LinearGaugeEventHandler |