realchart 1.3.8 → 1.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -635,8 +635,6 @@ interface IconedTextOptions extends ChartTextOptions {
635
635
  * 아이콘에 사용할 이미지 목록<br/>
636
636
  * assets에 지정한 이미지 목록을 id 값으로 불러와 사용한다.<br/>
637
637
  * 이미지 목록이 없으면, 대신 iconRoot 속성 값을 사용하여 아이콘 경로를 설정한다.
638
- * [미구현] imageList 설정만 하고, 사용처가 없음. #603
639
- * @ignore
640
638
  */
641
639
  imageList?: string;
642
640
  /**
@@ -667,6 +665,10 @@ interface IconedTextOptions extends ChartTextOptions {
667
665
  * {@page config.base.series#onPointHover 콜백}의 매개변수로 사용된다.<br/>
668
666
  */
669
667
  interface DataPointCallbackArgs {
668
+ /**
669
+ * RealChart의 공개 {@page api.Chart} 모델
670
+ */
671
+ chart: object;
670
672
  /**
671
673
  */
672
674
  series: object;
@@ -1063,6 +1065,185 @@ declare const createRect: (x: number, y: number, width: number, height: number)
1063
1065
  declare function rectToSize(r: IRect): Size;
1064
1066
  declare function isEmptyRect(r: IRect): boolean;
1065
1067
 
1068
+ /**
1069
+ * @enum
1070
+ */
1071
+ declare const _AssetType: {
1072
+ /** @config */
1073
+ readonly COLORS: "colors";
1074
+ /** @config */
1075
+ readonly IMAGES: "images";
1076
+ /** @config */
1077
+ readonly LINEARGREADIENT: "lineargradient";
1078
+ /** @config */
1079
+ readonly RADIALGRADIENT: "radialgradient";
1080
+ };
1081
+ /** @dummy */
1082
+ type AssetType = typeof _AssetType[keyof typeof _AssetType];
1083
+ /**
1084
+ */
1085
+ interface AssetItemOptions {
1086
+ type?: AssetType;
1087
+ /**
1088
+ * 에셋 id.<br/>
1089
+ * 시리즈나 축에서 이 에셋 항목을 참조할 때 사용하는 키로서
1090
+ * 차트 내에서 유일한 문자열로 반드시 지정해야 한다.
1091
+ *
1092
+ */
1093
+ id: string;
1094
+ }
1095
+ /**
1096
+ */
1097
+ interface GradientOptions extends AssetItemOptions {
1098
+ /**
1099
+ * 색을 배열로 지정하거나,
1100
+ * 끝 값을 'white'로 전제하고 시작 색 값 하나만 지정할 수 있다.
1101
+ *
1102
+ */
1103
+ color: string[] | string;
1104
+ /**
1105
+ * 0에서 1사이의 불투명도.<br/>
1106
+ * 지정하지 않거나 타당한 값이 아니면 1(완전 불투명)로 적용한다.
1107
+ * 또는, 불투명도를 배열로 지정할 수도 있다.
1108
+ *
1109
+ */
1110
+ opacity?: number[] | number;
1111
+ }
1112
+ /**
1113
+ * 시작점과 끝점 사이에 색상이 서서히 변경되는 효과를 표시한다.<br/>
1114
+ * 채우기 색이나 선 색으로 사용될 수 있다.
1115
+ *
1116
+ * @config chart.asset[type=lineargradient]
1117
+ */
1118
+ interface LinearGradientOptions extends GradientOptions {
1119
+ /**
1120
+ *
1121
+ * @default 'down'
1122
+ */
1123
+ dir?: 'down' | 'up' | 'right' | 'left';
1124
+ }
1125
+ /**
1126
+ * 원 중심에서 바깥으로 생상이 변해가는 효과를 표시한다.<br/>
1127
+ * 채우기 색이나 선 색으로 사용될 수 있다.
1128
+ *
1129
+ * @config chart.asset[type=radialgradient]
1130
+ */
1131
+ interface RadialGradientOptions extends GradientOptions {
1132
+ /**
1133
+ * gradient가 끝나는 원의 x 좌표.
1134
+ */
1135
+ cx?: number | string;
1136
+ /**
1137
+ * gradient가 끝나는 원의 y 좌표.
1138
+ */
1139
+ cy?: number | string;
1140
+ /**
1141
+ * gradient가 끝나는 원의 반지름.
1142
+ */
1143
+ r?: number | string;
1144
+ }
1145
+ /**
1146
+ * 도형 패턴을 지정해서 채우기(fill) 색상 대신 사용할 수 있다.<br/>
1147
+ */
1148
+ interface PatternOptions extends AssetItemOptions {
1149
+ /**
1150
+ * 문자열로 지정하면 path 'd', 숫자로 지정하면 stock pattern index.
1151
+ */
1152
+ pattern: string | number;
1153
+ /**
1154
+ * 지정하지 않으면 {@page height}나 20 pixels.
1155
+ */
1156
+ width?: number;
1157
+ /**
1158
+ * 지정하지 않으면 {@page widths}나 20 pixels.
1159
+ */
1160
+ height?: number;
1161
+ /**
1162
+ */
1163
+ style?: SVGStyles;
1164
+ /**
1165
+ */
1166
+ backgroundStyle?: SVGStyles;
1167
+ }
1168
+ /**
1169
+ */
1170
+ interface ImageOptions {
1171
+ /**
1172
+ */
1173
+ name?: string;
1174
+ /**
1175
+ */
1176
+ url: string;
1177
+ }
1178
+ /**
1179
+ * @config chart.asset[type=images]
1180
+ */
1181
+ interface ImageListOptions extends AssetItemOptions {
1182
+ /**
1183
+ */
1184
+ rootUrl?: string;
1185
+ /**
1186
+ */
1187
+ width?: number;
1188
+ /**
1189
+ */
1190
+ height?: number;
1191
+ /**
1192
+ */
1193
+ images?: (ImageOptions | string)[];
1194
+ }
1195
+ /**
1196
+ * 색상 목록을 미리 지정하고 {@page config.base.series#pointcolors} 등에 적용할 수 있다.<br/>
1197
+ * 목록에서 색상을 꺼내오는 방식은 {@page mode} 속성으로 지정한다.
1198
+ *
1199
+ * @config chart.asset[type=colors]
1200
+ */
1201
+ interface ColorListOptions extends AssetItemOptions {
1202
+ /**
1203
+ * 색상 목록에서 색을 꺼내오는 방식.
1204
+ *
1205
+ * @default 'normal'
1206
+ */
1207
+ mode?: PaletteMode;
1208
+ /**
1209
+ * 색상 목록.
1210
+ *
1211
+ */
1212
+ colors: string[];
1213
+ }
1214
+ /** @dummy */
1215
+ type AssetOptionsType = LinearGradientOptions | RadialGradientOptions | PatternOptions | ColorListOptions | ImageListOptions;
1216
+
1217
+ declare abstract class AssetItem<T extends AssetItemOptions> {
1218
+ source: T;
1219
+ constructor(source: T);
1220
+ hasDef(): boolean;
1221
+ abstract getEelement(doc: Document, source: T): Element;
1222
+ abstract prepare(): void;
1223
+ }
1224
+ /**
1225
+ * <defs> 요소를 관리하는 인터페이스.<br/>
1226
+ */
1227
+ interface IAssetOwner {
1228
+ addDef(element: Element): void;
1229
+ removeDef(element: string): void;
1230
+ }
1231
+ /**
1232
+ * 종류 구분없이 id는 유일하게 반드시 지정해야 한다.
1233
+ */
1234
+ declare class AssetCollection {
1235
+ private _items;
1236
+ private _map;
1237
+ load(source: any): AssetOptionsType | AssetOptionsType[];
1238
+ updateOptions(source: any, render: boolean): void;
1239
+ register(doc: Document, owner: IAssetOwner): void;
1240
+ unregister(owner: IAssetOwner): void;
1241
+ get(id: string): AssetItem<AssetItemOptions>;
1242
+ prepareRender(): void;
1243
+ get options(): AssetOptionsType[];
1244
+ private $_loadItem;
1245
+ }
1246
+
1066
1247
  interface IPointerHandler {
1067
1248
  handleDown(ev: PointerEvent): void;
1068
1249
  handleUp(ev: PointerEvent): void;
@@ -1076,7 +1257,7 @@ interface IPointerHandler {
1076
1257
  *
1077
1258
  * Control base.
1078
1259
  */
1079
- declare abstract class RcControl extends RcObject {
1260
+ declare abstract class RcControl extends RcObject implements IAssetOwner {
1080
1261
  static readonly CLASS_NAME = "rct-control";
1081
1262
  static readonly SHADOW_FILTER = "rr-chart-shadow-filter";
1082
1263
  static _animatable: boolean;
@@ -1683,6 +1864,10 @@ interface SeriesOptions extends ChartItemOptions {
1683
1864
  * undefined이면, data point의 값이 객체일 때 'color'.
1684
1865
  */
1685
1866
  colorField?: string;
1867
+ /**
1868
+ * undefined이면, data point의 값이 객체일 때 'icon'.
1869
+ */
1870
+ iconField?: string;
1686
1871
  /**
1687
1872
  * 데이터포인터들을 생성하는 데 사용되는 값 목록.
1688
1873
  * 단일 값을 지정할 경우 배열로 처리됩니다. 단, string 타입은 향후 버전에서 사용할 예정이며, 현재는 data를 지정하지 않은 경우와 동일하게 동작한다.
@@ -2409,6 +2594,7 @@ declare const BarSeriesType = "bar";
2409
2594
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2410
2595
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2411
2596
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2597
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2412
2598
  *
2413
2599
  * @css 'rct-bar-series'
2414
2600
  * @config chart.series[type=bar]
@@ -2534,6 +2720,10 @@ interface LineSeriesFlagOptions extends IconedTextOptions {
2534
2720
  * @default 8
2535
2721
  */
2536
2722
  offset?: number;
2723
+ /**
2724
+ * flag에 표시될 아이콘의 경로
2725
+ */
2726
+ icon?: string;
2537
2727
  }
2538
2728
  /**
2539
2729
  * @enum
@@ -2568,6 +2758,7 @@ type LineStepDirection = typeof _LineStepDirection[keyof typeof _LineStepDirecti
2568
2758
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2569
2759
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2570
2760
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2761
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2571
2762
  *
2572
2763
  * @config chart.series[type=line]
2573
2764
  */
@@ -2630,6 +2821,7 @@ declare const SplineSeriesType = "spline";
2630
2821
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2631
2822
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2632
2823
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2824
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2633
2825
  *
2634
2826
  * @config chart.series[type=spline]
2635
2827
  */
@@ -2665,6 +2857,7 @@ interface SplineSeriesOptions extends LineSeriesOptions {
2665
2857
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2666
2858
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2667
2859
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2860
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2668
2861
  *
2669
2862
  * @config chart.series[type=area]
2670
2863
  */
@@ -2706,6 +2899,7 @@ declare const BellCurveSeriesType = "bellcurve";
2706
2899
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2707
2900
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2708
2901
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2902
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2709
2903
  *
2710
2904
  * @config chart.series[type=bellcurve]
2711
2905
  */
@@ -2761,6 +2955,7 @@ declare const BoxPlotSeriesType = "boxplot";
2761
2955
  * |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다.|
2762
2956
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2763
2957
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
2958
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2764
2959
  *
2765
2960
  * @config chart.series[type=boxplot]
2766
2961
  */
@@ -2840,6 +3035,7 @@ declare const BubbleSeriesType = "bubble";
2840
3035
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2841
3036
  * |{@page zField}|속성 값, 또는 'z' 속성 값이 z 값이 된다.|
2842
3037
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3038
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2843
3039
  *
2844
3040
  * @config chart.series[type=bubble]
2845
3041
  */
@@ -2912,6 +3108,7 @@ interface BumpSeriesGroupOptions extends SeriesGroupOptions<LineSeriesMarkerOpti
2912
3108
  * |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다. 지정하지 않으면 yField 값이 사용된다.|
2913
3109
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2914
3110
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3111
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2915
3112
  *
2916
3113
  * @config chart.series[type=candlestick]
2917
3114
  */
@@ -2987,6 +3184,7 @@ declare const CircleBarSeriesType = "circlebar";
2987
3184
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
2988
3185
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
2989
3186
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3187
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
2990
3188
  *
2991
3189
  * @config chart.series[type=circlebar]
2992
3190
  */
@@ -3048,6 +3246,7 @@ declare const DumbbellSeriesType = "dumbbell";
3048
3246
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3049
3247
  * |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
3050
3248
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3249
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3051
3250
  *
3052
3251
  * @config chart.series[type=dumbbell]
3053
3252
  */
@@ -3087,6 +3286,7 @@ declare const EqualizerSeriesType = "equalizer";
3087
3286
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3088
3287
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3089
3288
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3289
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3090
3290
  *
3091
3291
  * @config chart.series[type=equalizer]
3092
3292
  */
@@ -3145,6 +3345,7 @@ declare const ErrorBarSeriesType = "errorbar";
3145
3345
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3146
3346
  * |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
3147
3347
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3348
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3148
3349
  *
3149
3350
  * @config chart.series[type=errorbar]
3150
3351
  */
@@ -3195,6 +3396,7 @@ declare const FunnelSeriesType = "funnel";
3195
3396
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3196
3397
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3197
3398
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3399
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3198
3400
  *
3199
3401
  * // TODO #fiddle series/funnel-series Funnel Series
3200
3402
  * @css 'rct-funnel-series'
@@ -3265,6 +3467,7 @@ declare const HistogramSeriesType = "histogram";
3265
3467
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3266
3468
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3267
3469
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3470
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3268
3471
  *
3269
3472
  * @css 'rct-histogram-series'
3270
3473
  * @config chart.series[type=histogram]
@@ -3315,6 +3518,7 @@ declare const ArearangeSeriesType = "arearange";
3315
3518
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3316
3519
  * |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
3317
3520
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3521
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3318
3522
  *
3319
3523
  * @config chart.series[type=arearange]
3320
3524
  */
@@ -3388,6 +3592,7 @@ declare const LollipopSeriesType = "lollipop";
3388
3592
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3389
3593
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3390
3594
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3595
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3391
3596
  *
3392
3597
  * @config chart.series[type=lollipop]
3393
3598
  */
@@ -3428,6 +3633,7 @@ declare const OhlcSeriesType = "ohlc";
3428
3633
  * |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다. 지정하지 않으면 yField 값이 사용된다.|
3429
3634
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3430
3635
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3636
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3431
3637
  *
3432
3638
  * @config chart.series[type=ohlc]
3433
3639
  */
@@ -3459,6 +3665,7 @@ declare const ParetoSeriesType = "pareto";
3459
3665
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3460
3666
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3461
3667
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3668
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3462
3669
  *
3463
3670
  * @config chart.series[type=pareto]
3464
3671
  */
@@ -3522,6 +3729,10 @@ interface RadialSeriesOptions extends WidgetSeriesOptions {
3522
3729
  /**
3523
3730
  */
3524
3731
  interface PieSeriesTextOptions extends IconedTextOptions {
3732
+ /**
3733
+ * 텍스트와 함께 출력 될 아이콘의 경로
3734
+ */
3735
+ icon?: string;
3525
3736
  }
3526
3737
  /**
3527
3738
  * 데이터포인트 라벨의 회전 방식 지정.<br/>
@@ -3583,6 +3794,7 @@ declare const PieSeriesType = "pie";
3583
3794
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3584
3795
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3585
3796
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3797
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3586
3798
  *
3587
3799
  * @config chart.series[type=pie]
3588
3800
  */
@@ -3653,6 +3865,7 @@ declare const ScatterSeriesType = "scatter";
3653
3865
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3654
3866
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3655
3867
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3868
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3656
3869
  *
3657
3870
  * @config chart.series[type=scatter]
3658
3871
  */
@@ -3719,6 +3932,7 @@ declare const WaterfallSeriesType = "waterfall";
3719
3932
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3720
3933
  * |isSum|이 속성이 true이면, 해당 포인트는 이전 값들의 전체 합계를 나타낸다.|
3721
3934
  * |isMid|이 속성이 true이면, 해당 포인트는 시리즈 시작부터 또는 이전 중간 합계 이후의 누적 합계를 나타낸다.|
3935
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3722
3936
  *
3723
3937
  * @config chart.series[type=waterfall]
3724
3938
  */
@@ -3895,6 +4109,7 @@ declare const HeatmapSeriesType = "heatmap";
3895
4109
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3896
4110
  * |{@page zField}|속성 값, 또는 'z' 속성 값이 z 값이 된다.|
3897
4111
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
4112
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
3898
4113
  *
3899
4114
  * @config chart.series[type=heatmap]
3900
4115
  * @modules heatmap
@@ -4056,6 +4271,7 @@ declare const WordCloudSeriesType = "wordcloud";
4056
4271
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
4057
4272
  * |{@page yField}|속성 값, 또는 'y', 'value', 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
4058
4273
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
4274
+ * |{@page iconField}|속성 값, 또는 'icon' 속성 값으로 데이터포인트의 개별 이미지가 지정된다.|
4059
4275
  *
4060
4276
  * // TODO #fiddle series/wordcloud-series WordCloud Series
4061
4277
  * @css 'rct-wordcloud-series'
@@ -4441,6 +4657,23 @@ interface BackgroundImageOptions extends ChartItemOptions {
4441
4657
  */
4442
4658
  url?: string;
4443
4659
  }
4660
+ /**
4661
+ * @enum
4662
+ */
4663
+ declare const _ZoomType: {
4664
+ /**
4665
+ */
4666
+ readonly NONE: "none";
4667
+ /**
4668
+ */
4669
+ readonly X: "x";
4670
+ /** @ignore 미구현 */
4671
+ readonly Y: "y";
4672
+ /** @ignore 미구현 */
4673
+ readonly BOTH: "both";
4674
+ };
4675
+ /** @dummy */
4676
+ type ZoomType = typeof _ZoomType[keyof typeof _ZoomType];
4444
4677
  /**
4445
4678
  */
4446
4679
  interface ZoomButtonOptions extends ChartItemOptions {
@@ -4476,6 +4709,56 @@ interface EmptyViewOptions extends ChartTextOptions {
4476
4709
  */
4477
4710
  text?: string;
4478
4711
  }
4712
+ /**
4713
+ * 원본값과 계산된 좌표값이 포함된 포인트
4714
+ */
4715
+ interface ChartPoint {
4716
+ /**
4717
+ * x값
4718
+ */
4719
+ x: any;
4720
+ /**
4721
+ * x좌표 값
4722
+ */
4723
+ xValue: any;
4724
+ /**
4725
+ * y값
4726
+ */
4727
+ y: any;
4728
+ /**
4729
+ * y좌표 값
4730
+ */
4731
+ yValue: any;
4732
+ /**
4733
+ * z값
4734
+ */
4735
+ z: any;
4736
+ /**
4737
+ * z좌표 값
4738
+ */
4739
+ zValue: any;
4740
+ }
4741
+ /**
4742
+ * zoom 될 때 호출되는 콜백의 매개변수로 사용된다.
4743
+ */
4744
+ interface ZoomCallbackArgs {
4745
+ /**
4746
+ * RealChart의 공개 {@page api.Chart} 모델
4747
+ */
4748
+ chart: object;
4749
+ /**
4750
+ * Series 객체 배열
4751
+ */
4752
+ series: object[];
4753
+ /**
4754
+ * zoom 영역 xAxis 시작 값
4755
+ */
4756
+ from: number;
4757
+ /**
4758
+ * zoom 영역 xAxis 끝 값
4759
+ */
4760
+ to: number;
4761
+ }
4479
4762
  /**
4480
4763
  * {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역 설정 옵션.<br/>
4481
4764
  * 전체 차트에서 {@page config.title 타이틀}, {@page config.legend 범례},
@@ -4533,7 +4816,7 @@ interface BodyOptions extends ChartItemOptions {
4533
4816
  *
4534
4817
  * @default 'none'
4535
4818
  */
4536
- zoomType?: 'none' | 'x' | 'y' | 'both';
4819
+ zoomType?: ZoomType;
4537
4820
  /**
4538
4821
  * Zoom 리셋 버튼 설정 옵션.<br/>
4539
4822
  */
@@ -4544,6 +4827,10 @@ interface BodyOptions extends ChartItemOptions {
4544
4827
  * [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 'annotations' 설정이 존재하면 load 후 이 속성으로 설정한다.
4545
4828
  */
4546
4829
  annotation?: AnnotationOptionsType | AnnotationOptionsType[];
4830
+ /**
4831
+ * zoom 될 때 호출되는 이벤트 콜백<br/>
4832
+ */
4833
+ zoomCallback?: (series: ZoomCallbackArgs) => void;
4547
4834
  }
4548
4835
  /**
4549
4836
  */
@@ -5011,155 +5298,6 @@ interface ChartExporter {
5011
5298
  toggleContextMenu: () => void;
5012
5299
  }
5013
5300
 
5014
- /**
5015
- * @enum
5016
- */
5017
- declare const _AssetType: {
5018
- /** @config */
5019
- readonly COLORS: "colors";
5020
- /** @config */
5021
- readonly IMAGES: "images";
5022
- /** @config */
5023
- readonly LINEARGREADIENT: "lineargradient";
5024
- /** @config */
5025
- readonly RADIALGRADIENT: "radialgradient";
5026
- };
5027
- /** @dummy */
5028
- type AssetType = typeof _AssetType[keyof typeof _AssetType];
5029
- /**
5030
- */
5031
- interface AssetItemOptions {
5032
- type?: AssetType;
5033
- /**
5034
- * 에셋 id.<br/>
5035
- * 시리즈나 축에서 이 에셋 항목을 참조할 때 사용하는 키로서
5036
- * 차트 내에서 유일한 문자열로 반드시 지정해야 한다.
5037
- *
5038
- */
5039
- id: string;
5040
- }
5041
- /**
5042
- */
5043
- interface GradientOptions extends AssetItemOptions {
5044
- /**
5045
- * 색을 배열로 지정하거나,
5046
- * 끝 값을 'white'로 전제하고 시작 색 값 하나만 지정할 수 있다.
5047
- *
5048
- */
5049
- color: string[] | string;
5050
- /**
5051
- * 0에서 1사이의 불투명도.<br/>
5052
- * 지정하지 않거나 타당한 값이 아니면 1(완전 불투명)로 적용한다.
5053
- * 또는, 불투명도를 배열로 지정할 수도 있다.
5054
- *
5055
- */
5056
- opacity?: number[] | number;
5057
- }
5058
- /**
5059
- * 시작점과 끝점 사이에 색상이 서서히 변경되는 효과를 표시한다.<br/>
5060
- * 채우기 색이나 선 색으로 사용될 수 있다.
5061
- *
5062
- * @config chart.asset[type=lineargradient]
5063
- */
5064
- interface LinearGradientOptions extends GradientOptions {
5065
- /**
5066
- *
5067
- * @default 'down'
5068
- */
5069
- dir?: 'down' | 'up' | 'right' | 'left';
5070
- }
5071
- /**
5072
- * 원 중심에서 바깥으로 생상이 변해가는 효과를 표시한다.<br/>
5073
- * 채우기 색이나 선 색으로 사용될 수 있다.
5074
- *
5075
- * @config chart.asset[type=radialgradient]
5076
- */
5077
- interface RadialGradientOptions extends GradientOptions {
5078
- /**
5079
- * gradient가 끝나는 원의 x 좌표.
5080
- */
5081
- cx?: number | string;
5082
- /**
5083
- * gradient가 끝나는 원의 y 좌표.
5084
- */
5085
- cy?: number | string;
5086
- /**
5087
- * gradient가 끝나는 원의 반지름.
5088
- */
5089
- r?: number | string;
5090
- }
5091
- /**
5092
- * 도형 패턴을 지정해서 채우기(fill) 색상 대신 사용할 수 있다.<br/>
5093
- */
5094
- interface PatternOptions extends AssetItemOptions {
5095
- /**
5096
- * 문자열로 지정하면 path 'd', 숫자로 지정하면 stock pattern index.
5097
- */
5098
- pattern: string | number;
5099
- /**
5100
- * 지정하지 않으면 {@page height}나 20 pixels.
5101
- */
5102
- width?: number;
5103
- /**
5104
- * 지정하지 않으면 {@page widths}나 20 pixels.
5105
- */
5106
- height?: number;
5107
- /**
5108
- */
5109
- style?: SVGStyles;
5110
- /**
5111
- */
5112
- backgroundStyle?: SVGStyles;
5113
- }
5114
- /**
5115
- */
5116
- interface ImageOptions {
5117
- /**
5118
- */
5119
- name?: string;
5120
- /**
5121
- */
5122
- url: string;
5123
- }
5124
- /**
5125
- * @config chart.asset[type=images]
5126
- */
5127
- interface ImageListOptions extends AssetItemOptions {
5128
- /**
5129
- */
5130
- rootUrl?: string;
5131
- /**
5132
- */
5133
- width?: number;
5134
- /**
5135
- */
5136
- height?: number;
5137
- /**
5138
- */
5139
- images?: (ImageOptions | string)[];
5140
- }
5141
- /**
5142
- * 색상 목록을 미리 지정하고 {@page config.base.series#pointcolors} 등에 적용할 수 있다.<br/>
5143
- * 목록에서 색상을 꺼내오는 방식은 {@page mode} 속성으로 지정한다.
5144
- *
5145
- * @config chart.asset[type=colors]
5146
- */
5147
- interface ColorListOptions extends AssetItemOptions {
5148
- /**
5149
- * 색상 목록에서 색을 꺼내오는 방식.
5150
- *
5151
- * @default 'normal'
5152
- */
5153
- mode?: PaletteMode;
5154
- /**
5155
- * 색상 목록.
5156
- *
5157
- */
5158
- colors: string[];
5159
- }
5160
- /** @dummy */
5161
- type AssetOptionsType = LinearGradientOptions | RadialGradientOptions | PatternOptions | ColorListOptions | ImageListOptions;
5162
-
5163
5301
  /**
5164
5302
  * @internal
5165
5303
  *
@@ -6012,6 +6150,7 @@ interface IPlottingItem {
6012
6150
  collectRanges(vals: number[]): void;
6013
6151
  pointValuesPrepared(axis: IAxis): void;
6014
6152
  seriesChanged(): boolean;
6153
+ connectable(axis: IAxis): boolean;
6015
6154
  }
6016
6155
  /**
6017
6156
  * 시리즈 {@page https://en.wikipedia.org/wiki/Trend_line_(technical_analysis) 추세선} 모델.<br/>
@@ -6090,6 +6229,7 @@ interface ISeries extends IPlottingItem {
6090
6229
  _yFielder: (src: any) => any;
6091
6230
  _zFielder: (src: any) => any;
6092
6231
  _colorFielder: (src: any) => any;
6232
+ _iconFielder: (src: any) => any;
6093
6233
  displayName(): string;
6094
6234
  initPoints(source: any[]): DataPoint[];
6095
6235
  getPoints(): DataPointCollection;
@@ -6125,6 +6265,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
6125
6265
  _yFielder: (src: any) => any;
6126
6266
  _zFielder: (src: any) => any;
6127
6267
  _colorFielder: (src: any) => any;
6268
+ _iconFielder: (src: any) => any;
6128
6269
  _dataSourceDirty: boolean;
6129
6270
  _cdata: DataObject;
6130
6271
  protected _points: DataPointCollection;
@@ -6213,6 +6354,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
6213
6354
  contains(p: DataPoint): boolean;
6214
6355
  getPoints(): DataPointCollection;
6215
6356
  _getLabeledPoints(): DataPoint[];
6357
+ /**
6358
+ * 지정한 x축 범위 내에 있는 데이터포인트들을 리턴한다.
6359
+ */
6360
+ getPointsByRange(from: number, to: number): DataPoint[];
6216
6361
  _getVisiblePoints(): DataPoint[];
6217
6362
  pointLabelCount(): number;
6218
6363
  isEmpty(): boolean;
@@ -6254,6 +6399,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
6254
6399
  getVisibleSeries(): ISeries[];
6255
6400
  protected _getNoClip(polar: boolean): boolean;
6256
6401
  needClip(polar: boolean): boolean;
6402
+ connectable(axis: IAxis): boolean;
6257
6403
  setCol(col: number): void;
6258
6404
  setRow(row: number): void;
6259
6405
  initPoints(source: any[]): DataPoint[];
@@ -6453,6 +6599,7 @@ declare abstract class ConnectableSeries<OP extends ConnectableSeriesOptions = C
6453
6599
  * 추세선 설정 모델.
6454
6600
  */
6455
6601
  get trendline(): Trendline;
6602
+ connectable(axis: IAxis): boolean;
6456
6603
  }
6457
6604
  /**
6458
6605
  * dumbbell 시리즈 등에 표시되는 마커.
@@ -6608,6 +6755,7 @@ declare abstract class SeriesGroup<T extends Series = Series, OP extends SeriesG
6608
6755
  _seriesType(): string;
6609
6756
  setCol(col: number): void;
6610
6757
  setRow(row: number): void;
6758
+ connectable(axis: IAxis): boolean;
6611
6759
  isFirstVisible(series: ISeries): boolean;
6612
6760
  isLastVisible(series: ISeries): boolean;
6613
6761
  collectValues(axis: IAxis, vals: number[]): void;
@@ -6669,21 +6817,44 @@ declare abstract class MarkerSeries<OP extends MarkerSeriesOptions = MarkerSerie
6669
6817
  * //[x, y]
6670
6818
  */
6671
6819
  declare abstract class DataPoint {
6820
+ /**
6821
+ * 인덱스
6822
+ */
6672
6823
  index: number;
6673
6824
  vindex: number;
6825
+ /**
6826
+ * x 값
6827
+ */
6674
6828
  x: any;
6829
+ /**
6830
+ * y 값
6831
+ */
6675
6832
  y: any;
6676
6833
  /**
6677
6834
  * drilldown series
6835
+ *
6836
+ * @ignore
6678
6837
  */
6679
6838
  series: string | number;
6680
6839
  readonly pid: number;
6840
+ /**
6841
+ * 원본 데이터
6842
+ */
6681
6843
  source: any;
6682
6844
  labelOptions: any;
6683
6845
  isNull: boolean;
6846
+ /**
6847
+ * x 좌표상의 value
6848
+ */
6684
6849
  xValue: number;
6850
+ /**
6851
+ * y 좌표상의 value
6852
+ */
6685
6853
  yValue: number;
6686
6854
  yRate: number;
6855
+ /**
6856
+ * 표시 여부.
6857
+ */
6687
6858
  visible: boolean;
6688
6859
  color: string;
6689
6860
  xPos: number;
@@ -6691,12 +6862,17 @@ declare abstract class DataPoint {
6691
6862
  /**
6692
6863
  * for stacking. stacking 가능한 경우 이 값으로 축 상 위치를 계산한다.
6693
6864
  * [주의] yValue를 강제로 재설정하는 경우 이 값도 재설정할 것!
6865
+ *
6866
+ * @ignore
6694
6867
  */
6695
6868
  yGroup: number;
6696
6869
  drillDown: any[] | object;
6697
6870
  range: ValueRange;
6698
- zValue: number;
6699
6871
  yLabel: any;
6872
+ /**
6873
+ * 라벨과 함께 출력되는 아이콘의 경로
6874
+ */
6875
+ icon: string;
6700
6876
  _prev: any;
6701
6877
  _vr: number;
6702
6878
  constructor(source: any);
@@ -6710,6 +6886,7 @@ declare abstract class DataPoint {
6710
6886
  parse(series: ISeries): void;
6711
6887
  getPointLabel(index: number): any;
6712
6888
  getPointText(index: number): string;
6889
+ getPointIcon(index: number): string;
6713
6890
  swap(): void;
6714
6891
  getParam(param: string): any;
6715
6892
  updateValues(series: ISeries, values: any): any;
@@ -6760,8 +6937,14 @@ declare class DataPointCollection {
6760
6937
  * [x, y, z]
6761
6938
  */
6762
6939
  declare abstract class ZValuePoint extends DataPoint {
6940
+ /**
6941
+ * z 값
6942
+ */
6763
6943
  z: any;
6764
6944
  zLabel: any;
6945
+ /**
6946
+ * z 좌표상의 value
6947
+ */
6765
6948
  zValue: number;
6766
6949
  getPointLabel(index: number): any;
6767
6950
  getPointText(index: number): string;
@@ -6852,7 +7035,7 @@ interface IAxis {
6852
7035
  * data point의 값을 축 상의 값으로 리턴한다.
6853
7036
  */
6854
7037
  getValue(value: any): number;
6855
- getXValue(value: number): any;
7038
+ getXLabel(value: number): any;
6856
7039
  contains(value: number): boolean;
6857
7040
  incStep(value: number, step: any): number;
6858
7041
  /**
@@ -7272,6 +7455,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
7272
7455
  isBaseVisible(): boolean;
7273
7456
  disconnect(): void;
7274
7457
  getSeries(): ISeries[];
7458
+ getConnectableSeries(): ISeries[];
7275
7459
  collectValues(): void;
7276
7460
  collectRanges(): void;
7277
7461
  collectReferentsValues(): void;
@@ -7319,7 +7503,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
7319
7503
  hasBreak(): boolean;
7320
7504
  isBreak(pos: number): boolean;
7321
7505
  getTickLabelArgs(index: number, value: any): AxisLabelArgs;
7322
- getXValue(value: number): any;
7506
+ getXLabel(value: number): any;
7323
7507
  setPrevRate(rate: number): void;
7324
7508
  prev(pos: number): number;
7325
7509
  abstract xValueAt(pos: number): number;
@@ -7491,6 +7675,10 @@ interface AxisTickOptions extends AxisItemOptions {
7491
7675
  * 연속축의 tick 스텝 목록을 동적으로 리턴하는 {@page config.xAxis.linear.tick#stepcallback 콜백}의 매개변수로 사용된다.
7492
7676
  */
7493
7677
  interface StepCallbackArgs {
7678
+ /**
7679
+ * RealChart의 공개 {@page api.Chart} 모델
7680
+ */
7681
+ chart: object;
7494
7682
  /**
7495
7683
  */
7496
7684
  length: number;
@@ -7763,6 +7951,7 @@ interface AxisLabelOptions extends IconedTextOptions {
7763
7951
  */
7764
7952
  styleCallback?: (args: AxisLabelArgs) => SVGStyleOrClass;
7765
7953
  /**
7954
+ * @ignore 미구현
7766
7955
  * 축 label과 함께 표시될 icon url을 리턴한다.
7767
7956
  */
7768
7957
  iconCallback?: (args: AxisLabelArgs) => string;
@@ -7996,6 +8185,10 @@ type CrosshairType = typeof _CrosshairType[keyof typeof _CrosshairType];
7996
8185
  * Crosshair 위치가 변경될 때 발생되는 {@page config.base.axis.crosshair#onChange 콜백}의 매개변수로 사용된다.<br/>
7997
8186
  */
7998
8187
  interface CrosshairCallbackArgs {
8188
+ /**
8189
+ * RealChart의 공개 {@page api.Chart} 모델
8190
+ */
8191
+ chart: object;
7999
8192
  /**
8000
8193
  */
8001
8194
  axis: object;
@@ -10024,31 +10217,6 @@ interface ChartConfiguration {
10024
10217
  exporting?: ExporterOptions;
10025
10218
  }
10026
10219
 
10027
- declare abstract class AssetItem<T extends AssetItemOptions> {
10028
- source: T;
10029
- constructor(source: T);
10030
- hasDef(): boolean;
10031
- abstract getEelement(doc: Document, source: T): Element;
10032
- }
10033
- interface IAssetOwner {
10034
- addDef(element: Element): void;
10035
- removeDef(element: string): void;
10036
- }
10037
- /**
10038
- * 종류 구분없이 id는 유일하게 반드시 지정해야 한다.
10039
- */
10040
- declare class AssetCollection {
10041
- private _items;
10042
- private _map;
10043
- load(source: any): AssetOptionsType | AssetOptionsType[];
10044
- updateOptions(source: any, render: boolean): void;
10045
- register(doc: Document, owner: IAssetOwner): void;
10046
- unregister(owner: IAssetOwner): void;
10047
- get(id: string): AssetItem<AssetItemOptions>;
10048
- get options(): AssetOptionsType[];
10049
- private $_loadItem;
10050
- }
10051
-
10052
10220
  /**
10053
10221
  * {@page Gauge 게이지}와 {@page GaugeGroup 게이지그룹} 모델들의 기반 클래스.<br/>
10054
10222
  * {@page options} 모델은 {@page op.GaugeBaseOptions}이다.<br/>
@@ -10569,6 +10737,7 @@ interface ISplit extends ChartItem<SplitOptions> {
10569
10737
  prepareRender(xAxes: AxisCollection, yAxes: AxisCollection): void;
10570
10738
  }
10571
10739
  interface IChart {
10740
+ wrapper: object;
10572
10741
  options: ChartConfiguration;
10573
10742
  type?: string;
10574
10743
  gaugeType?: string;
@@ -10686,6 +10855,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
10686
10855
  private static gauge_class;
10687
10856
  static registerSplitClass(clazz: any): void;
10688
10857
  private static defaults;
10858
+ private _wrapper;
10689
10859
  options: ChartConfiguration;
10690
10860
  private _bases;
10691
10861
  _data: ChartDataCollection;
@@ -10716,7 +10886,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
10716
10886
  assignTemplates: (target: any) => any;
10717
10887
  _dataDirty: boolean;
10718
10888
  _loadAnimatable: boolean;
10719
- constructor(config?: ChartConfiguration);
10889
+ constructor(config?: ChartConfiguration, wrapper?: any);
10720
10890
  private _initOptions;
10721
10891
  _createChart(config: any): IChart;
10722
10892
  animatable(): boolean;
@@ -10724,6 +10894,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
10724
10894
  getTooltipContext(scope: TooltipScope, series: ISeries, point: DataPoint): ITooltipContext;
10725
10895
  get chart(): IChart;
10726
10896
  anchorByName(name: string): ChartItem;
10897
+ get wrapper(): object;
10727
10898
  get type(): "line" | "area" | "linegroup" | "spline" | "bellcurve" | "areagroup" | "barrange" | "bar" | "bargroup" | "piegroup" | "pie" | "boxplot" | "bubble" | "bump" | "candlestick" | "ohlc" | "circlebar" | "circlebargroup" | "dumbbell" | "equalizer" | "errorbar" | "funnel" | "histogram" | "arearange" | "lollipop" | "pareto" | "scatter" | "waterfall" | "treemap" | "heatmap" | "vector";
10728
10899
  get gaugeType(): "circle" | "linear" | "bullet" | "clock";
10729
10900
  get polar(): boolean;
@@ -12193,7 +12364,11 @@ declare class AxisView extends ChartElement<Axis> {
12193
12364
  hideCrosshiar(): void;
12194
12365
  scroll(pos: number): void;
12195
12366
  prepare(m: Axis): void;
12196
- checkExtents(loaded: boolean): void;
12367
+ checkExtents(loaded: boolean): {
12368
+ axis: Axis;
12369
+ from: number;
12370
+ to: number;
12371
+ };
12197
12372
  clean(): void;
12198
12373
  protected _doMeasure(doc: Document, model: Axis, hintWidth: number, hintHeight: number, phase: number): Size;
12199
12374
  protected _doLayout(): void;
@@ -12418,18 +12593,15 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
12418
12593
  w: number;
12419
12594
  i?: string;
12420
12595
  }[];
12421
- _cats: string[];
12422
12596
  _weights: number[];
12423
12597
  _len: number;
12424
12598
  private _map;
12425
12599
  private _catPad;
12426
12600
  private _catMin;
12427
- private _catMax;
12428
12601
  private _catLen;
12429
12602
  _pts: number[];
12430
12603
  _tstep: number;
12431
12604
  get tick(): CategoryAxisTick;
12432
- getCategories(): string[];
12433
12605
  xValueAt(pos: number): number;
12434
12606
  getWdith(length: number, category: number): number;
12435
12607
  _type(): string;
@@ -12448,7 +12620,7 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
12448
12620
  getUnitLen(length: number, value: number): number;
12449
12621
  getLabelLength(length: number, value: number): number;
12450
12622
  getValue(value: any): number;
12451
- getXValue(value: number): any;
12623
+ getXLabel(value: number): any;
12452
12624
  _doCalculateRange(values: number[]): {
12453
12625
  min: number;
12454
12626
  max: number;
@@ -12504,7 +12676,7 @@ declare class TimeAxis extends ContinuousAxis<TimeAxisOptions> {
12504
12676
  date(value: number): Date;
12505
12677
  axisValueAt(length: number, pos: number): any;
12506
12678
  value2Tooltip(value: number): any;
12507
- getXValue(value: number): number | Date;
12679
+ getXLabel(value: number): number | Date;
12508
12680
  }
12509
12681
 
12510
12682
  /**
@@ -13216,6 +13388,7 @@ declare class PieSeriesGroup extends SeriesGroup<PieSeries, PieSeriesGroupOption
13216
13388
  private _innerDim;
13217
13389
  getPolarSize(width: number, height: number): number;
13218
13390
  getInnerRadius(rd: number): number;
13391
+ connectable(axis: IAxis): boolean;
13219
13392
  protected _doApply(options: PieSeriesGroupOptions): void;
13220
13393
  needAxes(): boolean;
13221
13394
  protected _canContain(ser: Series): boolean;
@@ -13608,4 +13781,4 @@ declare const configure: typeof Globals.configure;
13608
13781
  declare const createChart: typeof Globals.createChart;
13609
13782
  declare const createData: typeof Globals.createData;
13610
13783
 
13611
- export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, ArcElement, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, ArrowHead, AssetCollection, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisCollection, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisScrollView, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, AxisView, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BasedSeries, BasedSeriesOptions, BellCurveSeries, BellCurveSeriesOptions, Body, BodyOptions, BodyView, BoxPlotSeries, BoxPlotSeriesOptions, BubbleSeries, BubbleSeriesOptions, BulletGaugeBandOptions, BulletGaugeGroupOptions, BulletGaugeGroupType, BulletGaugeOptions, BulletGaugeType, BulletTargetBarOptions, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartControl, ChartData, ChartDataCollection, ChartDataOptions, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptions, ChartOptionsOptions, ChartText, ChartTextOptions, ChartView, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleElement, CircleGaugeGroupOptions, CircleGaugeGroupType, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePinOptions, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScaleOptions, CircleGaugeType, CircleGaugeValueMarkerOptions, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGaugeHandOptions, ClockGaugeLabelOptions, ClockGaugeOptions, ClockGaugePinOptions, ClockGaugeRimOptions, ClockGaugeSecondHandOptions, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClockGaugeType, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, Color, ColorListOptions, ConnectableSeries, ConnectableSeriesOptions, ConstraintSeriesGroup, ContentView, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, ElementPool, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, ExporterOptions, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeGroupView, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GaugeView, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HistogramSeries, HistogramSeriesOptions, IAxis, IChart, ICircularGaugeExtents, IMinMax, IPercentSize, IPlottingItem, IPlottingOwner, IPointView, IRect, ISeries, ISplit, IconedText, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageOptions, LayerElement, Legend, LegendOptions, LineElement, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGaugeBaseOptions, LinearGaugeChildLabelOptions, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeGroupType, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScaleOptions, LinearGaugeType, LinearGradientOptions, LinearValueBarOptions, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, ORG_ANGLE, OhlcSeries, OhlcSeriesOptions, PI_2, PaneBodyOptions, PaneContainer, PaneOptions, ParetoSeries, ParetoSeriesOptions, PathBuilder, PathElement, PatternOptions, PercentSize, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, Point, PointElement, PointHovering, PointHoveringOptions, PointLabelView, RAD_DEG, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcAnimation, RcControl, RcElement, RcObject, RectElement, SVGStyleOrClass, SVGStyles, ScaleView, ScatterSeries, ScatterSeriesOptions, SectionView, SectorElement, Series, SeriesAnimation, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, Size, SplineSeries, SplineSeriesOptions, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeriesOptions, TreemapSeriesType, Trendline, TrendlineOptions, Utils, ValueGauge, ValueGaugeOptions, ValueGaugeView, ValueRange, ValueRangeList, VectorSeriesOptions, VectorSeriesType, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesOptions, WidgetSeriesPoint, WidgetSeriesView, WordCloudSeriesOptions, WordCloudSeriesType, ZValuePoint, ZoomButtonOptions, absv, assignObj, buildValueRanges, calcPercent, configure, copyObj, cos, createChart, createData, createRect, extend, fixnum, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, rectToSize, setAnimatable, setDebugging, setLogging, sin, toStr };
13784
+ export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, ArcElement, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, ArrowHead, AssetCollection, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisCollection, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisScrollView, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, AxisView, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BasedSeries, BasedSeriesOptions, BellCurveSeries, BellCurveSeriesOptions, Body, BodyOptions, BodyView, BoxPlotSeries, BoxPlotSeriesOptions, BubbleSeries, BubbleSeriesOptions, BulletGaugeBandOptions, BulletGaugeGroupOptions, BulletGaugeGroupType, BulletGaugeOptions, BulletGaugeType, BulletTargetBarOptions, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartControl, ChartData, ChartDataCollection, ChartDataOptions, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptions, ChartOptionsOptions, ChartPoint, ChartText, ChartTextOptions, ChartView, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleElement, CircleGaugeGroupOptions, CircleGaugeGroupType, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePinOptions, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScaleOptions, CircleGaugeType, CircleGaugeValueMarkerOptions, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGaugeHandOptions, ClockGaugeLabelOptions, ClockGaugeOptions, ClockGaugePinOptions, ClockGaugeRimOptions, ClockGaugeSecondHandOptions, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClockGaugeType, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, Color, ColorListOptions, ConnectableSeries, ConnectableSeriesOptions, ConstraintSeriesGroup, ContentView, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, ElementPool, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, ExporterOptions, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeGroupView, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GaugeView, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HistogramSeries, HistogramSeriesOptions, IAxis, IChart, ICircularGaugeExtents, IMinMax, IPercentSize, IPlottingItem, IPlottingOwner, IPointView, IRect, ISeries, ISplit, IconedText, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageOptions, LayerElement, Legend, LegendOptions, LineElement, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGaugeBaseOptions, LinearGaugeChildLabelOptions, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeGroupType, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScaleOptions, LinearGaugeType, LinearGradientOptions, LinearValueBarOptions, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, ORG_ANGLE, OhlcSeries, OhlcSeriesOptions, PI_2, PaneBodyOptions, PaneContainer, PaneOptions, ParetoSeries, ParetoSeriesOptions, PathBuilder, PathElement, PatternOptions, PercentSize, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, Point, PointElement, PointHovering, PointHoveringOptions, PointLabelView, RAD_DEG, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcAnimation, RcControl, RcElement, RcObject, RectElement, SVGStyleOrClass, SVGStyles, ScaleView, ScatterSeries, ScatterSeriesOptions, SectionView, SectorElement, Series, SeriesAnimation, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, Size, SplineSeries, SplineSeriesOptions, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeriesOptions, TreemapSeriesType, Trendline, TrendlineOptions, Utils, ValueGauge, ValueGaugeOptions, ValueGaugeView, ValueRange, ValueRangeList, VectorSeriesOptions, VectorSeriesType, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesOptions, WidgetSeriesPoint, WidgetSeriesView, WordCloudSeriesOptions, WordCloudSeriesType, ZValuePoint, ZoomButtonOptions, ZoomCallbackArgs, absv, assignObj, buildValueRanges, calcPercent, configure, copyObj, cos, createChart, createData, createRect, extend, fixnum, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, rectToSize, setAnimatable, setDebugging, setLogging, sin, toStr };