forked from syncfusion/ej2-javascript-ui-controls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmithchart-model.d.ts
177 lines (139 loc) · 5.94 KB
/
smithchart-model.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
import { Component, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { isNullOrUndefined, Browser, ModuleDeclaration} from '@syncfusion/ej2-base';import { createElement, remove, Event, EmitType, EventHandler } from '@syncfusion/ej2-base';import { createSvg, RectOption, measureText, TextOption, renderTextElement } from '../smithchart/utils/helper';import { removeElement, textTrim } from '../smithchart/utils/helper';import { SmithchartRect, SmithchartSize } from '../smithchart/utils/utils';import { SmithchartMarginModel, SmithchartBorderModel, SmithchartFontModel} from '../smithchart/utils/utils-model';import { SmithchartMargin, SmithchartBorder, SmithchartFont} from '../smithchart/utils/utils';import {TitleModel, SubtitleModel} from '../smithchart/title/title-model';import { SmithchartLegendSettingsModel} from '../smithchart/legend/legend-model';import {SmithchartAxisModel} from '../smithchart/axis/axis-model';import { TooltipRender } from '../smithchart/series/tooltip';import { ISmithchartLoadedEventArgs, ISmithchartLoadEventArgs, ISmithchartThemeStyle } from '../smithchart/model/interface';import { ISmithchartLegendRenderEventArgs, ITitleRenderEventArgs, ISubTitleRenderEventArgs} from '../smithchart/model/interface';import { ISmithchartAxisLabelRenderEventArgs, ISmithchartPrintEventArgs} from '../smithchart/model/interface';import { ISmithchartSeriesRenderEventArgs, ISmithchartAnimationCompleteEventArgs} from '../smithchart/model/interface';import { ISmithchartTextRenderEventArgs} from '../smithchart/model/interface';import { getThemeColor } from '../smithchart/model/theme';import { SmithchartLegendSettings} from '../smithchart/legend/legend';import { SmithchartAxis} from '../smithchart/axis/axis';import { Title} from '../smithchart/title/title';import { SmithchartSeriesModel} from '../smithchart/series/series-model';import { SmithchartSeries} from '../smithchart/series/series';import { AreaBounds} from '../smithchart/utils/area';import { AxisRender} from '../smithchart/axis/axisrender';import { SmithchartLegend} from '../smithchart/legend/legendrender';import { SeriesRender} from '../smithchart/series/seriesrender';import { Collection } from '@syncfusion/ej2-base';import { getSeriesColor} from '../smithchart/model/theme';import { SmithchartTheme, RenderType} from '../smithchart/utils/enum';import { Tooltip, SvgRenderer } from '@syncfusion/ej2-svg-base';import { ExportUtils } from '../smithchart/utils/export';import { SmithchartExportType } from '../smithchart/utils/enum';import { PdfPageOrientation } from '@syncfusion/ej2-pdf-export';import { titleRender, subtitleRender} from '../smithchart/model/constant';
import {ComponentModel} from '@syncfusion/ej2-base';
/**
* Interface for a class Smithchart
*/
export interface SmithchartModel extends ComponentModel{
/**
* render type of smithchart.
* @default Impedance
*/
renderType?: RenderType;
/**
* width for smithchart.
* @default ''
*/
width?: string;
/**
* height for smithchart.
* @default ''
*/
height?: string;
/**
* theme for smithchart.
* @default Material
*/
theme?: SmithchartTheme;
/**
* options for customizing margin
*/
margin?: SmithchartMarginModel;
/**
* options for customizing margin
*/
font?: SmithchartFontModel;
/**
* options for customizing border
*/
border?: SmithchartBorderModel;
/**
* options for customizing title
*/
title?: TitleModel;
/**
* options for customizing series
*/
series?: SmithchartSeriesModel[];
/**
* options for customizing legend
*/
legendSettings?: SmithchartLegendSettingsModel;
/**
* Options to configure the horizontal axis.
*/
horizontalAxis?: SmithchartAxisModel;
/**
* Options to configure the vertical axis.
*/
radialAxis?: SmithchartAxisModel;
/**
* The background color of the smithchart.
*/
background?: string;
/**
* Spacing between elements
* @default 10
*/
elementSpacing?: number;
/**
* Spacing between elements
* @default 1
*/
radius?: number;
/**
* Triggers before the prints gets started.
* @event
* @blazorProperty 'OnPrint'
*/
beforePrint?: EmitType<ISmithchartPrintEventArgs>;
/**
* Triggers after the animation completed.
* @event
* @blazorProperty 'AnimationCompleted'
*/
animationComplete?: EmitType<ISmithchartAnimationCompleteEventArgs>;
/**
* Triggers before smithchart rendered.
* @event
* @deprecated
* @blazorProperty 'OnLoad'
*/
load?: EmitType<ISmithchartLoadEventArgs>;
/**
* Triggers after smithchart rendered.
* @event
* @blazorProperty 'Loaded'
*/
loaded?: EmitType<ISmithchartLoadedEventArgs>;
/**
* Triggers before the legend is rendered.
* @event
* @deprecated
* @blazorProperty 'LegendRendering'
*/
legendRender?: EmitType<ISmithchartLegendRenderEventArgs>;
/**
* Triggers before the title is rendered.
* @event
* @deprecated
* @blazorProperty 'TitleRendering'
*/
titleRender?: EmitType<ITitleRenderEventArgs>;
/**
* Triggers before the sub-title is rendered.
* @event
* @deprecated
* @blazorProperty 'SubtitleRendering'
*/
subtitleRender?: EmitType<ISubTitleRenderEventArgs>;
/**
* Triggers before the datalabel text is rendered.
* @event
* @deprecated
* @blazorProperty 'TextRendering'
*/
textRender?: EmitType<ISmithchartTextRenderEventArgs>;
/**
* Triggers before the axis label is rendered
* @event
* @deprecated
* @blazorProperty 'AxisLabelRendering'
*/
axisLabelRender?: EmitType<ISmithchartAxisLabelRenderEventArgs>;
/**
* Triggers before the series is rendered.
* @event
* @deprecated
*/
seriesRender?: EmitType<ISmithchartSeriesRenderEventArgs>;
}