@progress/kendo-react-gauges
Version:
React Gauges provide a set of React components for building beautiful and customizable gauges. KendoReact Gauges package
34 lines (33 loc) • 1.14 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { Scale } from './scale.interface';
import { Line } from './line.interface';
import { Range } from './range.interface';
/**
* The scale options of the Gauge.
*/
export interface LinearScale extends Scale {
/**
* Configures the scale line.
*/
line?: Line;
/**
* The ranges of the scale.
*/
ranges?: Range[];
/**
* Mirrors the scale labels and ticks. If the labels are normally on the left side of the scale, the mirroring of the scale will render them to the right.
*/
mirror?: boolean;
/**
* Specifies if the scale will be vertical ([see example](https://www.telerik.com/kendo-react-ui/components/gauges/lineargauge/orientation)).
*
* @default true
*/
vertical?: boolean;
}