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.

192 lines (191 loc) 3.97 kB
import { ChildProperty } from '@syncfusion/ej2-base'; import { SmithchartFontModel } from './utils-model'; export declare class SmithchartFont extends ChildProperty<SmithchartFont> { /** * font family for text. */ fontFamily: string; /** * font style for text. * * @default 'Normal' */ fontStyle: string; /** * font weight for text. * * @default 'Regular' */ fontWeight: string; /** * Color for the text. * * @default '' */ color: string; /** * font size for text. * * @default '12px' */ size: string; /** * font opacity for text. * * @default 1 */ opacity: number; } export declare class SmithchartMargin extends ChildProperty<SmithchartMargin> { /** * top margin of chartArea. * * @default 10 */ top: number; /** * bottom margin of chartArea. * * @default 10 */ bottom: number; /** * right margin of chartArea. * * @default 10 */ right: number; /** * left margin of chartArea. * * @default 10 */ left: number; } export declare class SmithchartBorder extends ChildProperty<SmithchartBorder> { /** * width for smithchart border. * * @default 0 */ width: number; /** * opacity for smithchart border. * * @default 1 */ opacity: number; /** * color for smithchart border . * * @default 'transparent' */ color: string; } /** * Internal use of type rect */ export declare class SmithchartRect { /** x value for rect. */ x: number; y: number; width: number; height: number; constructor(x: number, y: number, width: number, height: number); } export declare class LabelCollection { centerX: number; centerY: number; radius: number; value: number; } export declare class LegendSeries { text: string; seriesIndex: number; shape: string; fill: string; bounds: SmithchartSize; } export declare class LabelRegion { bounds: SmithchartRect; labelText: string; } export declare class HorizontalLabelCollection extends LabelCollection { region: LabelRegion; } export declare class RadialLabelCollections extends HorizontalLabelCollection { angle: number; } export declare class LineSegment { x1: number; x2: number; y1: number; y2: number; } export declare class PointRegion { point: Point; x: number; y: number; } /** * Smithchart internal class for point */ export declare class Point { x: number; y: number; } export declare class ClosestPoint { location: Point; index: number; } export declare class MarkerOptions { id: string; fill: string; opacity: number; borderColor: string; borderWidth: number; constructor(id?: string, fill?: string, borderColor?: string, borderWidth?: number, opacity?: number); } export declare class SmithchartLabelPosition { textX: number; textY: number; x: number; y: number; } export declare class Direction { counterclockwise: number; clockwise: number; } export declare class DataLabelTextOptions { id: string; x: number; y: number; text: string; fill: string; font: SmithchartFontModel; xPosition: number; yPosition: number; width: number; height: number; location: Point; labelOptions: SmithchartLabelPosition; visible: boolean; connectorFlag: boolean; } export declare class LabelOption { textOptions: DataLabelTextOptions[]; } /** @private */ export declare class SmithchartSize { height: number; width: number; constructor(width: number, height: number); } export declare class GridArcPoints { startPoint: Point; endPoint: Point; rotationAngle: number; sweepDirection: number; isLargeArc: boolean; size: SmithchartSize; }