/** * DevExtreme (viz/circular_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 dxCircularGaugeOptions extends BaseGaugeOptions { /** * @docid * @public */ geometry?: { /** * @docid * @default 315 */ endAngle?: number; /** * @docid * @default 225 */ startAngle?: number; }; /** * @docid * @type object * @public */ rangeContainer?: dxCircularGaugeRangeContainer; /** * @docid * @type object * @public */ scale?: dxCircularGaugeScale; /** * @docid * @inheritAll * @public */ subvalueIndicator?: GaugeIndicator; /** * @docid * @inheritAll * @public */ valueIndicator?: GaugeIndicator; } /** @namespace DevExpress.viz */ export interface dxCircularGaugeRangeContainer extends BaseGaugeRangeContainer { /** * @docid dxCircularGaugeOptions.rangeContainer.orientation * @type Enums.CircularGaugeElementOrientation * @default 'outside' * @public */ orientation?: 'center' | 'inside' | 'outside'; /** * @docid dxCircularGaugeOptions.rangeContainer.width * @default 5 * @public */ width?: number; } /** @namespace DevExpress.viz */ export interface dxCircularGaugeScale extends BaseGaugeScale { /** * @docid dxCircularGaugeOptions.scale.label * @type object * @public */ label?: dxCircularGaugeScaleLabel; /** * @docid dxCircularGaugeOptions.scale.orientation * @type Enums.CircularGaugeElementOrientation * @default 'outside' * @public */ orientation?: 'center' | 'inside' | 'outside'; } /** @namespace DevExpress.viz */ export interface dxCircularGaugeScaleLabel extends BaseGaugeScaleLabel { /** * @docid dxCircularGaugeOptions.scale.label.hideFirstOrLast * @type Enums.GaugeOverlappingBehavior * @default 'last' * @public */ hideFirstOrLast?: 'first' | 'last'; /** * @docid dxCircularGaugeOptions.scale.label.indentFromTick * @default 10 * @public */ indentFromTick?: number; } /** * @docid * @inherits BaseGauge * @namespace DevExpress.viz * @public */ export default class dxCircularGauge extends BaseGauge { constructor(element: UserDefinedElement, options?: dxCircularGaugeOptions) } /** @public */ export type Properties = dxCircularGaugeOptions; /** @deprecated use Properties instead */ export type Options = dxCircularGaugeOptions; /** @deprecated use Properties instead */ export type IOptions = dxCircularGaugeOptions;