/** * DevExtreme (viz/bullet.d.ts) * Version: 25.1.7 * Build date: Mon Nov 10 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { EventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events'; import { FileSavingEventInfo, ExportInfo, IncidentInfo, } from './core/base_widget'; import BaseSparkline, { BaseSparklineOptions, } from './sparklines/base_sparkline'; /** * The type of the disposing event handler's argument. */ export type DisposingEvent = EventInfo; /** * The type of the drawn event handler's argument. */ export type DrawnEvent = EventInfo; /** * The type of the exported event handler's argument. */ export type ExportedEvent = EventInfo; /** * The type of the exporting event handler's argument. */ export type ExportingEvent = EventInfo & ExportInfo; /** * The type of the fileSaving event handler's argument. */ export type FileSavingEvent = FileSavingEventInfo; /** * The type of the incidentOccurred event handler's argument. */ export type IncidentOccurredEvent = EventInfo & IncidentInfo; /** * The type of the initialized event handler's argument. */ export type InitializedEvent = InitializedEventInfo; /** * The type of the optionChanged event handler's argument. */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** * The type of the tooltipHidden event handler's argument. */ export type TooltipHiddenEvent = EventInfo; /** * The type of the tooltipShown event handler's argument. */ export type TooltipShownEvent = EventInfo; /** * * @deprecated * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export interface dxBulletOptions extends BaseSparklineOptions { /** * Specifies a color for the bullet bar. */ color?: string; /** * Specifies an end value for the invisible scale. */ endScaleValue?: number | undefined; /** * Specifies whether or not to show the target line. */ showTarget?: boolean; /** * Specifies whether or not to show the line indicating zero on the invisible scale. */ showZeroLevel?: boolean; /** * Specifies a start value for the invisible scale. */ startScaleValue?: number; /** * Specifies the value indicated by the target line. */ target?: number; /** * Specifies a color for both the target and zero level lines. */ targetColor?: string; /** * Specifies the width of the target line. */ targetWidth?: number; /** * Specifies the primary value indicated by the bullet bar. */ value?: number; } /** * The Bullet UI component is useful when you need to compare a single measure to a target value. The UI component comprises a horizontal bar indicating the measure and a vertical line indicating the target value. */ export default class dxBullet extends BaseSparkline { } export type Properties = dxBulletOptions; /** * @deprecated use Properties instead * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export type Options = dxBulletOptions;