Represents the Angular Linear Gauge Component. This tag is used to customize the properties of the linear gauge to visualize the data in linear scale.
<ej-lineargauge></ej-lineargauge>
boolean
Enables or disables the export to image functionality in linear gauge.
Defaults to false
boolean
Enables or disables the ability of the gauge to be rendered to the complete width. The left, right, top and bottom spacing will not be considered in the gauge when this property is disabled.
Defaults to true
boolean
Enables or disables the export to PDF functionality in linear gauge.
Defaults to false
boolean
Enables or disables the print functionality in linear gauge.
Defaults to false
number
Defines the duration of the loading animation in linear gauge, which animates the axis line, ticks, axis labels, ranges, pointers, and annotations. The value of this property will be in milliseconds.
Defaults to 0
Specifies the options for customizing the annotation of linear gauge.
Specifies the options for customizing the axis in linear gauge.
string
Specifies the background color of the gauge. This property accepts value in hex code, rgba string as a valid CSS color string.
Defaults to ‘transparent’
Specifies the options for customizing the style properties of the border for linear gauge.
Specifies the options for customizing the container in linear gauge.
string
Sets and gets the information about gauge for assistive technology.
Defaults to null
Specifies the placement of the label in linear gauge.
Defaults to None
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
string
Specifies the format to apply for internationalization in linear gauge.
Defaults to null
string
Specifies the height of the linear gauge as a string in order to provide input as both like ‘100px’ or ‘100%‘. If specified as ‘100%, gauge will render to the full height of its parent element.
Defaults to null
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
Specifies the options to customize the margins of the linear gauge.
Specifies the orientation of the rendering of the linear gauge.
Defaults to Vertical
string[]
Specifies the color palette for axis ranges in linear gauge.
Defaults to []
number
Specifies the tab index value for the linear gauge.
Defaults to 0
Sets and gets the theme styles supported for linear gauge. When the theme is set, the styles associated with the theme will be set in the gauge.
Defaults to Material
string
Specifies the title for linear gauge.
Specifies the options for customizing the appearance of title for linear gauge.
Specifies the options for customizing the tooltip in linear gauge.
boolean
Enables or disables a grouping separator should be used for a number.
Defaults to false
string
Specifies the width of the linear gauge as a string in order to provide input as both like ‘100px’ or ‘100%‘. If specified as ‘100%, gauge will render to the full width of its parent element.
Defaults to null
This method destroys the linear gauge. This method removes the events associated with the linear gauge and disposes the objects created for rendering and updating the linear gauge.
Returns void
This method handles the export functionality for linear gauge.
Parameter | Type | Description |
---|---|---|
type | ExportType |
Specifies the extension type of the exported document. |
fileName | string |
Specifies file name for exporting the rendered Linear Gauge. |
orientation (optional) | PdfPageOrientation |
Specifies the orientation of the PDF document. |
allowDownload (optional) | boolean |
Specifies whether the exported file should be downloaded or not. |
Returns Promise
This method handles the print functionality for linear gauge.
Parameter | Type | Description |
---|---|---|
id (optional) | string[] | string | Element |
Specifies the element to print the linear gauge. |
Returns void
This method is used to set the annotation value in the linear gauge.
Parameter | Type | Description |
---|---|---|
annotationIndex | number |
Specifies the index value for the annotation in linear gauge. |
content | string | Function |
Specifies the content for the annotation in linear gauge. |
axisValue (optional) | number |
Specifies the axis value to which the annotation must be positioned. |
Returns void
This method is used to set the pointer value in the linear gauge.
Parameter | Type | Description |
---|---|---|
axisIndex | number |
Specifies the index of the axis. |
pointerIndex | number |
Specifies the index of the pointer. |
value | number |
Specifies the pointer value. |
Returns void
EmitType<IAnimationCompleteEventArgs>
Triggers after completing the animation for pointer.
EmitType<IAnnotationRenderEventArgs>
Triggers before each annotation gets rendered.
EmitType<IAxisLabelRenderEventArgs>
Triggers before each axis label gets rendered.
Triggers before the print functionality gets started.
EmitType<IPointerDragEventArgs>
Triggers after the pointer is dragged.
EmitType<IPointerDragEventArgs>
Triggers while dragging the pointers.
EmitType<IPointerDragEventArgs>
Triggers before the pointer is dragged.
Triggers when performing the mouse down operation on gauge area.
Triggers when performing the mouse leave operation from the gauge area.
Triggers when performing the mouse move operation on gauge area.
Triggers when performing mouse up operation on gauge area.
Triggers before the gauge gets rendered.
Triggers after the gauge gets rendered.
Triggers to notify the resize of the linear gauge when the window is resized.
EmitType<ITooltipRenderEventArgs>
Triggers before the tooltip get rendered.
EmitType<IValueChangeEventArgs>
Triggers while changing the value of the pointer by UI interaction.