ag-charts-types
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
14 lines (13 loc) • 367 B
TypeScript
import type { Ratio } from '../chart/types';
export type AgInterpolationType = AgLineLinearType | AgLineSmoothType | AgLineStepType;
export interface AgLineLinearType {
type: 'linear';
}
export interface AgLineSmoothType {
type: 'smooth';
tension?: Ratio;
}
export interface AgLineStepType {
type: 'step';
position?: 'start' | 'middle' | 'end';
}