realchart 0.9.14 → 0.9.15
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/dist/index.d.ts +206 -26
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +6 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,11 @@ declare abstract class RcWrappableObject extends RcObject {
|
|
|
69
69
|
isWrapper(w: any): boolean;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
interface IPoint {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
72
77
|
interface ISize {
|
|
73
78
|
width: number;
|
|
74
79
|
height: number;
|
|
@@ -81,11 +86,6 @@ interface IRect {
|
|
|
81
86
|
height: number;
|
|
82
87
|
}
|
|
83
88
|
|
|
84
|
-
interface IPoint {
|
|
85
|
-
x: number;
|
|
86
|
-
y: number;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
89
|
interface IPointerHandler {
|
|
90
90
|
handleDown(ev: PointerEvent): void;
|
|
91
91
|
handleUp(ev: PointerEvent): void;
|
|
@@ -229,7 +229,7 @@ declare class RcElement extends RcObject {
|
|
|
229
229
|
setVisible(value: boolean): boolean;
|
|
230
230
|
get rotation(): number;
|
|
231
231
|
set rotation(value: number);
|
|
232
|
-
|
|
232
|
+
setRotation(originX: number, originY: number, rotation: number): RcElement;
|
|
233
233
|
getStyle(prop: string): string;
|
|
234
234
|
hasStyle(className: string): boolean;
|
|
235
235
|
add(child: RcElement): RcElement;
|
|
@@ -461,6 +461,23 @@ declare abstract class FormattableText extends ChartText {
|
|
|
461
461
|
private $_getNumberText;
|
|
462
462
|
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols?: boolean): string;
|
|
463
463
|
}
|
|
464
|
+
declare class BackgroundImage extends ChartItem {
|
|
465
|
+
url: string;
|
|
466
|
+
style: SVGStyleOrClass;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
declare abstract class Annotation extends ChartItem {
|
|
470
|
+
constructor(chart: IChart);
|
|
471
|
+
abstract _type(): string;
|
|
472
|
+
front: boolean;
|
|
473
|
+
name: string;
|
|
474
|
+
align: Align;
|
|
475
|
+
verticalAlign: VerticalAlign;
|
|
476
|
+
offsetX: number;
|
|
477
|
+
offsetY: number;
|
|
478
|
+
rotation: number;
|
|
479
|
+
getPostion(wDomain: number, hDomain: number, width: number, height: number): IPoint;
|
|
480
|
+
}
|
|
464
481
|
|
|
465
482
|
declare enum Shape {
|
|
466
483
|
CIRCLE = "circle",
|
|
@@ -579,11 +596,15 @@ declare class DataPointLabel extends FormattableText {
|
|
|
579
596
|
protected _doLoad(source: any): void;
|
|
580
597
|
}
|
|
581
598
|
interface IPlottingItem {
|
|
599
|
+
_row: number;
|
|
600
|
+
_col: number;
|
|
601
|
+
row: number;
|
|
602
|
+
col: number;
|
|
582
603
|
index: number;
|
|
583
604
|
xAxis: string | number;
|
|
584
605
|
yAxis: string | number;
|
|
585
606
|
visible: boolean;
|
|
586
|
-
|
|
607
|
+
zOrder: number;
|
|
587
608
|
getVisiblePoints(): DataPoint[];
|
|
588
609
|
getLegendSources(list: ILegendSource[]): void;
|
|
589
610
|
needAxes(): boolean;
|
|
@@ -661,7 +682,6 @@ interface ISeries extends IPlottingItem {
|
|
|
661
682
|
displayName(): string;
|
|
662
683
|
createPoints(source: any[]): DataPoint[];
|
|
663
684
|
getPoints(): DataPointCollection;
|
|
664
|
-
getValue(point: DataPoint, axis: IAxis): number;
|
|
665
685
|
isVisible(p: DataPoint): boolean;
|
|
666
686
|
}
|
|
667
687
|
interface IDataPointCallbackArgs {
|
|
@@ -682,7 +702,8 @@ type PointClickCallbck = (args: IDataPointCallbackArgs) => boolean;
|
|
|
682
702
|
declare abstract class Series extends ChartItem implements ISeries, ILegendSource {
|
|
683
703
|
static readonly LEGEND_MARKER = "rct-legend-item-marker";
|
|
684
704
|
static _loadSeries(chart: IChart, src: any, defType?: string): Series;
|
|
685
|
-
|
|
705
|
+
_row: number;
|
|
706
|
+
_col: number;
|
|
686
707
|
index: number;
|
|
687
708
|
group: SeriesGroup<Series>;
|
|
688
709
|
_xAxisObj: IAxis;
|
|
@@ -700,10 +721,12 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
|
|
|
700
721
|
constructor(chart: IChart, name?: string);
|
|
701
722
|
abstract _type(): string;
|
|
702
723
|
readonly name: string;
|
|
703
|
-
|
|
724
|
+
label: string;
|
|
704
725
|
readonly pointLabel: DataPointLabel;
|
|
705
726
|
readonly trendline: Trendline;
|
|
706
727
|
readonly tooltip: Tooltip;
|
|
728
|
+
row: number;
|
|
729
|
+
col: number;
|
|
707
730
|
visibleThreshold: number;
|
|
708
731
|
zOrder: number;
|
|
709
732
|
xAxis: string | number;
|
|
@@ -730,7 +753,6 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
|
|
|
730
753
|
pointLabelCount(): number;
|
|
731
754
|
isEmpty(): boolean;
|
|
732
755
|
needAxes(): boolean;
|
|
733
|
-
isSide(): boolean;
|
|
734
756
|
canCategorized(): boolean;
|
|
735
757
|
defaultYAxisType(): string;
|
|
736
758
|
clusterable(): boolean;
|
|
@@ -749,7 +771,6 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
|
|
|
749
771
|
createPoints(source: any[]): DataPoint[];
|
|
750
772
|
getXStart(): number;
|
|
751
773
|
getXStep(): number;
|
|
752
|
-
getValue(point: DataPoint, axis: IAxis): number;
|
|
753
774
|
prepareRender(): void;
|
|
754
775
|
collectCategories(axis: IAxis): string[];
|
|
755
776
|
collectValues(axis: IAxis, vals: number[]): void;
|
|
@@ -802,7 +823,8 @@ declare class PlottingItemCollection {
|
|
|
802
823
|
series(): Series[];
|
|
803
824
|
needAxes(): boolean;
|
|
804
825
|
getSeries(name: string): Series;
|
|
805
|
-
getVisibleSeries(
|
|
826
|
+
getVisibleSeries(): Series[];
|
|
827
|
+
getPaneSeries(row: number, col: number): Series[];
|
|
806
828
|
seriesByPoint(point: DataPoint): Series;
|
|
807
829
|
getLegendSources(): ILegendSource[];
|
|
808
830
|
load(src: any): void;
|
|
@@ -819,18 +841,22 @@ declare enum SeriesGroupLayout {
|
|
|
819
841
|
}
|
|
820
842
|
declare abstract class SeriesGroup<T extends Series> extends ChartItem implements ISeriesGroup {
|
|
821
843
|
layoutMax: number;
|
|
844
|
+
_row: number;
|
|
845
|
+
_col: number;
|
|
822
846
|
index: number;
|
|
823
847
|
private _series;
|
|
824
848
|
protected _visibles: T[];
|
|
825
849
|
_xAxisObj: IAxis;
|
|
826
850
|
_yAxisObj: IAxis;
|
|
827
851
|
_stackPoints: Map<number, DataPoint[]>;
|
|
852
|
+
row: number;
|
|
853
|
+
col: number;
|
|
828
854
|
layout: SeriesGroupLayout;
|
|
829
855
|
xAxis: string | number;
|
|
830
856
|
yAxis: string | number;
|
|
831
857
|
visibleInLegend: boolean;
|
|
858
|
+
zOrder: number;
|
|
832
859
|
get series(): T[];
|
|
833
|
-
isSide(): boolean;
|
|
834
860
|
needAxes(): boolean;
|
|
835
861
|
isEmpty(): boolean;
|
|
836
862
|
canCategorized(): boolean;
|
|
@@ -861,6 +887,64 @@ declare abstract class SeriesGroup<T extends Series> extends ChartItem implement
|
|
|
861
887
|
private $_collectFill;
|
|
862
888
|
}
|
|
863
889
|
|
|
890
|
+
declare enum ZoomType {
|
|
891
|
+
NONE = "none",
|
|
892
|
+
X = "x",
|
|
893
|
+
Y = "y",
|
|
894
|
+
BOTH = "both"
|
|
895
|
+
}
|
|
896
|
+
declare class ZoomButton extends ChartItem {
|
|
897
|
+
body: Body;
|
|
898
|
+
constructor(body: Body);
|
|
899
|
+
isVisible(): boolean;
|
|
900
|
+
}
|
|
901
|
+
declare class BodySplit extends ChartItem {
|
|
902
|
+
body: Body;
|
|
903
|
+
constructor(body: Body);
|
|
904
|
+
size: number;
|
|
905
|
+
}
|
|
906
|
+
declare class Body extends ChartItem {
|
|
907
|
+
private _radius;
|
|
908
|
+
private _centerX;
|
|
909
|
+
private _centerY;
|
|
910
|
+
private _annotations;
|
|
911
|
+
private _radiusDim;
|
|
912
|
+
private _cxDim;
|
|
913
|
+
private _cyDim;
|
|
914
|
+
private _rd;
|
|
915
|
+
private _cx;
|
|
916
|
+
private _cy;
|
|
917
|
+
constructor(chart: IChart);
|
|
918
|
+
split: BodySplit;
|
|
919
|
+
get radius(): RtPercentSize;
|
|
920
|
+
set radius(value: RtPercentSize);
|
|
921
|
+
get centerX(): RtPercentSize;
|
|
922
|
+
set centerX(value: RtPercentSize);
|
|
923
|
+
get centerY(): RtPercentSize;
|
|
924
|
+
set centerY(value: RtPercentSize);
|
|
925
|
+
startAngle: number;
|
|
926
|
+
circular: boolean;
|
|
927
|
+
image: BackgroundImage;
|
|
928
|
+
zoomType: ZoomType;
|
|
929
|
+
zoomButton: ZoomButton;
|
|
930
|
+
canZoom(): boolean;
|
|
931
|
+
getSplits(): number[];
|
|
932
|
+
calcRadius(width: number, height: number): number;
|
|
933
|
+
setPolar(width: number, height: number): Body;
|
|
934
|
+
getStartAngle(): number;
|
|
935
|
+
getPolar(series: Series): {
|
|
936
|
+
start: number;
|
|
937
|
+
cx: number;
|
|
938
|
+
cy: number;
|
|
939
|
+
rd: number;
|
|
940
|
+
};
|
|
941
|
+
isZoomed(): boolean;
|
|
942
|
+
getAnnotations(): Annotation[];
|
|
943
|
+
protected _doLoadProp(prop: string, value: any): boolean;
|
|
944
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
945
|
+
private $_loadAnnotations;
|
|
946
|
+
}
|
|
947
|
+
|
|
864
948
|
declare enum PaletteMode {
|
|
865
949
|
NORMAL = "normal",
|
|
866
950
|
MIXED = "mixed",
|
|
@@ -877,6 +961,8 @@ declare class Title extends ChartItem {
|
|
|
877
961
|
}
|
|
878
962
|
|
|
879
963
|
declare abstract class GaugeBase extends Widget {
|
|
964
|
+
_row: number;
|
|
965
|
+
_col: number;
|
|
880
966
|
private _size;
|
|
881
967
|
private _width;
|
|
882
968
|
private _height;
|
|
@@ -884,6 +970,8 @@ declare abstract class GaugeBase extends Widget {
|
|
|
884
970
|
private _right;
|
|
885
971
|
private _top;
|
|
886
972
|
private _bottom;
|
|
973
|
+
row: number;
|
|
974
|
+
col: number;
|
|
887
975
|
index: number;
|
|
888
976
|
private _sizeDim;
|
|
889
977
|
private _widthDim;
|
|
@@ -894,7 +982,6 @@ declare abstract class GaugeBase extends Widget {
|
|
|
894
982
|
private _bottomDim;
|
|
895
983
|
constructor(chart: IChart);
|
|
896
984
|
abstract _type(): string;
|
|
897
|
-
side: boolean;
|
|
898
985
|
name: string;
|
|
899
986
|
get left(): RtPercentSize;
|
|
900
987
|
set left(value: RtPercentSize);
|
|
@@ -952,7 +1039,8 @@ declare class GaugeCollection {
|
|
|
952
1039
|
constructor(chart: IChart);
|
|
953
1040
|
get count(): number;
|
|
954
1041
|
get firstGauge(): Gauge;
|
|
955
|
-
getVisibles(
|
|
1042
|
+
getVisibles(): GaugeBase[];
|
|
1043
|
+
getPaneVisibles(row: number, col: number): GaugeBase[];
|
|
956
1044
|
getGauge(name: string): Gauge;
|
|
957
1045
|
get(name: string | number): GaugeBase;
|
|
958
1046
|
load(src: any): void;
|
|
@@ -1129,23 +1217,88 @@ declare abstract class CircularGauge extends ValueGauge {
|
|
|
1129
1217
|
protected _doPrepareRender(chart: IChart): void;
|
|
1130
1218
|
}
|
|
1131
1219
|
|
|
1220
|
+
declare class PaneTitle extends ChartItem {
|
|
1221
|
+
pane: Pane;
|
|
1222
|
+
constructor(pane: Pane);
|
|
1223
|
+
text: string;
|
|
1224
|
+
align: Align;
|
|
1225
|
+
backgroundStyle: SVGStyleOrClass;
|
|
1226
|
+
isVisible(): boolean;
|
|
1227
|
+
protected _doLoadSimple(source: any): boolean;
|
|
1228
|
+
}
|
|
1229
|
+
declare class PaneBody extends Body {
|
|
1230
|
+
pane: Pane;
|
|
1231
|
+
constructor(pane: Pane);
|
|
1232
|
+
}
|
|
1233
|
+
declare class Pane extends ChartItem {
|
|
1234
|
+
row: number;
|
|
1235
|
+
col: number;
|
|
1236
|
+
width: number;
|
|
1237
|
+
height: number;
|
|
1238
|
+
constructor(chart: IChart, row: number, col: number);
|
|
1239
|
+
title: PaneTitle;
|
|
1240
|
+
body: PaneBody;
|
|
1241
|
+
}
|
|
1242
|
+
declare class Split extends ChartItem {
|
|
1243
|
+
private _cols;
|
|
1244
|
+
private _rows;
|
|
1245
|
+
private _widths;
|
|
1246
|
+
private _heights;
|
|
1247
|
+
private _panes;
|
|
1248
|
+
private _xAxes;
|
|
1249
|
+
private _yAxes;
|
|
1250
|
+
_vcols: number;
|
|
1251
|
+
_vrows: number;
|
|
1252
|
+
private _vwidths;
|
|
1253
|
+
private _vheights;
|
|
1254
|
+
private _vpanes;
|
|
1255
|
+
constructor(chart: IChart);
|
|
1256
|
+
rows: number | (number | `${number}*` | '*')[];
|
|
1257
|
+
cols: number | (number | `${number}*` | '*')[];
|
|
1258
|
+
count(): number;
|
|
1259
|
+
rowCount(): number;
|
|
1260
|
+
colCount(): number;
|
|
1261
|
+
paneCount(): number;
|
|
1262
|
+
getPane(row: number, col: number): Pane;
|
|
1263
|
+
getRow(row: number): Pane[];
|
|
1264
|
+
getColumn(col: number): Pane[];
|
|
1265
|
+
protected _doLoadSimple(source: any): boolean;
|
|
1266
|
+
protected _doLoadProp(prop: string, value: any): boolean;
|
|
1267
|
+
load(source: any): ChartItem;
|
|
1268
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
1269
|
+
getXLens(length: number): number[];
|
|
1270
|
+
getYLens(length: number): number[];
|
|
1271
|
+
layoutAxes(width: number, height: number, inverted: boolean, phase: number): void;
|
|
1272
|
+
private $_calcAxesPoints;
|
|
1273
|
+
calcAxesPoints(xLens: number[], yLens: number[]): void;
|
|
1274
|
+
calcSizes(width: number, height: number): void;
|
|
1275
|
+
private $_parseSizes;
|
|
1276
|
+
private $_parsePanes;
|
|
1277
|
+
private $_loadPanes;
|
|
1278
|
+
private $_collectPanes;
|
|
1279
|
+
private $_calcSizes;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1132
1282
|
interface IChart {
|
|
1133
1283
|
type: string;
|
|
1134
1284
|
gaugeType: string;
|
|
1135
|
-
|
|
1136
|
-
|
|
1285
|
+
_xPaneAxes: XPaneAxisMatrix;
|
|
1286
|
+
_yPaneAxes: YPaneAxisMatrix;
|
|
1137
1287
|
options: ChartOptions;
|
|
1138
1288
|
first: IPlottingItem;
|
|
1139
1289
|
firstSeries: Series;
|
|
1140
1290
|
xAxis: IAxis;
|
|
1141
1291
|
yAxis: IAxis;
|
|
1142
1292
|
subtitle: Title;
|
|
1293
|
+
body: Body;
|
|
1294
|
+
split: Split;
|
|
1143
1295
|
colors: string[];
|
|
1144
1296
|
_createChart(config: any): IChart;
|
|
1145
1297
|
assignTemplates(target: any): any;
|
|
1146
1298
|
isGauge(): boolean;
|
|
1147
1299
|
isPolar(): boolean;
|
|
1148
1300
|
isInverted(): boolean;
|
|
1301
|
+
isSplitted(): boolean;
|
|
1149
1302
|
animatable(): boolean;
|
|
1150
1303
|
startAngle(): number;
|
|
1151
1304
|
seriesByName(series: string): Series;
|
|
@@ -1156,6 +1309,7 @@ interface IChart {
|
|
|
1156
1309
|
_getAxisType(type: string): any;
|
|
1157
1310
|
_getGaugeType(type: string): any;
|
|
1158
1311
|
_getGaugeGroupType(type: string): any;
|
|
1312
|
+
_getAnnotationType(type: string): any;
|
|
1159
1313
|
_getSeries(): PlottingItemCollection;
|
|
1160
1314
|
_getGauges(): GaugeCollection;
|
|
1161
1315
|
_getXAxes(): AxisCollection;
|
|
@@ -1208,6 +1362,7 @@ declare class Crosshair extends ChartItem {
|
|
|
1208
1362
|
showAlways: boolean;
|
|
1209
1363
|
followPointer: boolean;
|
|
1210
1364
|
numberFormat: string;
|
|
1365
|
+
timeFormat: string;
|
|
1211
1366
|
isBar(): boolean;
|
|
1212
1367
|
getFlag(length: number, pos: number): string;
|
|
1213
1368
|
}
|
|
@@ -1215,7 +1370,8 @@ declare class Crosshair extends ChartItem {
|
|
|
1215
1370
|
interface IAxis {
|
|
1216
1371
|
type(): string;
|
|
1217
1372
|
chart: IChart;
|
|
1218
|
-
|
|
1373
|
+
row: number;
|
|
1374
|
+
col: number;
|
|
1219
1375
|
_vlen: number;
|
|
1220
1376
|
_isX: boolean;
|
|
1221
1377
|
_isHorz: boolean;
|
|
@@ -1230,11 +1386,11 @@ interface IAxis {
|
|
|
1230
1386
|
length(): number;
|
|
1231
1387
|
zoom(start: number, end: number): boolean;
|
|
1232
1388
|
getValue(value: any): number;
|
|
1233
|
-
parseValue(value: any): number;
|
|
1234
1389
|
contains(value: number): boolean;
|
|
1235
1390
|
incStep(value: number, step: any): number;
|
|
1236
1391
|
getPosition(length: number, value: number, point?: boolean): number;
|
|
1237
1392
|
getValueAt(length: number, pos: number): number;
|
|
1393
|
+
getAxisValueAt(length: number, pos: number): any;
|
|
1238
1394
|
getUnitLength(length: number, value: number): number;
|
|
1239
1395
|
hasBreak(): boolean;
|
|
1240
1396
|
isBreak(pos: number): boolean;
|
|
@@ -1255,7 +1411,7 @@ declare enum AxisTitleAlign {
|
|
|
1255
1411
|
declare class AxisTitle extends AxisItem {
|
|
1256
1412
|
private _rotation;
|
|
1257
1413
|
text: string;
|
|
1258
|
-
get
|
|
1414
|
+
get rotation(): 0 | 90 | 270 | -90 | -270;
|
|
1259
1415
|
set rotation(value: 0 | 90 | 270 | -90 | -270);
|
|
1260
1416
|
align: AxisTitleAlign;
|
|
1261
1417
|
offset: number;
|
|
@@ -1373,6 +1529,7 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1373
1529
|
protected _min: number;
|
|
1374
1530
|
protected _max: number;
|
|
1375
1531
|
_zoom: AxisZoom;
|
|
1532
|
+
_runPos: AxisPosition;
|
|
1376
1533
|
constructor(chart: IChart, isX: boolean, name?: string);
|
|
1377
1534
|
abstract type(): string;
|
|
1378
1535
|
readonly name: string;
|
|
@@ -1386,7 +1543,6 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1386
1543
|
readonly scrollBar: AxisScrollBar;
|
|
1387
1544
|
row: number;
|
|
1388
1545
|
col: number;
|
|
1389
|
-
side: boolean;
|
|
1390
1546
|
position: AxisPosition;
|
|
1391
1547
|
reversed: boolean;
|
|
1392
1548
|
minValue: number;
|
|
@@ -1400,6 +1556,7 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1400
1556
|
axisMax(): number;
|
|
1401
1557
|
abstract isContinuous(): boolean;
|
|
1402
1558
|
abstract getValueAt(length: number, pos: number): number;
|
|
1559
|
+
getAxisValueAt(length: number, pos: number): any;
|
|
1403
1560
|
protected abstract _createTickModel(): AxisTick;
|
|
1404
1561
|
protected abstract _createLabelModel(): AxisLabel;
|
|
1405
1562
|
protected abstract _doPrepareRender(): void;
|
|
@@ -1416,7 +1573,6 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1416
1573
|
getLabelLength(length: number, value: number): number;
|
|
1417
1574
|
getValue(value: any): number;
|
|
1418
1575
|
incStep(value: number, step: any): number;
|
|
1419
|
-
parseValue(value: any): number;
|
|
1420
1576
|
contains(value: number): boolean;
|
|
1421
1577
|
resetZoom(): void;
|
|
1422
1578
|
zoom(start: number, end: number): boolean;
|
|
@@ -1435,11 +1591,9 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1435
1591
|
declare class AxisCollection {
|
|
1436
1592
|
readonly chart: IChart;
|
|
1437
1593
|
readonly isX: boolean;
|
|
1438
|
-
readonly row: number;
|
|
1439
|
-
readonly col: number;
|
|
1440
1594
|
protected _items: Axis[];
|
|
1441
1595
|
private _map;
|
|
1442
|
-
constructor(chart: IChart, isX: boolean
|
|
1596
|
+
constructor(chart: IChart, isX: boolean);
|
|
1443
1597
|
get count(): number;
|
|
1444
1598
|
get first(): Axis;
|
|
1445
1599
|
get items(): Axis[];
|
|
@@ -1459,6 +1613,32 @@ declare class AxisCollection {
|
|
|
1459
1613
|
resetZoom(): void;
|
|
1460
1614
|
private $_loadAxis;
|
|
1461
1615
|
}
|
|
1616
|
+
declare class PaneAxes {
|
|
1617
|
+
_axes: Axis[];
|
|
1618
|
+
isEmpty(): boolean;
|
|
1619
|
+
}
|
|
1620
|
+
declare abstract class PaneAxisMatrix {
|
|
1621
|
+
chart: IChart;
|
|
1622
|
+
isX: boolean;
|
|
1623
|
+
protected _matrix: PaneAxes[][];
|
|
1624
|
+
constructor(chart: IChart, isX: boolean);
|
|
1625
|
+
rows(): number;
|
|
1626
|
+
cols(): number;
|
|
1627
|
+
abstract prepare(axes: AxisCollection, rows: number, cols: number): void;
|
|
1628
|
+
get(row: number, col: number): PaneAxes;
|
|
1629
|
+
getRow(row: number): PaneAxes[];
|
|
1630
|
+
getColumn(col: number): PaneAxes[];
|
|
1631
|
+
buildTicks(lens: number[]): void;
|
|
1632
|
+
calcPoints(lens: number[], phase: number): void;
|
|
1633
|
+
}
|
|
1634
|
+
declare class XPaneAxisMatrix extends PaneAxisMatrix {
|
|
1635
|
+
constructor(chart: IChart);
|
|
1636
|
+
prepare(axes: AxisCollection, rows: number, cols: number): void;
|
|
1637
|
+
}
|
|
1638
|
+
declare class YPaneAxisMatrix extends PaneAxisMatrix {
|
|
1639
|
+
constructor(chart: IChart);
|
|
1640
|
+
prepare(axes: AxisCollection, rows: number, cols: number): void;
|
|
1641
|
+
}
|
|
1462
1642
|
|
|
1463
1643
|
declare abstract class CircleGaugeRimBase extends ChartItem {
|
|
1464
1644
|
gauge: CircleGauge;
|