UNPKG

@syncfusion/ej2-charts

Version:

Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.

126 lines (101 loc) 2.06 kB
import { Property, Complex, ChildProperty } from '@syncfusion/ej2-base';import { SmithchartFontModel} from '../utils/utils-model';import { SmithchartFont } from '../utils/utils';import { SmithchartAlignment } from '../utils/enum'; /** * Interface for a class Subtitle */ export interface SubtitleModel { /** * visibility for sub title. * * @default true */ visible?: boolean; /** * text for sub title. * * @default '' */ text?: string; /** * description for sub title. * * @default '' */ description?: string; /** * text alignment for sub title. * * @default Far */ textAlignment?: SmithchartAlignment; /** * trim the sub title. * * @default true */ enableTrim?: boolean; /** * maximum width of the sub title. * * @aspDefaultValueIgnore * @default null */ maximumWidth?: number; /** * options for customizing sub title font. */ textStyle?: SmithchartFontModel; } /** * Interface for a class Title */ export interface TitleModel { /** * visibility for title. * * @default true */ visible?: boolean; /** * text for title. * * @default '' */ text?: string; /** * description for title. * * @default '' */ description?: string; /** * text alignment for title. * * @default Center */ textAlignment?: SmithchartAlignment; /** * trim the title. * * @default true */ enableTrim?: boolean; /** * maximum width of the sub title. * * @aspDefaultValueIgnore * @default null */ maximumWidth?: number; /** * options for customizing sub title. */ subtitle?: SubtitleModel; /** * options for customizing title font. */ font?: SmithchartFontModel; /** * options for customizing title text. */ textStyle?: SmithchartFontModel; }