Class LinearGaugeTickSettings
Defines the tick line settings of an axis in linear gauge component.
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeTickSettings : OwningComponentBase
Constructors
LinearGaugeTickSettings()
Declaration
public LinearGaugeTickSettings()
Properties
Color
Gets or sets the color of the tick line. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color of the tick line. |
Remarks
Use standard CSS color formats like hex code, rgba, etc., to specify the color of the tick line.
DashArray
Gets or sets the dash-array for the ticks in linear gauge component.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string defining the dash pattern of the tick lines, as used in SVG stroke-dasharray property. The default value is "0". |
Remarks
The dash-array property allows creating dashed or dotted lines along the ticks.
Height
Gets or sets the height of the ticks in linear gauge component.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the height of the tick lines. The default value is -1. |
Remarks
This property controls the vertical size of the ticks, which can affect the overall appearance of the gauge.
Interval
Gets or sets the interval between the tick lines in linear gauge component.
Declaration
public double Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value indicating the interval between each tick. |
Remarks
The interval property is used to define the space between consecutive tick marks on the axis.
Offset
Gets or sets the distance of the ticks from axis in linear gauge component.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value that sets the offset distance of the ticks from the main axis line. |
Remarks
This property is useful for positioning the ticks at a specific distance from the axis, customly fine-tuning the gauge layout.
Position
Gets or sets the position of the ticks in linear gauge component.
Declaration
public Position Position { get; set; }
Property Value
Type | Description |
---|---|
Position | A Position enum value specifying the position of the ticks. The default is Auto. |
Remarks
The position of ticks can be customized depending on the design needs, and can range from inside, outside, or automatically adjusted.
Width
Gets or sets the width of the ticks in linear gauge component.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value denoting the width of tick lines. The default value is -1. |
Remarks
Manipulating this property changes the thickness of each tick line, affecting the visual weight of ticks.
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |