/** * DevExtreme (viz/linear_gauge.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { UserDefinedElement, } from '../core/element'; import { EventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events/index'; import { FileSavingEventInfo, ExportInfo, IncidentInfo, } from './core/base_widget'; import { BaseGauge, BaseGaugeOptions, BaseGaugeRangeContainer, BaseGaugeScale, BaseGaugeScaleLabel, GaugeIndicator, TooltipInfo, } from './gauges/base_gauge'; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type DrawnEvent = EventInfo; /** @public */ export type ExportedEvent = EventInfo; /** @public */ export type ExportingEvent = EventInfo & ExportInfo; /** @public */ export type FileSavingEvent = FileSavingEventInfo; /** @public */ export type IncidentOccurredEvent = EventInfo & IncidentInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type TooltipHiddenEvent = EventInfo & TooltipInfo; /** @public */ export type TooltipShownEvent = EventInfo & TooltipInfo; /** * @deprecated use Properties instead * @namespace DevExpress.viz */ export interface dxLinearGaugeOptions extends BaseGaugeOptions { /** * @docid * @public */ geometry?: { /** * @docid * @type Enums.Orientation * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; }; /** * @docid * @type object * @public */ rangeContainer?: dxLinearGaugeRangeContainer; /** * @docid * @type object * @public */ scale?: dxLinearGaugeScale; /** * @docid * @inheritAll * @public */ subvalueIndicator?: GaugeIndicator; /** * @docid * @inheritAll * @public */ valueIndicator?: GaugeIndicator; } /** @namespace DevExpress.viz */ export interface dxLinearGaugeRangeContainer extends BaseGaugeRangeContainer { /** * @docid dxLinearGaugeOptions.rangeContainer.horizontalOrientation * @type Enums.HorizontalAlignment * @default 'right' * @public */ horizontalOrientation?: 'center' | 'left' | 'right'; /** * @docid dxLinearGaugeOptions.rangeContainer.verticalOrientation * @type Enums.VerticalAlignment * @default 'bottom' * @public */ verticalOrientation?: 'bottom' | 'center' | 'top'; /** * @docid dxLinearGaugeOptions.rangeContainer.width * @public */ width?: { /** * @docid dxLinearGaugeOptions.rangeContainer.width.start * @default 5 */ start?: number; /** * @docid dxLinearGaugeOptions.rangeContainer.width.end * @default 5 */ end?: number; } | number; } /** @namespace DevExpress.viz */ export interface dxLinearGaugeScale extends BaseGaugeScale { /** * @docid dxLinearGaugeOptions.scale.horizontalOrientation * @type Enums.HorizontalAlignment * @default 'right' * @public */ horizontalOrientation?: 'center' | 'left' | 'right'; /** * @docid dxLinearGaugeOptions.scale.label * @type object * @public */ label?: dxLinearGaugeScaleLabel; /** * @docid dxLinearGaugeOptions.scale.scaleDivisionFactor * @default 25 * @public */ scaleDivisionFactor?: number; /** * @docid dxLinearGaugeOptions.scale.verticalOrientation * @type Enums.VerticalAlignment * @default 'bottom' * @public */ verticalOrientation?: 'bottom' | 'center' | 'top'; } /** @namespace DevExpress.viz */ export interface dxLinearGaugeScaleLabel extends BaseGaugeScaleLabel { /** * @docid dxLinearGaugeOptions.scale.label.indentFromTick * @default -10 * @public */ indentFromTick?: number; } /** * @docid * @inherits BaseGauge * @namespace DevExpress.viz * @public */ export default class dxLinearGauge extends BaseGauge { constructor(element: UserDefinedElement, options?: dxLinearGaugeOptions) } /** @public */ export type Properties = dxLinearGaugeOptions; /** @deprecated use Properties instead */ export type Options = dxLinearGaugeOptions; /** @deprecated use Properties instead */ export type IOptions = dxLinearGaugeOptions;