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.

140 lines (139 loc) 3.12 kB
import { ChildProperty } from '@syncfusion/ej2-base'; import { AxisLabelPosition, SmithchartLabelIntersectAction } from '../utils/enum'; import { SmithchartFontModel } from '../utils/utils-model'; import { SmithchartMajorGridLinesModel, SmithchartMinorGridLinesModel, SmithchartAxisLineModel } from '../axis/axis-model'; /** * Configures the major Grid lines in the `axis`. */ export declare class SmithchartMajorGridLines extends ChildProperty<SmithchartMajorGridLines> { /** * width of the major grid lines. * * @default 1 */ width: number; /** * The dash array of the major grid lines. * * @default '' */ dashArray: string; /** * visibility of major grid lines. * * @default true */ visible: boolean; /** * option for customizing the majorGridLine color. * * @default null */ color: string; /** * opacity of major grid lines. * * @default 1 */ opacity: number; } /** * Configures the major grid lines in the `axis`. */ export declare class SmithchartMinorGridLines extends ChildProperty<SmithchartMinorGridLines> { /** * width of the minor grid lines. * * @default 1 */ width: number; /** * The dash array of the minor grid lines. * * @default '' */ dashArray: string; /** * visibility of minor grid lines. * * @default false */ visible: boolean; /** * option for customizing the minorGridLine color. * * @default null */ color: string; /** * count of minor grid lines. * * @default 8 */ count: number; } /** * Configures the axis lines in the `axis`. */ export declare class SmithchartAxisLine extends ChildProperty<SmithchartAxisLine> { /** * visibility of axis line. * * @default true */ visible: boolean; /** * width of the axis lines. * * @default 1 */ width: number; /** * option for customizing the axisLine color. * * @default null */ color: string; /** * The dash array of the axis line. * * @default '' */ dashArray: string; } export declare class SmithchartAxis extends ChildProperty<SmithchartAxis> { /** * visibility of axis. * * @default true */ visible: boolean; /** * position of axis line. * * @default Outside */ labelPosition: AxisLabelPosition; /** * axis labels will be hide when overlap with each other. * * @default Hide */ labelIntersectAction: SmithchartLabelIntersectAction; /** * Options for customizing major grid lines. */ majorGridLines: SmithchartMajorGridLinesModel; /** * Options for customizing minor grid lines. */ minorGridLines: SmithchartMinorGridLinesModel; /** * Options for customizing axis lines. */ axisLine: SmithchartAxisLineModel; /** * Options for customizing font. */ labelStyle: SmithchartFontModel; }