realchart 0.9.7 → 0.9.9
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 +641 -900
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +112 -81
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
declare abstract class RcObject {
|
|
2
|
-
static destroy(obj: RcObject): null;
|
|
3
|
-
private $_hash;
|
|
4
|
-
private $_destroyed;
|
|
5
|
-
private $_destroying;
|
|
6
|
-
constructor(noHash?: boolean);
|
|
7
|
-
destroy(): null;
|
|
8
|
-
protected _doDestory(): void;
|
|
9
|
-
get destroying(): boolean;
|
|
10
|
-
get hash(): string;
|
|
11
|
-
isMe(hash: string): boolean;
|
|
12
|
-
toString(): string;
|
|
13
|
-
toBool(v: any): boolean;
|
|
14
|
-
toNum(v: any, def?: number): number;
|
|
15
|
-
}
|
|
16
|
-
declare abstract class RcWrappableObject extends RcObject {
|
|
17
|
-
protected _wrapper: any;
|
|
18
|
-
wrapper(): any;
|
|
19
|
-
wrapperOrThis(): any;
|
|
20
|
-
createWrapper<T>(clazz: {
|
|
21
|
-
new (): T;
|
|
22
|
-
}): T;
|
|
23
|
-
setWrapper<T>(wrapper: T): T;
|
|
24
|
-
isWrapper(w: any): boolean;
|
|
25
|
-
}
|
|
26
|
-
declare abstract class RcEventProvider<T> extends RcObject {
|
|
27
|
-
private _listeners;
|
|
28
|
-
addListener(listener: T): void;
|
|
29
|
-
removeListener(listener: T): void;
|
|
30
|
-
protected _fireEvent(event: string, ...args: any[]): any;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
1
|
type Path = string | any[];
|
|
34
2
|
type RtPercentSize = string | number;
|
|
35
3
|
interface SVGStyles {
|
|
@@ -42,6 +10,10 @@ interface SVGStyles {
|
|
|
42
10
|
fontStyle?: string;
|
|
43
11
|
}
|
|
44
12
|
type SVGStyleOrClass = SVGStyles | string;
|
|
13
|
+
interface IMinMax {
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
}
|
|
45
17
|
declare enum Align {
|
|
46
18
|
LEFT = "left",
|
|
47
19
|
CENTER = "center",
|
|
@@ -58,9 +30,37 @@ declare enum SectionDir {
|
|
|
58
30
|
BOTTOM = "bottom",
|
|
59
31
|
RIGHT = "right"
|
|
60
32
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
33
|
+
interface IValueRange {
|
|
34
|
+
fromValue?: number;
|
|
35
|
+
toValue?: number;
|
|
36
|
+
color: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare abstract class RcObject {
|
|
41
|
+
static destroy(obj: RcObject): null;
|
|
42
|
+
private $_hash;
|
|
43
|
+
private $_destroyed;
|
|
44
|
+
private $_destroying;
|
|
45
|
+
constructor(noHash?: boolean);
|
|
46
|
+
destroy(): null;
|
|
47
|
+
protected _doDestory(): void;
|
|
48
|
+
get destroying(): boolean;
|
|
49
|
+
get hash(): string;
|
|
50
|
+
isMe(hash: string): boolean;
|
|
51
|
+
toString(): string;
|
|
52
|
+
toBool(v: any): boolean;
|
|
53
|
+
toNum(v: any, def?: number): number;
|
|
54
|
+
}
|
|
55
|
+
declare abstract class RcWrappableObject extends RcObject {
|
|
56
|
+
protected _wrapper: any;
|
|
57
|
+
wrapper(): any;
|
|
58
|
+
wrapperOrThis(): any;
|
|
59
|
+
createWrapper<T>(clazz: {
|
|
60
|
+
new (): T;
|
|
61
|
+
}): T;
|
|
62
|
+
setWrapper<T>(wrapper: T): T;
|
|
63
|
+
isWrapper(w: any): boolean;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
interface ISize {
|
|
@@ -114,6 +114,7 @@ declare abstract class RcControl extends RcWrappableObject {
|
|
|
114
114
|
isTesting(): boolean;
|
|
115
115
|
doc(): Document;
|
|
116
116
|
dom(): HTMLElement;
|
|
117
|
+
svg(): SVGSVGElement;
|
|
117
118
|
width(): number;
|
|
118
119
|
height(): number;
|
|
119
120
|
setData(data: string, value: any, container?: boolean): void;
|
|
@@ -229,7 +230,9 @@ declare class RcElement extends RcObject {
|
|
|
229
230
|
insertElement(doc: Document, tag: string, before: Node): SVGElement;
|
|
230
231
|
getAttr(attr: string): any;
|
|
231
232
|
setAttr(attr: string, value: any): RcElement;
|
|
233
|
+
setAttrEx(attr: string, value: any): RcElement;
|
|
232
234
|
setAttrs(attrs: any): RcElement;
|
|
235
|
+
setAttrsEx(attrs: any): RcElement;
|
|
233
236
|
unsetAttr(attr: string): RcElement;
|
|
234
237
|
setBounds(x: number, y: number, width: number, height: number): RcElement;
|
|
235
238
|
setRect(rect: IRect): RcElement;
|
|
@@ -277,15 +280,14 @@ declare class RcElement extends RcObject {
|
|
|
277
280
|
setClip(cr?: ClipElement | ClipPathElement | string): void;
|
|
278
281
|
setTemporary(): RcElement;
|
|
279
282
|
setCursor(cursor: string): void;
|
|
283
|
+
ignorePointer(): void;
|
|
284
|
+
contains(dom: Element): boolean;
|
|
280
285
|
protected _testing(): boolean;
|
|
281
286
|
protected _doAttached(parent: RcElement): void;
|
|
282
287
|
protected _doDetached(parent: RcElement): void;
|
|
283
288
|
protected _updateTransform(): void;
|
|
284
289
|
getTransform(): string;
|
|
285
290
|
}
|
|
286
|
-
declare class LayerElement extends RcElement {
|
|
287
|
-
constructor(doc: Document, styleName: string);
|
|
288
|
-
}
|
|
289
291
|
declare class ClipElement extends RcElement {
|
|
290
292
|
private _id;
|
|
291
293
|
private _rect;
|
|
@@ -309,28 +311,6 @@ declare class ClipPathElement extends RcElement {
|
|
|
309
311
|
setPath(path: Path): void;
|
|
310
312
|
}
|
|
311
313
|
|
|
312
|
-
interface IAssetItem {
|
|
313
|
-
id: string;
|
|
314
|
-
}
|
|
315
|
-
declare abstract class AssetItem<T extends IAssetItem> {
|
|
316
|
-
source: T;
|
|
317
|
-
constructor(source: T);
|
|
318
|
-
abstract getEelement(doc: Document): Element;
|
|
319
|
-
}
|
|
320
|
-
interface IAssetOwner {
|
|
321
|
-
addDef(element: Element): void;
|
|
322
|
-
removeDef(element: string): void;
|
|
323
|
-
}
|
|
324
|
-
declare class AssetCollection {
|
|
325
|
-
private _items;
|
|
326
|
-
get count(): number;
|
|
327
|
-
get(index: number): AssetItem<IAssetItem>;
|
|
328
|
-
load(source: any): void;
|
|
329
|
-
register(doc: Document, owner: IAssetOwner): void;
|
|
330
|
-
unregister(doc: Document, owner: IAssetOwner): void;
|
|
331
|
-
private $_loadItem;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
314
|
declare enum TextAnchor {
|
|
335
315
|
START = "start",
|
|
336
316
|
MIDDLE = "middle",
|
|
@@ -377,6 +357,7 @@ declare class TextElement extends RcElement {
|
|
|
377
357
|
setStyle(prop: string, value: string): boolean;
|
|
378
358
|
getBBounds(): IRect;
|
|
379
359
|
getBBoundsTest(): IRect;
|
|
360
|
+
stain(): void;
|
|
380
361
|
}
|
|
381
362
|
|
|
382
363
|
type RichTextParamCallback = (target: any, param: string, format: string) => string;
|
|
@@ -415,13 +396,14 @@ declare class ChartItem extends RcObject {
|
|
|
415
396
|
style: SVGStyleOrClass;
|
|
416
397
|
load(source: any): ChartItem;
|
|
417
398
|
save(): any;
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
399
|
+
private INVALID;
|
|
400
|
+
private $_parseProp;
|
|
401
|
+
getProp(prop: string): any;
|
|
402
|
+
setProp(prop: string, value: any, redraw: boolean): boolean;
|
|
403
|
+
setProps(props: object, redraw: boolean): boolean;
|
|
421
404
|
prepareRender(): void;
|
|
422
|
-
protected _changed(): void;
|
|
405
|
+
protected _changed(tag?: any): void;
|
|
423
406
|
protected _doLoadSimple(source: any): boolean;
|
|
424
|
-
protected _getDefObjProps(prop: string): any;
|
|
425
407
|
protected _doLoad(source: any): void;
|
|
426
408
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
427
409
|
protected _doSave(target: object): void;
|
|
@@ -434,7 +416,7 @@ declare enum ChartTextEffect {
|
|
|
434
416
|
}
|
|
435
417
|
declare abstract class ChartText extends ChartItem {
|
|
436
418
|
effect: ChartTextEffect;
|
|
437
|
-
|
|
419
|
+
lightStyle: SVGStyleOrClass;
|
|
438
420
|
darkStyle: SVGStyleOrClass;
|
|
439
421
|
backgroundStyle: SVGStyleOrClass;
|
|
440
422
|
autoContrast: boolean;
|
|
@@ -463,33 +445,6 @@ declare abstract class FormattableText extends ChartText {
|
|
|
463
445
|
private $_getNumberText;
|
|
464
446
|
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols?: boolean): string;
|
|
465
447
|
}
|
|
466
|
-
declare class BackgroundImage extends ChartItem {
|
|
467
|
-
url: string;
|
|
468
|
-
style: SVGStyleOrClass;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
declare enum CrosshairType {
|
|
472
|
-
AUTO = "auto",
|
|
473
|
-
LINE = "line"
|
|
474
|
-
}
|
|
475
|
-
declare class CrosshairFlag extends ChartItem {
|
|
476
|
-
prefix: string;
|
|
477
|
-
suffix: string;
|
|
478
|
-
format: string;
|
|
479
|
-
textStyles: SVGStyleOrClass;
|
|
480
|
-
minWidth: number;
|
|
481
|
-
}
|
|
482
|
-
declare class Crosshair extends ChartItem {
|
|
483
|
-
axis: IAxis;
|
|
484
|
-
readonly flag: CrosshairFlag;
|
|
485
|
-
constructor(axis: IAxis);
|
|
486
|
-
type: CrosshairType;
|
|
487
|
-
showAlways: boolean;
|
|
488
|
-
followPointer: boolean;
|
|
489
|
-
numberFormat: string;
|
|
490
|
-
isBar(): boolean;
|
|
491
|
-
getFlag(length: number, pos: number): string;
|
|
492
|
-
}
|
|
493
448
|
|
|
494
449
|
declare enum Shape {
|
|
495
450
|
CIRCLE = "circle",
|
|
@@ -560,7 +515,7 @@ declare class DataPointCollection {
|
|
|
560
515
|
getProps(prop: string | number): any[];
|
|
561
516
|
getValues(axis: string): any[];
|
|
562
517
|
forEach(callback: (p: DataPoint, i?: number) => any): void;
|
|
563
|
-
getPoints(): DataPoint[];
|
|
518
|
+
getPoints(xAxis: IAxis, yAxis: IAxis): DataPoint[];
|
|
564
519
|
}
|
|
565
520
|
|
|
566
521
|
declare abstract class Widget extends ChartItem {
|
|
@@ -574,64 +529,6 @@ interface ILegendSource {
|
|
|
574
529
|
legendColor(): string;
|
|
575
530
|
legendLabel(): string;
|
|
576
531
|
}
|
|
577
|
-
declare class LegendItem extends ChartItem {
|
|
578
|
-
legend: Legend;
|
|
579
|
-
source: ILegendSource;
|
|
580
|
-
static readonly MARKER_SIZE = 10;
|
|
581
|
-
constructor(legend: Legend, source: ILegendSource);
|
|
582
|
-
text(): string;
|
|
583
|
-
}
|
|
584
|
-
declare enum LegendLocation {
|
|
585
|
-
BOTTOM = "bottom",
|
|
586
|
-
TOP = "top",
|
|
587
|
-
RIGHT = "right",
|
|
588
|
-
LEFT = "left",
|
|
589
|
-
PLOT = "plot",
|
|
590
|
-
SUBPLOT = "subplot"
|
|
591
|
-
}
|
|
592
|
-
declare enum LegendLayout {
|
|
593
|
-
AUTO = "auto",
|
|
594
|
-
HORIZONTAL = "horizontal",
|
|
595
|
-
VERTICAL = "vertical"
|
|
596
|
-
}
|
|
597
|
-
declare enum LegendItemsAlign {
|
|
598
|
-
START = "start",
|
|
599
|
-
CENTER = "center",
|
|
600
|
-
END = "end"
|
|
601
|
-
}
|
|
602
|
-
declare class Legend extends Widget {
|
|
603
|
-
private _items;
|
|
604
|
-
private _maxWidthDim;
|
|
605
|
-
private _maxHeightDim;
|
|
606
|
-
private _location;
|
|
607
|
-
constructor(chart: IChart);
|
|
608
|
-
location: LegendLocation;
|
|
609
|
-
layout: LegendLayout;
|
|
610
|
-
alignBase: AlignBase;
|
|
611
|
-
gap: number;
|
|
612
|
-
itemGap: number;
|
|
613
|
-
markerGap: number;
|
|
614
|
-
backgroundStyles: SVGStyleOrClass;
|
|
615
|
-
itemsPerLine: number;
|
|
616
|
-
lineGap: number;
|
|
617
|
-
maxWidth: RtPercentSize;
|
|
618
|
-
maxHeight: RtPercentSize;
|
|
619
|
-
align: Align;
|
|
620
|
-
verticalAlign: VerticalAlign;
|
|
621
|
-
offsetX: number;
|
|
622
|
-
offsetY: number;
|
|
623
|
-
itemsAlign: LegendItemsAlign;
|
|
624
|
-
items(): LegendItem[];
|
|
625
|
-
isEmpty(): boolean;
|
|
626
|
-
isVisible(): boolean;
|
|
627
|
-
getLocatiion(): LegendLocation;
|
|
628
|
-
getLayout(): LegendLayout;
|
|
629
|
-
getMaxWidth(domain: number): number;
|
|
630
|
-
getMaxHeight(domain: number): number;
|
|
631
|
-
protected _doLoad(src: any): void;
|
|
632
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
633
|
-
private $_collectItems;
|
|
634
|
-
}
|
|
635
532
|
|
|
636
533
|
declare class Tooltip extends ChartItem {
|
|
637
534
|
series: ISeries;
|
|
@@ -695,7 +592,7 @@ declare enum TrendType {
|
|
|
695
592
|
EXPONENTIAL = "exponential",
|
|
696
593
|
MOVING_AVERAGE = "movingAverage"
|
|
697
594
|
}
|
|
698
|
-
declare class MovingAverage {
|
|
595
|
+
declare class MovingAverage extends RcObject {
|
|
699
596
|
interval: number;
|
|
700
597
|
type: 'simple' | 'weighted' | 'exponential' | 'triangualr';
|
|
701
598
|
}
|
|
@@ -710,10 +607,6 @@ declare class Trendline extends ChartItem {
|
|
|
710
607
|
lineType: LineType;
|
|
711
608
|
movingAverage: MovingAverage;
|
|
712
609
|
protected _doPrepareRender(chart: IChart): void;
|
|
713
|
-
protected _getDefObjProps(prop: string): {
|
|
714
|
-
interval: number;
|
|
715
|
-
type: string;
|
|
716
|
-
};
|
|
717
610
|
$_linear(pts: DataPoint[], list: {
|
|
718
611
|
x: number;
|
|
719
612
|
y: number;
|
|
@@ -772,11 +665,6 @@ type PointClickCallbck = (args: IDataPointCallbackArgs) => boolean;
|
|
|
772
665
|
declare abstract class Series extends ChartItem implements ISeries, ILegendSource {
|
|
773
666
|
static readonly LEGEND_MARKER = "rct-legend-item-marker";
|
|
774
667
|
static _loadSeries(chart: IChart, src: any, defType?: string): Series;
|
|
775
|
-
readonly name: string;
|
|
776
|
-
readonly label: string;
|
|
777
|
-
readonly pointLabel: DataPointLabel;
|
|
778
|
-
readonly trendline: Trendline;
|
|
779
|
-
readonly tooltip: Tooltip;
|
|
780
668
|
index: number;
|
|
781
669
|
group: SeriesGroup<Series>;
|
|
782
670
|
_xAxisObj: IAxis;
|
|
@@ -787,10 +675,16 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
|
|
|
787
675
|
_maxValue: number;
|
|
788
676
|
_referents: Series[];
|
|
789
677
|
_calcedColor: string;
|
|
678
|
+
_simpleMode: boolean;
|
|
790
679
|
private _legendMarker;
|
|
791
680
|
protected _pointArgs: IDataPointCallbackArgs;
|
|
792
681
|
constructor(chart: IChart, name?: string);
|
|
793
682
|
abstract _type(): string;
|
|
683
|
+
readonly name: string;
|
|
684
|
+
readonly label: string;
|
|
685
|
+
readonly pointLabel: DataPointLabel;
|
|
686
|
+
readonly trendline: Trendline;
|
|
687
|
+
readonly tooltip: Tooltip;
|
|
794
688
|
zOrder: number;
|
|
795
689
|
xAxis: string | number;
|
|
796
690
|
yAxis: string | number;
|
|
@@ -804,6 +698,7 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
|
|
|
804
698
|
pointColors: boolean | string[];
|
|
805
699
|
clipped: boolean;
|
|
806
700
|
displayInLegend: boolean;
|
|
701
|
+
displayInNavigator: boolean;
|
|
807
702
|
pointStyleCallback: PointStyleCallback;
|
|
808
703
|
onPointClick: PointClickCallbck;
|
|
809
704
|
contains(p: DataPoint): boolean;
|
|
@@ -940,65 +835,376 @@ declare abstract class SeriesGroup<T extends Series> extends ChartItem implement
|
|
|
940
835
|
private $_collectFill;
|
|
941
836
|
}
|
|
942
837
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
838
|
+
declare abstract class GaugeBase extends Widget {
|
|
839
|
+
private _size;
|
|
840
|
+
private _width;
|
|
841
|
+
private _height;
|
|
842
|
+
private _left;
|
|
843
|
+
private _right;
|
|
844
|
+
private _top;
|
|
845
|
+
private _bottom;
|
|
846
|
+
index: number;
|
|
847
|
+
private _sizeDim;
|
|
848
|
+
private _widthDim;
|
|
849
|
+
private _heightDim;
|
|
850
|
+
private _leftDim;
|
|
851
|
+
private _rightDim;
|
|
852
|
+
private _topDim;
|
|
853
|
+
private _bottomDim;
|
|
854
|
+
constructor(chart: IChart);
|
|
855
|
+
abstract _type(): string;
|
|
856
|
+
name: string;
|
|
857
|
+
get left(): RtPercentSize;
|
|
858
|
+
set left(value: RtPercentSize);
|
|
859
|
+
get right(): RtPercentSize;
|
|
860
|
+
set right(value: RtPercentSize);
|
|
861
|
+
get top(): RtPercentSize;
|
|
862
|
+
set top(value: RtPercentSize);
|
|
863
|
+
get bottom(): RtPercentSize;
|
|
864
|
+
set bottom(value: RtPercentSize);
|
|
865
|
+
get width(): RtPercentSize;
|
|
866
|
+
set width(value: RtPercentSize);
|
|
867
|
+
get height(): RtPercentSize;
|
|
868
|
+
set height(value: RtPercentSize);
|
|
869
|
+
get size(): RtPercentSize;
|
|
870
|
+
set size(value: RtPercentSize);
|
|
871
|
+
paneStyle: SVGStyleOrClass;
|
|
872
|
+
getSize(width: number, height: number): ISize;
|
|
873
|
+
getLeft(doamin: number): number;
|
|
874
|
+
getRight(doamin: number): number;
|
|
875
|
+
getTop(doamin: number): number;
|
|
876
|
+
getBottom(doamin: number): number;
|
|
969
877
|
}
|
|
970
|
-
declare class
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
878
|
+
declare abstract class Gauge extends GaugeBase {
|
|
879
|
+
static _loadGauge(chart: IChart, src: any, defType?: string): Gauge;
|
|
880
|
+
group: GaugeGroup<ValueGauge>;
|
|
881
|
+
gindex: number;
|
|
882
|
+
duration: number;
|
|
883
|
+
setGroup(group: GaugeGroup<ValueGauge>, index: number): void;
|
|
976
884
|
}
|
|
977
|
-
declare class
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
885
|
+
declare abstract class GaugeGroup<T extends ValueGauge> extends GaugeBase {
|
|
886
|
+
private _gauges;
|
|
887
|
+
protected _visibles: T[];
|
|
888
|
+
minValue: number;
|
|
889
|
+
maxValue: number;
|
|
890
|
+
count(): number;
|
|
891
|
+
isEmpty(): boolean;
|
|
892
|
+
visibles(): T[];
|
|
893
|
+
abstract _gaugesType(): string;
|
|
894
|
+
get(index: number): T;
|
|
895
|
+
getVisible(index: number): T;
|
|
896
|
+
calcedMinMax(): IMinMax;
|
|
897
|
+
protected _doLoadProp(prop: string, value: any): boolean;
|
|
898
|
+
prepareRender(): void;
|
|
899
|
+
protected _prepareChildren(visibles: T[]): void;
|
|
900
|
+
private $_loadGauges;
|
|
901
|
+
private $_add;
|
|
902
|
+
protected _setGroup(child: T, index: number): void;
|
|
984
903
|
}
|
|
985
|
-
declare class
|
|
904
|
+
declare class GaugeCollection {
|
|
905
|
+
readonly chart: IChart;
|
|
906
|
+
private _map;
|
|
907
|
+
private _items;
|
|
908
|
+
private _visibles;
|
|
909
|
+
private _gauges;
|
|
986
910
|
constructor(chart: IChart);
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
911
|
+
get count(): number;
|
|
912
|
+
get firstGauge(): Gauge;
|
|
913
|
+
visibles(): GaugeBase[];
|
|
914
|
+
getGauge(name: string): Gauge;
|
|
915
|
+
get(name: string | number): GaugeBase;
|
|
916
|
+
load(src: any): void;
|
|
917
|
+
prepareRender(): void;
|
|
918
|
+
private $_loadItem;
|
|
995
919
|
}
|
|
996
|
-
declare class
|
|
920
|
+
declare abstract class ValueGauge extends Gauge {
|
|
921
|
+
protected _runValue: number;
|
|
922
|
+
minValue: number;
|
|
923
|
+
maxValue: number;
|
|
997
924
|
value: number;
|
|
925
|
+
animatable: boolean;
|
|
926
|
+
updateValue(value: any, animate: boolean): void;
|
|
927
|
+
getLabel(label: GaugeLabel, value: number): string;
|
|
928
|
+
getParam(param: string): any;
|
|
929
|
+
calcedMinMax(): IMinMax;
|
|
998
930
|
}
|
|
999
|
-
declare class
|
|
1000
|
-
|
|
1001
|
-
|
|
931
|
+
declare class GuageScaleTick extends ChartItem {
|
|
932
|
+
scale: GaugeScale;
|
|
933
|
+
constructor(scale: GaugeScale);
|
|
934
|
+
reversed: boolean;
|
|
935
|
+
length: number;
|
|
936
|
+
}
|
|
937
|
+
declare abstract class GaugeScale extends ChartItem {
|
|
938
|
+
gauge: ValueGauge | GaugeGroup<ValueGauge>;
|
|
939
|
+
private _gap;
|
|
940
|
+
private _step;
|
|
941
|
+
_steps: number[];
|
|
942
|
+
_min: number;
|
|
943
|
+
_max: number;
|
|
944
|
+
constructor(gauge: ValueGauge | GaugeGroup<ValueGauge>, visible?: boolean);
|
|
945
|
+
position: GaugeItemPosition;
|
|
946
|
+
line: ChartItem;
|
|
947
|
+
tick: GuageScaleTick;
|
|
948
|
+
tickLabel: ChartItem;
|
|
949
|
+
steps: number[];
|
|
950
|
+
stepCount: number;
|
|
951
|
+
stepInterval: number;
|
|
952
|
+
stepPixels: number;
|
|
953
|
+
get gap(): number;
|
|
954
|
+
set gap(value: number);
|
|
955
|
+
range(): IMinMax;
|
|
956
|
+
buildSteps(length: number, value: number, target?: number): number[];
|
|
957
|
+
buildGroupSteps(length: number, values: number[]): number[];
|
|
958
|
+
protected _adjustMinMax(min: number, max: number): {
|
|
959
|
+
min: number;
|
|
960
|
+
max: number;
|
|
961
|
+
};
|
|
962
|
+
protected _adjustGroupMinMax(values: number[]): {
|
|
963
|
+
min: number;
|
|
964
|
+
max: number;
|
|
965
|
+
};
|
|
966
|
+
protected _buildSteps(length: number, min: number, max: number): number[];
|
|
967
|
+
protected _getStepsByCount(count: number, min: number, max: number): number[];
|
|
968
|
+
protected _getStepsByInterval(interval: number, min: number, max: number): number[];
|
|
969
|
+
protected _getStepMultiples(step: number): number[];
|
|
970
|
+
protected _getStepsByPixels(length: number, pixels: number, min: number, max: number): number[];
|
|
971
|
+
}
|
|
972
|
+
declare enum GaugeItemPosition {
|
|
973
|
+
DEFAULT = "default",
|
|
974
|
+
OPPOSITE = "opposite",
|
|
975
|
+
INSIDE = "inside"
|
|
976
|
+
}
|
|
977
|
+
declare class RangeLabel extends ChartItem {
|
|
978
|
+
}
|
|
979
|
+
declare class GaugeRangeBand extends ChartItem {
|
|
980
|
+
gauge: ValueGauge | GaugeGroup<ValueGauge>;
|
|
981
|
+
static readonly DEF_THICKNESS = 7;
|
|
982
|
+
private _ranges;
|
|
983
|
+
private _thickness;
|
|
984
|
+
private _runRanges;
|
|
985
|
+
private _thickDim;
|
|
986
|
+
constructor(gauge: ValueGauge | GaugeGroup<ValueGauge>, visible?: boolean);
|
|
987
|
+
position: GaugeItemPosition;
|
|
988
|
+
get thickness(): RtPercentSize;
|
|
989
|
+
set thickness(value: RtPercentSize);
|
|
990
|
+
gap: number;
|
|
991
|
+
itemGap: number;
|
|
992
|
+
get ranges(): IValueRange[];
|
|
993
|
+
set ranges(value: IValueRange[]);
|
|
994
|
+
rangeLabel: RangeLabel;
|
|
995
|
+
tickLabel: ChartItem;
|
|
996
|
+
getThickness(domain: number): number;
|
|
997
|
+
private $_internalRanges;
|
|
998
|
+
}
|
|
999
|
+
declare abstract class GaugeLabel extends FormattableText {
|
|
1000
|
+
constructor(chart: IChart);
|
|
1001
|
+
animatable: boolean;
|
|
1002
|
+
}
|
|
1003
|
+
declare class CircularGaugeLabel extends GaugeLabel {
|
|
1004
|
+
private _offsetXDim;
|
|
1005
|
+
private _offsetYDim;
|
|
1006
|
+
offsetX: RtPercentSize;
|
|
1007
|
+
offsetY: RtPercentSize;
|
|
1008
|
+
getOffset(width: number, height: number): IPoint;
|
|
1009
|
+
load(source: any): ChartItem;
|
|
1010
|
+
}
|
|
1011
|
+
interface ICircularGaugeExtents {
|
|
1012
|
+
scale?: number;
|
|
1013
|
+
scaleTick?: number;
|
|
1014
|
+
scaleLabel?: number;
|
|
1015
|
+
band?: number;
|
|
1016
|
+
bandThick?: number;
|
|
1017
|
+
bandTick?: number;
|
|
1018
|
+
radius: number;
|
|
1019
|
+
radiusThick: number;
|
|
1020
|
+
inner: number;
|
|
1021
|
+
value: number;
|
|
1022
|
+
}
|
|
1023
|
+
declare class CircularProps {
|
|
1024
|
+
private _centerX;
|
|
1025
|
+
private _centerY;
|
|
1026
|
+
private _radius;
|
|
1027
|
+
private _innerRadius;
|
|
1028
|
+
private _valueRadius;
|
|
1029
|
+
private _centerXDim;
|
|
1030
|
+
private _centerYDim;
|
|
1031
|
+
private _radiusDim;
|
|
1032
|
+
private _innerDim;
|
|
1033
|
+
private _valueDim;
|
|
1034
|
+
_startRad: number;
|
|
1035
|
+
_handRad: number;
|
|
1036
|
+
_sweepRad: number;
|
|
1037
|
+
constructor(grouped?: boolean);
|
|
1038
|
+
centerX(): RtPercentSize;
|
|
1039
|
+
setCenterX(value: RtPercentSize): void;
|
|
1040
|
+
centerY(): RtPercentSize;
|
|
1041
|
+
setCenterY(value: RtPercentSize): void;
|
|
1042
|
+
radius(): RtPercentSize;
|
|
1043
|
+
setRadius(value: RtPercentSize): void;
|
|
1044
|
+
innerRadius(): RtPercentSize;
|
|
1045
|
+
setInnerRadius(value: RtPercentSize): void;
|
|
1046
|
+
valueRadius(): RtPercentSize;
|
|
1047
|
+
setValueRadius(value: RtPercentSize): void;
|
|
1048
|
+
getCenter(gaugeWidth: number, gaugeHeight: number): {
|
|
1049
|
+
x: number;
|
|
1050
|
+
y: number;
|
|
1051
|
+
};
|
|
1052
|
+
getExtents(gaugeSize: number): ICircularGaugeExtents;
|
|
1053
|
+
prepareAngles(startAngle: number, sweepAngle: number): void;
|
|
1054
|
+
}
|
|
1055
|
+
declare abstract class CircularGauge extends ValueGauge {
|
|
1056
|
+
static readonly DEF_CENTER = "50%";
|
|
1057
|
+
static readonly DEF_RADIUS = "40%";
|
|
1058
|
+
static readonly DEF_INNER = "80%";
|
|
1059
|
+
props: CircularProps;
|
|
1060
|
+
childProps: CircularProps;
|
|
1061
|
+
constructor(chart: IChart);
|
|
1062
|
+
maxValue: number;
|
|
1063
|
+
get centerX(): RtPercentSize;
|
|
1064
|
+
set centerX(value: RtPercentSize);
|
|
1065
|
+
get centerY(): RtPercentSize;
|
|
1066
|
+
set centerY(value: RtPercentSize);
|
|
1067
|
+
get radius(): RtPercentSize;
|
|
1068
|
+
set radius(value: RtPercentSize);
|
|
1069
|
+
get innerRadius(): RtPercentSize;
|
|
1070
|
+
set innerRadius(value: RtPercentSize);
|
|
1071
|
+
get valueRadius(): RtPercentSize;
|
|
1072
|
+
set valueRadius(value: RtPercentSize);
|
|
1073
|
+
startAngle: number;
|
|
1074
|
+
sweepAngle: number;
|
|
1075
|
+
clockwise: boolean;
|
|
1076
|
+
label: CircularGaugeLabel;
|
|
1077
|
+
innerStyle: SVGStyleOrClass;
|
|
1078
|
+
getProps(): CircularProps;
|
|
1079
|
+
getCenter(gaugeWidth: number, gaugeHeight: number): {
|
|
1080
|
+
x: number;
|
|
1081
|
+
y: number;
|
|
1082
|
+
};
|
|
1083
|
+
getExtents(gaugeSize: number): ICircularGaugeExtents;
|
|
1084
|
+
labelVisible(): boolean;
|
|
1085
|
+
setGroup(group: GaugeGroup<ValueGauge>, index: number): void;
|
|
1086
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
interface IChart {
|
|
1090
|
+
type: string;
|
|
1091
|
+
gaugeType: string;
|
|
1092
|
+
xStart: number;
|
|
1093
|
+
xStep: number;
|
|
1094
|
+
first: IPlottingItem;
|
|
1095
|
+
firstSeries: Series;
|
|
1096
|
+
xAxis: IAxis;
|
|
1097
|
+
yAxis: IAxis;
|
|
1098
|
+
colors: string[];
|
|
1099
|
+
assignTemplates(target: any): any;
|
|
1100
|
+
isGauge(): boolean;
|
|
1101
|
+
isPolar(): boolean;
|
|
1102
|
+
isInverted(): boolean;
|
|
1103
|
+
animatable(): boolean;
|
|
1104
|
+
startAngle(): number;
|
|
1105
|
+
seriesByName(series: string): Series;
|
|
1106
|
+
axisByName(axis: string): Axis;
|
|
1107
|
+
getAxes(dir: SectionDir): Axis[];
|
|
1108
|
+
_getGroupType(type: string): any;
|
|
1109
|
+
_getSeriesType(type: string): any;
|
|
1110
|
+
_getAxisType(type: string): any;
|
|
1111
|
+
_getGaugeType(type: string): any;
|
|
1112
|
+
_getGaugeGroupType(type: string): any;
|
|
1113
|
+
_getSeries(): PlottingItemCollection;
|
|
1114
|
+
_getGauges(): GaugeCollection;
|
|
1115
|
+
_getXAxes(): AxisCollection;
|
|
1116
|
+
_getYAxes(): AxisCollection;
|
|
1117
|
+
getAxesGap(): number;
|
|
1118
|
+
_connectSeries(series: IPlottingItem, isX: boolean): Axis;
|
|
1119
|
+
_getLegendSources(): ILegendSource[];
|
|
1120
|
+
_visibleChanged(item: ChartItem): void;
|
|
1121
|
+
_pointVisibleChanged(series: Series, point: DataPoint): void;
|
|
1122
|
+
_modelChanged(item: ChartItem, tag?: any): void;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
declare enum CrosshairType {
|
|
1126
|
+
AUTO = "auto",
|
|
1127
|
+
LINE = "line"
|
|
1128
|
+
}
|
|
1129
|
+
declare class CrosshairFlag extends ChartItem {
|
|
1130
|
+
prefix: string;
|
|
1131
|
+
suffix: string;
|
|
1132
|
+
format: string;
|
|
1133
|
+
textStyles: SVGStyleOrClass;
|
|
1134
|
+
minWidth: number;
|
|
1135
|
+
}
|
|
1136
|
+
declare class Crosshair extends ChartItem {
|
|
1137
|
+
axis: IAxis;
|
|
1138
|
+
readonly flag: CrosshairFlag;
|
|
1139
|
+
constructor(axis: IAxis);
|
|
1140
|
+
type: CrosshairType;
|
|
1141
|
+
showAlways: boolean;
|
|
1142
|
+
followPointer: boolean;
|
|
1143
|
+
numberFormat: string;
|
|
1144
|
+
isBar(): boolean;
|
|
1145
|
+
getFlag(length: number, pos: number): string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
interface IAxis {
|
|
1149
|
+
type(): string;
|
|
1150
|
+
chart: IChart;
|
|
1151
|
+
_vlen: number;
|
|
1152
|
+
_isX: boolean;
|
|
1153
|
+
_isHorz: boolean;
|
|
1154
|
+
_isOpposite: boolean;
|
|
1155
|
+
reversed: boolean;
|
|
1156
|
+
_zoom: IAxisZoom;
|
|
1157
|
+
isContinuous(): boolean;
|
|
1158
|
+
getBaseValue(): number;
|
|
1159
|
+
axisMax(): number;
|
|
1160
|
+
axisMin(): number;
|
|
1161
|
+
zoom(start: number, end: number): boolean;
|
|
1162
|
+
getValue(value: any): number;
|
|
1163
|
+
parseValue(value: any): number;
|
|
1164
|
+
contains(value: number): boolean;
|
|
1165
|
+
incStep(value: number, step: any): number;
|
|
1166
|
+
getPosition(length: number, value: number, point?: boolean): number;
|
|
1167
|
+
getValueAt(length: number, pos: number): number;
|
|
1168
|
+
getUnitLength(length: number, value: number): number;
|
|
1169
|
+
}
|
|
1170
|
+
declare abstract class AxisItem extends ChartItem {
|
|
1171
|
+
readonly axis: Axis;
|
|
1172
|
+
constructor(axis: Axis, visible?: boolean);
|
|
1173
|
+
}
|
|
1174
|
+
declare class AxisLine extends AxisItem {
|
|
1175
|
+
constructor(axis: Axis);
|
|
1176
|
+
}
|
|
1177
|
+
declare enum AxisTitleAlign {
|
|
1178
|
+
START = "start",
|
|
1179
|
+
MIDDLE = "middle",
|
|
1180
|
+
END = "end"
|
|
1181
|
+
}
|
|
1182
|
+
declare class AxisTitle extends AxisItem {
|
|
1183
|
+
text: string;
|
|
1184
|
+
align: AxisTitleAlign;
|
|
1185
|
+
gap: number;
|
|
1186
|
+
backgroundStyle: SVGStyleOrClass;
|
|
1187
|
+
isVisible(): boolean;
|
|
1188
|
+
protected _doLoadSimple(source: any): boolean;
|
|
1189
|
+
}
|
|
1190
|
+
declare class AxisGrid extends AxisItem {
|
|
1191
|
+
circular: boolean;
|
|
1192
|
+
startVisible: boolean;
|
|
1193
|
+
endVisible: boolean;
|
|
1194
|
+
constructor(axis: Axis);
|
|
1195
|
+
isVisible(): boolean;
|
|
1196
|
+
getPoints(length: number): number[];
|
|
1197
|
+
}
|
|
1198
|
+
declare class AxisGuideLabel extends FormattableText {
|
|
1199
|
+
constructor(chart: IChart);
|
|
1200
|
+
align: Align;
|
|
1201
|
+
verticalAlign: VerticalAlign;
|
|
1202
|
+
}
|
|
1203
|
+
declare abstract class AxisGuide extends AxisItem {
|
|
1204
|
+
constructor(axis: Axis);
|
|
1205
|
+
readonly label: AxisGuideLabel;
|
|
1206
|
+
front: boolean;
|
|
1207
|
+
zindex: number;
|
|
1002
1208
|
}
|
|
1003
1209
|
declare abstract class AxisTick extends AxisItem {
|
|
1004
1210
|
length: number;
|
|
@@ -1033,6 +1239,23 @@ declare enum AxisPosition {
|
|
|
1033
1239
|
OPPOSITE = "opposite",
|
|
1034
1240
|
BASE = "base"
|
|
1035
1241
|
}
|
|
1242
|
+
declare class AxisScrollBar extends AxisItem {
|
|
1243
|
+
constructor(axis: Axis);
|
|
1244
|
+
thickness: number;
|
|
1245
|
+
}
|
|
1246
|
+
interface IAxisZoom {
|
|
1247
|
+
start: number;
|
|
1248
|
+
end: number;
|
|
1249
|
+
}
|
|
1250
|
+
declare class AxisZoom {
|
|
1251
|
+
axis: Axis;
|
|
1252
|
+
private _axixMin;
|
|
1253
|
+
private _axixMax;
|
|
1254
|
+
start: number;
|
|
1255
|
+
end: number;
|
|
1256
|
+
constructor(axis: Axis, start: number, end: number);
|
|
1257
|
+
resize(start: number, end: number): boolean;
|
|
1258
|
+
}
|
|
1036
1259
|
declare abstract class Axis extends ChartItem implements IAxis {
|
|
1037
1260
|
readonly name: string;
|
|
1038
1261
|
readonly title: AxisTitle;
|
|
@@ -1042,6 +1265,7 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1042
1265
|
readonly grid: AxisGrid;
|
|
1043
1266
|
readonly guides: AxisGuide[];
|
|
1044
1267
|
readonly crosshair: Crosshair;
|
|
1268
|
+
readonly scrollBar: AxisScrollBar;
|
|
1045
1269
|
_isX: boolean;
|
|
1046
1270
|
_isHorz: boolean;
|
|
1047
1271
|
_isOpposite: boolean;
|
|
@@ -1052,11 +1276,14 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1052
1276
|
};
|
|
1053
1277
|
_ticks: IAxisTick[];
|
|
1054
1278
|
_markPoints: number[];
|
|
1055
|
-
|
|
1279
|
+
_vlen: number;
|
|
1056
1280
|
_minPad: number;
|
|
1057
1281
|
_maxPad: number;
|
|
1058
1282
|
_values: number[];
|
|
1059
|
-
|
|
1283
|
+
protected _min: number;
|
|
1284
|
+
protected _max: number;
|
|
1285
|
+
_zoom: AxisZoom;
|
|
1286
|
+
constructor(chart: IChart, isX: boolean, name?: string);
|
|
1060
1287
|
abstract type(): string;
|
|
1061
1288
|
position: AxisPosition;
|
|
1062
1289
|
reversed: boolean;
|
|
@@ -1066,9 +1293,10 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1066
1293
|
marginFar: number;
|
|
1067
1294
|
isEmpty(): boolean;
|
|
1068
1295
|
getBaseValue(): number;
|
|
1296
|
+
length(): number;
|
|
1297
|
+
axisMin(): number;
|
|
1298
|
+
axisMax(): number;
|
|
1069
1299
|
abstract isContinuous(): boolean;
|
|
1070
|
-
abstract axisMin(): number;
|
|
1071
|
-
abstract axisMax(): number;
|
|
1072
1300
|
abstract getValueAt(length: number, pos: number): number;
|
|
1073
1301
|
protected abstract _createTickModel(): AxisTick;
|
|
1074
1302
|
protected abstract _createLabelModel(): AxisLabel;
|
|
@@ -1088,6 +1316,9 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1088
1316
|
incStep(value: number, step: any): number;
|
|
1089
1317
|
parseValue(value: any): number;
|
|
1090
1318
|
contains(value: number): boolean;
|
|
1319
|
+
resetZoom(): void;
|
|
1320
|
+
zoom(start: number, end: number): boolean;
|
|
1321
|
+
isZoomed(): boolean;
|
|
1091
1322
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
1092
1323
|
protected _createGrid(): AxisGrid;
|
|
1093
1324
|
private $_loadGuides;
|
|
@@ -1116,703 +1347,146 @@ declare class AxisCollection {
|
|
|
1116
1347
|
buildTicks(length: number): void;
|
|
1117
1348
|
connect(series: IPlottingItem): Axis;
|
|
1118
1349
|
forEach(callback: (p: Axis, i?: number) => any): void;
|
|
1350
|
+
isZoomed(): boolean;
|
|
1351
|
+
resetZoom(): void;
|
|
1119
1352
|
private $_loadAxis;
|
|
1120
1353
|
}
|
|
1121
1354
|
|
|
1122
|
-
declare class
|
|
1355
|
+
declare abstract class CircleGaugeRimBase extends ChartItem {
|
|
1356
|
+
gauge: CircleGauge;
|
|
1357
|
+
private _ranges;
|
|
1358
|
+
private _runRanges;
|
|
1359
|
+
constructor(gauge: CircleGauge);
|
|
1360
|
+
get ranges(): IValueRange[];
|
|
1361
|
+
set ranges(value: IValueRange[]);
|
|
1362
|
+
isRanged(): boolean;
|
|
1363
|
+
rangeCount(): number;
|
|
1364
|
+
getRange(value: number): IValueRange | undefined;
|
|
1365
|
+
private $_internalRanges;
|
|
1366
|
+
}
|
|
1367
|
+
declare class CircleGaugeRim extends CircleGaugeRimBase {
|
|
1368
|
+
private _segmentThickness;
|
|
1369
|
+
private _thickDim;
|
|
1370
|
+
constructor(gauge: CircleGauge);
|
|
1371
|
+
get segmentThickness(): RtPercentSize;
|
|
1372
|
+
set segmentThickness(value: RtPercentSize);
|
|
1373
|
+
segmentGap: number;
|
|
1374
|
+
getSegmentThickness(domain: number): number;
|
|
1375
|
+
}
|
|
1376
|
+
declare class CircleGaugeValueRim extends CircleGaugeRimBase {
|
|
1377
|
+
private _thickness;
|
|
1378
|
+
private _thickDim;
|
|
1379
|
+
constructor(gauge: CircleGauge);
|
|
1380
|
+
get thickness(): RtPercentSize;
|
|
1381
|
+
set thickness(value: RtPercentSize);
|
|
1382
|
+
stroked: boolean;
|
|
1383
|
+
getThickness(domain: number): number;
|
|
1384
|
+
}
|
|
1385
|
+
declare class CircleGaugeValueMarker extends ChartItem {
|
|
1386
|
+
constructor(gauge: CircleGauge);
|
|
1387
|
+
}
|
|
1388
|
+
declare class CircleGaugeHand extends ChartItem {
|
|
1123
1389
|
private _radius;
|
|
1124
|
-
private
|
|
1125
|
-
private
|
|
1390
|
+
private _length;
|
|
1391
|
+
private _offset;
|
|
1126
1392
|
private _radiusDim;
|
|
1127
|
-
private
|
|
1128
|
-
private
|
|
1129
|
-
|
|
1130
|
-
_frontGuides: AxisGuide[];
|
|
1131
|
-
private _rd;
|
|
1132
|
-
private _cx;
|
|
1133
|
-
private _cy;
|
|
1134
|
-
constructor(chart: IChart);
|
|
1393
|
+
private _lengthDim;
|
|
1394
|
+
private _offsetDim;
|
|
1395
|
+
constructor(gauge: CircleGauge);
|
|
1135
1396
|
get radius(): RtPercentSize;
|
|
1136
1397
|
set radius(value: RtPercentSize);
|
|
1137
|
-
get
|
|
1138
|
-
set
|
|
1139
|
-
get
|
|
1140
|
-
set
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
setPolar(width: number, height: number): Body;
|
|
1146
|
-
getStartAngle(): number;
|
|
1147
|
-
getPolar(series: Series): {
|
|
1148
|
-
start: number;
|
|
1149
|
-
cx: number;
|
|
1150
|
-
cy: number;
|
|
1151
|
-
rd: number;
|
|
1152
|
-
deg: number;
|
|
1398
|
+
get length(): RtPercentSize;
|
|
1399
|
+
set length(value: RtPercentSize);
|
|
1400
|
+
get offset(): RtPercentSize;
|
|
1401
|
+
set offset(value: RtPercentSize);
|
|
1402
|
+
getExtents(domain: number): {
|
|
1403
|
+
radius: number;
|
|
1404
|
+
length: number;
|
|
1405
|
+
offset: number;
|
|
1153
1406
|
};
|
|
1154
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
declare enum PaletteMode {
|
|
1158
|
-
NORMAL = "normal",
|
|
1159
|
-
MIXED = "mixed",
|
|
1160
|
-
RANDOM = "random"
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
declare class Title extends ChartItem {
|
|
1164
|
-
text: string;
|
|
1165
|
-
alignBase: AlignBase;
|
|
1166
|
-
align: Align;
|
|
1167
|
-
backgroundStyle: SVGStyleOrClass;
|
|
1168
|
-
isVisible(): boolean;
|
|
1169
|
-
protected _doLoadSimple(source: any): boolean;
|
|
1170
|
-
}
|
|
1171
|
-
declare enum SubtitlePosition {
|
|
1172
|
-
BOTTOM = "bottom",
|
|
1173
|
-
RIGHT = "right",
|
|
1174
|
-
LEFT = "left",
|
|
1175
|
-
TOP = "top"
|
|
1176
1407
|
}
|
|
1177
|
-
declare class
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
private _size;
|
|
1185
|
-
private _width;
|
|
1186
|
-
private _height;
|
|
1187
|
-
private _left;
|
|
1188
|
-
private _right;
|
|
1189
|
-
private _top;
|
|
1190
|
-
private _bottom;
|
|
1191
|
-
index: number;
|
|
1192
|
-
private _sizeDim;
|
|
1193
|
-
private _widthDim;
|
|
1194
|
-
private _heightDim;
|
|
1195
|
-
private _leftDim;
|
|
1196
|
-
private _rightDim;
|
|
1197
|
-
private _topDim;
|
|
1198
|
-
private _bottomDim;
|
|
1199
|
-
constructor(chart: IChart);
|
|
1200
|
-
abstract _type(): string;
|
|
1201
|
-
name: string;
|
|
1202
|
-
get left(): RtPercentSize;
|
|
1203
|
-
set left(value: RtPercentSize);
|
|
1204
|
-
get right(): RtPercentSize;
|
|
1205
|
-
set right(value: RtPercentSize);
|
|
1206
|
-
get top(): RtPercentSize;
|
|
1207
|
-
set top(value: RtPercentSize);
|
|
1208
|
-
get bottom(): RtPercentSize;
|
|
1209
|
-
set bottom(value: RtPercentSize);
|
|
1210
|
-
get width(): RtPercentSize;
|
|
1211
|
-
set width(value: RtPercentSize);
|
|
1212
|
-
get height(): RtPercentSize;
|
|
1213
|
-
set height(value: RtPercentSize);
|
|
1214
|
-
get size(): RtPercentSize;
|
|
1215
|
-
set size(value: RtPercentSize);
|
|
1216
|
-
getSize(width: number, height: number): ISize;
|
|
1217
|
-
getLeft(doamin: number): number;
|
|
1218
|
-
getRight(doamin: number): number;
|
|
1219
|
-
getTop(doamin: number): number;
|
|
1220
|
-
getBottom(doamin: number): number;
|
|
1221
|
-
}
|
|
1222
|
-
declare abstract class Gauge extends GaugeBase {
|
|
1223
|
-
static _loadGauge(chart: IChart, src: any, defType?: string): Gauge;
|
|
1224
|
-
group: GaugeGroup<ValueGauge>;
|
|
1225
|
-
gindex: number;
|
|
1226
|
-
duration: number;
|
|
1227
|
-
setGroup(group: GaugeGroup<ValueGauge>, index: number): void;
|
|
1228
|
-
}
|
|
1229
|
-
declare abstract class GaugeGroup<T extends ValueGauge> extends GaugeBase {
|
|
1230
|
-
private _gauges;
|
|
1231
|
-
protected _visibles: T[];
|
|
1232
|
-
minValue: number;
|
|
1233
|
-
maxValue: number;
|
|
1234
|
-
count(): number;
|
|
1235
|
-
isEmpty(): boolean;
|
|
1236
|
-
visibles(): T[];
|
|
1237
|
-
abstract _gaugesType(): string;
|
|
1238
|
-
get(index: number): T;
|
|
1239
|
-
getVisible(index: number): T;
|
|
1240
|
-
protected _doLoadProp(prop: string, value: any): boolean;
|
|
1241
|
-
prepareRender(): void;
|
|
1242
|
-
protected _prepareChildren(visibles: T[]): void;
|
|
1243
|
-
private $_loadGauges;
|
|
1244
|
-
private $_add;
|
|
1245
|
-
protected _setGroup(child: T, index: number): void;
|
|
1246
|
-
}
|
|
1247
|
-
declare class GaugeCollection {
|
|
1248
|
-
readonly chart: IChart;
|
|
1249
|
-
private _map;
|
|
1250
|
-
private _items;
|
|
1251
|
-
private _visibles;
|
|
1252
|
-
private _gauges;
|
|
1253
|
-
constructor(chart: IChart);
|
|
1254
|
-
get count(): number;
|
|
1255
|
-
get firstGauge(): Gauge;
|
|
1256
|
-
visibles(): GaugeBase[];
|
|
1257
|
-
getGauge(name: string): Gauge;
|
|
1258
|
-
get(name: string | number): GaugeBase;
|
|
1259
|
-
load(src: any): void;
|
|
1260
|
-
prepareRender(): void;
|
|
1261
|
-
private $_loadItem;
|
|
1408
|
+
declare class CircleGaugePin extends ChartItem {
|
|
1409
|
+
private _radius;
|
|
1410
|
+
private _radiusDim;
|
|
1411
|
+
constructor(gauge: CircleGauge);
|
|
1412
|
+
get radius(): RtPercentSize;
|
|
1413
|
+
set radius(value: RtPercentSize);
|
|
1414
|
+
getRadius(domain: number): number;
|
|
1262
1415
|
}
|
|
1263
|
-
declare
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
maxValue: number;
|
|
1267
|
-
value: number;
|
|
1268
|
-
animatable: boolean;
|
|
1269
|
-
updateValue(value: any): void;
|
|
1270
|
-
getLabel(label: GaugeLabel, value: number): string;
|
|
1271
|
-
getParam(param: string): any;
|
|
1416
|
+
declare class CircleGaugeScale extends GaugeScale {
|
|
1417
|
+
stepPixels: number;
|
|
1418
|
+
protected _getStepMultiples(step: number): number[];
|
|
1272
1419
|
}
|
|
1273
|
-
declare
|
|
1420
|
+
declare class CircleGauge extends CircularGauge {
|
|
1274
1421
|
constructor(chart: IChart);
|
|
1275
|
-
|
|
1422
|
+
band: GaugeRangeBand;
|
|
1423
|
+
scale: CircleGaugeScale;
|
|
1424
|
+
rim: CircleGaugeRim;
|
|
1425
|
+
valueRim: CircleGaugeValueRim;
|
|
1426
|
+
marker: CircleGaugeValueMarker;
|
|
1427
|
+
hand: CircleGaugeHand;
|
|
1428
|
+
pin: CircleGaugePin;
|
|
1429
|
+
_type(): string;
|
|
1430
|
+
getExtents(gaugeSize: number): ICircularGaugeExtents;
|
|
1276
1431
|
}
|
|
1277
1432
|
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
assignTemplates(target: any): any;
|
|
1289
|
-
isGauge(): boolean;
|
|
1290
|
-
isPolar(): boolean;
|
|
1291
|
-
isInverted(): boolean;
|
|
1292
|
-
animatable(): boolean;
|
|
1293
|
-
startAngle(): number;
|
|
1294
|
-
seriesByName(series: string): Series;
|
|
1295
|
-
axisByName(axis: string): Axis;
|
|
1296
|
-
getAxes(dir: SectionDir): Axis[];
|
|
1297
|
-
_getGroupType(type: string): any;
|
|
1298
|
-
_getSeriesType(type: string): any;
|
|
1299
|
-
_getAxisType(type: string): any;
|
|
1300
|
-
_getGaugeType(type: string): any;
|
|
1301
|
-
_getGaugeGroupType(type: string): any;
|
|
1302
|
-
_getSeries(): PlottingItemCollection;
|
|
1303
|
-
_getGauges(): GaugeCollection;
|
|
1304
|
-
_getXAxes(): AxisCollection;
|
|
1305
|
-
_getYAxes(): AxisCollection;
|
|
1306
|
-
getAxesGap(): number;
|
|
1307
|
-
_connectSeries(series: IPlottingItem, isX: boolean): Axis;
|
|
1308
|
-
_getLegendSources(): ILegendSource[];
|
|
1309
|
-
_visibleChanged(item: ChartItem): void;
|
|
1310
|
-
_pointVisibleChanged(series: Series, point: DataPoint): void;
|
|
1311
|
-
_modelChanged(item: ChartItem): void;
|
|
1312
|
-
}
|
|
1313
|
-
declare class Credits extends ChartItem {
|
|
1314
|
-
text: string;
|
|
1315
|
-
url: string;
|
|
1316
|
-
floating: boolean;
|
|
1317
|
-
align: Align;
|
|
1318
|
-
verticalAlign: VerticalAlign;
|
|
1319
|
-
offsetX: number;
|
|
1320
|
-
offsetY: number;
|
|
1433
|
+
declare class RcChartObject {
|
|
1434
|
+
$_p: ChartItem;
|
|
1435
|
+
protected constructor(proxy: ChartItem);
|
|
1436
|
+
protected _createObjects(...objs: string[]): void;
|
|
1437
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1438
|
+
get(prop: string): any;
|
|
1439
|
+
set(prop: string, value: any, redraw?: boolean): RcChartObject;
|
|
1440
|
+
setAll(props: object, redraw?: boolean): RcChartObject;
|
|
1441
|
+
toggle(prop: string, redraw?: boolean): RcChartObject;
|
|
1442
|
+
protected _changed(): void;
|
|
1321
1443
|
}
|
|
1322
|
-
declare class
|
|
1323
|
-
theme: string;
|
|
1324
|
-
palette: string;
|
|
1325
|
-
paletteMode: PaletteMode;
|
|
1326
|
-
animatable: boolean;
|
|
1327
|
-
xStart: any;
|
|
1328
|
-
xStep: number | string;
|
|
1329
|
-
axisGap: number;
|
|
1330
|
-
credits: Credits;
|
|
1331
|
-
}
|
|
1332
|
-
interface IChartEventListener {
|
|
1333
|
-
onModelChanged?(chart: Chart, item: ChartItem): void;
|
|
1334
|
-
onVisibleChanged?(chart: Chart, item: ChartItem): void;
|
|
1335
|
-
onPointVisibleChange?(chart: Chart, series: Series, point: DataPoint): void;
|
|
1336
|
-
}
|
|
1337
|
-
declare class Chart extends RcEventProvider<IChartEventListener> implements IChart {
|
|
1338
|
-
private _templates;
|
|
1339
|
-
private _assets;
|
|
1340
|
-
private _themes;
|
|
1341
|
-
private _options;
|
|
1444
|
+
declare abstract class RcChartAxis extends RcChartObject {
|
|
1342
1445
|
private _title;
|
|
1343
|
-
private _subtitle;
|
|
1344
|
-
private _legend;
|
|
1345
|
-
private _series;
|
|
1346
|
-
private _xAxes;
|
|
1347
|
-
private _yAxes;
|
|
1348
|
-
private _gauges;
|
|
1349
|
-
private _body;
|
|
1350
|
-
private _inverted;
|
|
1351
|
-
private _polar;
|
|
1352
|
-
private _gaugeOnly;
|
|
1353
|
-
colors: string[];
|
|
1354
|
-
assignTemplates: (target: any) => any;
|
|
1355
|
-
constructor(source?: any);
|
|
1356
|
-
startAngle(): number;
|
|
1357
|
-
get xStart(): number;
|
|
1358
|
-
get xStep(): number;
|
|
1359
|
-
get xStepUnit(): string;
|
|
1360
|
-
animatable(): boolean;
|
|
1361
|
-
type: string;
|
|
1362
|
-
gaugeType: string;
|
|
1363
|
-
polar: boolean;
|
|
1364
|
-
inverted: boolean;
|
|
1365
|
-
get assets(): AssetCollection;
|
|
1366
|
-
get options(): ChartOptions;
|
|
1367
|
-
get title(): Title;
|
|
1368
|
-
get subtitle(): Subtitle;
|
|
1369
|
-
get first(): IPlottingItem;
|
|
1370
|
-
get firstSeries(): Series;
|
|
1371
|
-
get firstGauge(): Gauge;
|
|
1372
|
-
get legend(): Legend;
|
|
1373
|
-
get xAxis(): IAxis;
|
|
1374
|
-
get yAxis(): IAxis;
|
|
1375
|
-
get body(): Body;
|
|
1376
|
-
needAxes(): boolean;
|
|
1377
|
-
_getSeries(): PlottingItemCollection;
|
|
1378
|
-
_getGauges(): GaugeCollection;
|
|
1379
|
-
_getXAxes(): AxisCollection;
|
|
1380
|
-
_getYAxes(): AxisCollection;
|
|
1381
|
-
isGauge(): boolean;
|
|
1382
|
-
isPolar(): boolean;
|
|
1383
|
-
isWidget(): boolean;
|
|
1384
|
-
isInverted(): boolean;
|
|
1385
|
-
isEmpty(): boolean;
|
|
1386
|
-
seriesByName(series: string): Series;
|
|
1387
|
-
seriesByPoint(point: DataPoint): Series;
|
|
1388
|
-
gaugeByName(gauge: string): Gauge;
|
|
1389
|
-
axisByName(axis: string): Axis;
|
|
1390
|
-
containsAxis(axis: Axis): boolean;
|
|
1391
|
-
getAxes(dir: SectionDir): Axis[];
|
|
1392
|
-
_getLegendSources(): ILegendSource[];
|
|
1393
|
-
private $_assignTemplates;
|
|
1394
|
-
load(source: any): void;
|
|
1395
|
-
_connectSeries(series: IPlottingItem, isX: boolean): Axis;
|
|
1396
|
-
prepareRender(): void;
|
|
1397
|
-
layoutAxes(width: number, height: number, inverted: boolean, phase: number): void;
|
|
1398
|
-
calcAxesPoints(width: number, height: number, inverted: boolean): void;
|
|
1399
|
-
private $_calcAxesPoints;
|
|
1400
|
-
update(): void;
|
|
1401
|
-
private $_loadTemplates;
|
|
1402
|
-
_getGroupType(type: string): any;
|
|
1403
|
-
_getSeriesType(type: string): any;
|
|
1404
|
-
_getAxisType(type: string): any;
|
|
1405
|
-
_getGaugeType(type: string): any;
|
|
1406
|
-
_getGaugeGroupType(type: string): any;
|
|
1407
|
-
getAxesGap(): number;
|
|
1408
|
-
_modelChanged(item: ChartItem): void;
|
|
1409
|
-
_visibleChanged(item: ChartItem): void;
|
|
1410
|
-
_pointVisibleChanged(series: Series, point: DataPoint): void;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
declare abstract class GroupElement extends RcElement {
|
|
1414
|
-
private static IGNORE_ATTRS;
|
|
1415
|
-
constructor(doc: Document, styleName?: string);
|
|
1416
|
-
protected _movable(): boolean;
|
|
1417
|
-
setAttr(attr: string, value: any): RcElement;
|
|
1418
|
-
protected _doInitChildren(doc: Document): void;
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
declare class Sides {
|
|
1422
|
-
top: number;
|
|
1423
|
-
bottom: number;
|
|
1424
|
-
left: number;
|
|
1425
|
-
right: number;
|
|
1426
|
-
static readonly Empty: Readonly<Sides>;
|
|
1427
|
-
static Temp: Sides;
|
|
1428
|
-
static create(top: number, bottom?: number, left?: number, right?: number): Sides;
|
|
1429
|
-
static createFrom(value: string): Sides;
|
|
1430
|
-
constructor(top?: number, bottom?: number, left?: number, right?: number);
|
|
1431
|
-
clone(): Sides;
|
|
1432
|
-
applyPadding(cs: CSSStyleDeclaration): Sides;
|
|
1433
|
-
applyMargin(cs: CSSStyleDeclaration): Sides;
|
|
1434
|
-
shrink(r: IRect): IRect;
|
|
1435
|
-
toString(): string;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
interface IRectShape extends IRect {
|
|
1439
|
-
r?: number;
|
|
1440
|
-
rx?: number;
|
|
1441
|
-
ry?: number;
|
|
1442
|
-
rLeft?: number;
|
|
1443
|
-
rTop?: number;
|
|
1444
|
-
rRight?: number;
|
|
1445
|
-
rBottom?: number;
|
|
1446
|
-
}
|
|
1447
|
-
declare class RectElement extends RcElement {
|
|
1448
|
-
static create(doc: Document, styleName: string, x: number, y: number, width: number, height: number, r?: number): RectElement;
|
|
1449
|
-
private _rect;
|
|
1450
|
-
constructor(doc: Document, styleName?: string, rect?: IRectShape);
|
|
1451
|
-
get rect(): IRectShape;
|
|
1452
|
-
set rect(value: IRectShape);
|
|
1453
|
-
resizeRect(width: number, height: number): RcElement;
|
|
1454
|
-
setBounds(x: number, y: number, width: number, height: number, r?: number): RectElement;
|
|
1455
|
-
setBox(x: number, y: number, width: number, height: number): void;
|
|
1456
|
-
setRadius(value: number): void;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
declare abstract class ChartElement<T extends ChartItem> extends RcElement {
|
|
1460
|
-
model: T;
|
|
1461
|
-
mw: number;
|
|
1462
|
-
mh: number;
|
|
1463
|
-
_debugRect: RectElement;
|
|
1464
|
-
constructor(doc: Document, styleName?: any);
|
|
1465
|
-
chart(): IChart;
|
|
1466
|
-
protected _prepareStyleOrClass(model: T): void;
|
|
1467
|
-
measure(doc: Document, model: T, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1468
|
-
layout(param?: any): ChartElement<ChartItem>;
|
|
1469
|
-
resizeByMeasured(): ChartElement<ChartItem>;
|
|
1470
|
-
protected _getDebugRect(): IRect;
|
|
1471
|
-
protected _doMeasure(doc: Document, model: T, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1472
|
-
protected _doLayout(param: any): void;
|
|
1473
|
-
protected _invalidate(): void;
|
|
1474
|
-
protected _doModelChanged(): void;
|
|
1475
|
-
}
|
|
1476
|
-
declare abstract class BoundableElement<T extends ChartItem> extends ChartElement<T> {
|
|
1477
|
-
private _background;
|
|
1478
|
-
protected _margins: Sides;
|
|
1479
|
-
protected _paddings: Sides;
|
|
1480
|
-
private _borderRadius;
|
|
1481
|
-
constructor(doc: Document, styleName: string, backStyle: string);
|
|
1482
|
-
protected _getDebugRect(): IRect;
|
|
1483
|
-
measure(doc: Document, model: T, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1484
|
-
layout(param?: any): ChartElement<ChartItem>;
|
|
1485
|
-
protected abstract _setBackgroundStyle(back: RectElement): void;
|
|
1486
|
-
protected _getBackOffset(): number;
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
type Visitor<T extends RcElement> = (element: T, index?: number, count?: number) => void;
|
|
1490
|
-
declare class ElementPool<T extends RcElement> extends RcObject {
|
|
1491
|
-
removeDelay: number;
|
|
1492
|
-
private _owner;
|
|
1493
|
-
private _creator;
|
|
1494
|
-
private _pool;
|
|
1495
|
-
private _views;
|
|
1496
|
-
private _removes;
|
|
1497
|
-
private _styleName;
|
|
1498
|
-
constructor(owner: RcElement, creator: {
|
|
1499
|
-
new (doc: Document, styleName?: string): T;
|
|
1500
|
-
}, styleName?: string, removeDelay?: number);
|
|
1501
|
-
protected _doDestory(): void;
|
|
1502
|
-
get isEmpty(): boolean;
|
|
1503
|
-
get count(): number;
|
|
1504
|
-
get first(): T;
|
|
1505
|
-
get last(): T;
|
|
1506
|
-
get(index: number): T;
|
|
1507
|
-
getAll(): T[];
|
|
1508
|
-
elementOf(dom: Element): T;
|
|
1509
|
-
find(matcher: (v: T) => boolean): T;
|
|
1510
|
-
setRemoveDelay(v: number): ElementPool<T>;
|
|
1511
|
-
removeLater(v: RcElement, duration: number): void;
|
|
1512
|
-
private $_create;
|
|
1513
|
-
prepare(count: number, visitor?: Visitor<T>, initor?: Visitor<T>): ElementPool<T>;
|
|
1514
|
-
reprepare(viewProp: string, objs: RcObject[], objProp: string, cleaner?: Visitor<T>, initor?: Visitor<T>, visitor?: Visitor<T>): ElementPool<T>;
|
|
1515
|
-
borrow(): T;
|
|
1516
|
-
free(element: T, removeDelay?: number): void;
|
|
1517
|
-
freeAll(elements: T[], removeDelay?: number): void;
|
|
1518
|
-
forEach(visitor: (v: T, i?: number, count?: number) => void): void;
|
|
1519
|
-
visit(visitor: (v: T, i: number, count: number) => boolean): boolean;
|
|
1520
|
-
sort(compare: (v1: T, v2: T) => number): ElementPool<T>;
|
|
1521
|
-
map(callback: (v: T) => any): any[];
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
type RcAnimationEndHandler = (ani: RcAnimation) => void;
|
|
1525
|
-
declare abstract class RcAnimation {
|
|
1526
|
-
static readonly DURATION = 700;
|
|
1527
|
-
static readonly SHORT_DURATION = 300;
|
|
1528
|
-
delay: number;
|
|
1529
|
-
duration: number;
|
|
1530
|
-
easing: string;
|
|
1531
|
-
endHandler: RcAnimationEndHandler;
|
|
1532
|
-
private _easing;
|
|
1533
|
-
private _started;
|
|
1534
|
-
private _timer;
|
|
1535
|
-
private _handler;
|
|
1536
|
-
start(endHandler?: RcAnimationEndHandler): RcAnimation;
|
|
1537
|
-
stop(): void;
|
|
1538
|
-
protected _start(duration: number, delay?: number, easing?: string): void;
|
|
1539
|
-
protected _stop(): void;
|
|
1540
|
-
protected _doStart(): void;
|
|
1541
|
-
protected _doStop(): void;
|
|
1542
|
-
protected abstract _doUpdate(rate: number): boolean;
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
declare class LabelElement extends GroupElement {
|
|
1546
|
-
private _back;
|
|
1547
|
-
_outline: TextElement;
|
|
1548
|
-
_text: TextElement;
|
|
1549
|
-
private _model;
|
|
1550
|
-
constructor(doc: Document, styleName?: string);
|
|
1551
|
-
get text(): string;
|
|
1552
|
-
get anchor(): TextAnchor;
|
|
1553
|
-
set anchor(value: TextAnchor);
|
|
1554
|
-
setText(s: string): LabelElement;
|
|
1555
|
-
setSvg(s: string): LabelElement;
|
|
1556
|
-
setModel(doc: Document, model: ChartText, contrastTarget: Element): LabelElement;
|
|
1557
|
-
setContrast(target: Element): LabelElement;
|
|
1558
|
-
layout(): LabelElement;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
interface IPointView {
|
|
1562
|
-
point: DataPoint;
|
|
1563
|
-
}
|
|
1564
|
-
declare class PointLabelView extends LabelElement {
|
|
1565
|
-
point: DataPoint;
|
|
1566
|
-
constructor(doc: Document);
|
|
1567
|
-
}
|
|
1568
|
-
declare class PointLabelContainer extends LayerElement {
|
|
1569
|
-
private _labels;
|
|
1570
|
-
private _maps;
|
|
1571
|
-
constructor(doc: Document);
|
|
1572
|
-
clear(): void;
|
|
1573
|
-
prepareLabel(doc: Document, view: PointLabelView, index: number, p: DataPoint, model: DataPointLabel): void;
|
|
1574
|
-
prepare(doc: Document, owner: SeriesView<Series>): void;
|
|
1575
|
-
get(point: DataPoint, index: number): PointLabelView;
|
|
1576
|
-
removePoint(p: DataPoint, delay: number): void;
|
|
1577
|
-
}
|
|
1578
|
-
declare class PointContainer extends LayerElement {
|
|
1579
|
-
inverted: boolean;
|
|
1580
|
-
invert(v: boolean, height: number): boolean;
|
|
1581
|
-
}
|
|
1582
|
-
type LabelLayoutInfo = {
|
|
1583
|
-
inverted: boolean;
|
|
1584
|
-
reversed: boolean;
|
|
1585
|
-
pointView: RcElement;
|
|
1586
|
-
x: number;
|
|
1587
|
-
y: number;
|
|
1588
|
-
hPoint: number;
|
|
1589
|
-
wPoint: number;
|
|
1590
|
-
labelView: PointLabelView;
|
|
1591
|
-
labelPos: PointItemPosition;
|
|
1592
|
-
labelOff: number;
|
|
1593
|
-
};
|
|
1594
|
-
declare abstract class SeriesView<T extends Series> extends ChartElement<T> {
|
|
1595
|
-
static readonly POINT_CLASS = "rct-point";
|
|
1596
|
-
static readonly DATA_FOUCS = "focus";
|
|
1597
|
-
static readonly LEGEND_MARKER = "rct-legend-item-marker";
|
|
1598
|
-
protected _pointContainer: PointContainer;
|
|
1599
|
-
protected _labelContainer: PointLabelContainer;
|
|
1600
|
-
private _trendLineView;
|
|
1601
|
-
protected _legendMarker: RcElement;
|
|
1602
|
-
protected _visPoints: DataPoint[];
|
|
1603
|
-
protected _inverted: boolean;
|
|
1604
|
-
protected _animatable: boolean;
|
|
1605
|
-
private _viewRate;
|
|
1606
|
-
_animations: Animation[];
|
|
1607
|
-
constructor(doc: Document, styleName: string);
|
|
1608
|
-
invertable(): boolean;
|
|
1609
|
-
getClipContainer(): RcElement;
|
|
1610
|
-
setViewRate(rate: number): void;
|
|
1611
|
-
setPosRate(rate: number): void;
|
|
1612
|
-
isPointVisible(p: DataPoint): boolean;
|
|
1613
|
-
protected _doViewRateChanged(rate: number): void;
|
|
1614
|
-
_setChartOptions(inverted: boolean, animatable: boolean): void;
|
|
1615
|
-
_animationStarted(ani: Animation): void;
|
|
1616
|
-
_animationFinished(ani: Animation): void;
|
|
1617
|
-
protected abstract _getPointPool(): ElementPool<RcElement>;
|
|
1618
|
-
pointByDom(elt: Element): IPointView;
|
|
1619
|
-
findPointView(p: DataPoint): RcElement;
|
|
1620
|
-
clicked(elt: Element): void;
|
|
1621
|
-
protected _doPointClicked(view: IPointView): void;
|
|
1622
|
-
protected _getColor(): string;
|
|
1623
|
-
prepareSeries(doc: Document, model: T): void;
|
|
1624
|
-
protected _prepareStyleOrClass(model: T): void;
|
|
1625
|
-
protected _doMeasure(doc: Document, model: T, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1626
|
-
protected _doLayout(): void;
|
|
1627
|
-
protected abstract _prepareSeries(doc: Document, model: T): void;
|
|
1628
|
-
protected abstract _renderSeries(width: number, height: number): void;
|
|
1629
|
-
protected _collectVisPoints(model: T): DataPoint[];
|
|
1630
|
-
private $_setColorIndex;
|
|
1631
|
-
protected _setPointStyle(v: RcElement, model: T, p: DataPoint, styles?: any[]): void;
|
|
1632
|
-
protected _labelViews(): PointLabelContainer;
|
|
1633
|
-
protected _getViewRate(): number;
|
|
1634
|
-
protected _animating(): boolean;
|
|
1635
|
-
protected _lazyPrepareLabels(): boolean;
|
|
1636
|
-
protected _afterRender(): void;
|
|
1637
|
-
protected _getShowAnimation(): RcAnimation;
|
|
1638
|
-
protected _runShowEffect(firstTime: boolean): void;
|
|
1639
|
-
private $_renderTrendline;
|
|
1640
|
-
protected _layoutLabel(info: LabelLayoutInfo): void;
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
declare class AxisGridView extends ChartElement<AxisGrid> {
|
|
1644
|
-
private _pts;
|
|
1645
|
-
private _lines;
|
|
1646
|
-
constructor(doc: Document);
|
|
1647
|
-
protected _doMeasure(doc: Document, model: AxisGrid, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1648
|
-
protected _doLayout(): void;
|
|
1649
|
-
}
|
|
1650
|
-
declare abstract class AxisGuideView<T extends AxisGuide> extends RcElement {
|
|
1651
|
-
model: T;
|
|
1652
|
-
protected _label: TextElement;
|
|
1653
|
-
constructor(doc: Document);
|
|
1654
|
-
vertical(): boolean;
|
|
1655
|
-
prepare(model: T): void;
|
|
1656
|
-
abstract layout(width: number, height: number): void;
|
|
1657
|
-
}
|
|
1658
|
-
declare class AxisGuideLineView extends AxisGuideView<AxisGuideLine> {
|
|
1659
1446
|
private _line;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1447
|
+
private _grid;
|
|
1448
|
+
private _tick;
|
|
1449
|
+
private _label;
|
|
1450
|
+
private _crosshair;
|
|
1451
|
+
private _scrollBar;
|
|
1452
|
+
protected _doInit(proxy: Axis): void;
|
|
1453
|
+
get title(): RcChartObject;
|
|
1454
|
+
get line(): RcChartObject;
|
|
1455
|
+
get grid(): RcChartObject;
|
|
1456
|
+
get tick(): RcChartObject;
|
|
1457
|
+
get label(): RcChartObject;
|
|
1458
|
+
get crosshair(): RcChartObject;
|
|
1459
|
+
get scrollBar(): RcChartObject;
|
|
1460
|
+
get isEmpty(): boolean;
|
|
1461
|
+
resetZoom(): void;
|
|
1462
|
+
zoom(start: number, end: number): void;
|
|
1663
1463
|
}
|
|
1664
|
-
declare class
|
|
1665
|
-
private _box;
|
|
1666
|
-
constructor(doc: Document);
|
|
1667
|
-
prepare(model: AxisGuideRange): void;
|
|
1668
|
-
layout(width: number, height: number): void;
|
|
1669
|
-
}
|
|
1670
|
-
declare class AxisGuideContainer extends LayerElement {
|
|
1671
|
-
_linePool: AxisGuideLineView[];
|
|
1672
|
-
_rangePool: AxisGuideRangeView[];
|
|
1673
|
-
_views: AxisGuideView<AxisGuide>[];
|
|
1674
|
-
prepare(): void;
|
|
1675
|
-
addAll(doc: Document, guides: AxisGuide[]): void;
|
|
1676
|
-
add(child: AxisGuideView<AxisGuide>): RcElement;
|
|
1677
|
-
}
|
|
1678
|
-
interface IPlottingOwner {
|
|
1679
|
-
clipSeries(view: RcElement, x: number, y: number, w: number, h: number, invertable: boolean): void;
|
|
1680
|
-
showTooltip(series: Series, point: DataPoint): void;
|
|
1681
|
-
hideTooltip(): void;
|
|
1682
|
-
}
|
|
1683
|
-
declare class BodyView extends ChartElement<Body> {
|
|
1684
|
-
static readonly BODY_CLASS = "rct-plot";
|
|
1685
|
-
private _owner;
|
|
1686
|
-
private _polar;
|
|
1687
|
-
private _background;
|
|
1688
|
-
private _image;
|
|
1689
|
-
private _gridContainer;
|
|
1690
|
-
protected _gridViews: Map<Axis, AxisGridView>;
|
|
1691
|
-
private _breakViews;
|
|
1692
|
-
private _seriesContainer;
|
|
1693
|
-
protected _seriesViews: SeriesView<Series>[];
|
|
1694
|
-
private _seriesMap;
|
|
1695
|
-
private _series;
|
|
1696
|
-
private _gaugeViews;
|
|
1697
|
-
private _gaugeMap;
|
|
1698
|
-
private _gauges;
|
|
1699
|
-
_guideContainer: AxisGuideContainer;
|
|
1700
|
-
_frontGuideContainer: AxisGuideContainer;
|
|
1701
|
-
_axisBreakContainer: LayerElement;
|
|
1702
|
-
private _feedbackContainer;
|
|
1703
|
-
private _crosshairLines;
|
|
1704
|
-
private _focused;
|
|
1705
|
-
protected _animatable: boolean;
|
|
1706
|
-
constructor(doc: Document, owner: IPlottingOwner);
|
|
1707
|
-
prepareSeries(doc: Document, chart: IChart): void;
|
|
1708
|
-
prepareGuideContainers(): void;
|
|
1709
|
-
pointerMoved(p: IPoint, target: EventTarget): boolean;
|
|
1710
|
-
private $_setFocused;
|
|
1711
|
-
seriesByDom(elt: Element): SeriesView<Series>;
|
|
1712
|
-
findSeries(ser: Series): SeriesView<Series>;
|
|
1713
|
-
protected _doMeasure(doc: Document, model: Body, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1714
|
-
protected _doLayout(): void;
|
|
1715
|
-
private $_createSeriesView;
|
|
1716
|
-
private $_createGaugeView;
|
|
1717
|
-
private $_prepareGrids;
|
|
1718
|
-
private $_prepareSeries;
|
|
1719
|
-
private $_prepareGauges;
|
|
1720
|
-
private $_prepareAxisBreaks;
|
|
1721
|
-
private $_preppareCrosshairs;
|
|
1464
|
+
declare class RcCategoryAxis extends RcChartAxis {
|
|
1722
1465
|
}
|
|
1723
|
-
|
|
1724
|
-
declare class TitleView extends BoundableElement<Title> {
|
|
1725
|
-
static readonly TITLE_CLASS = "rct-title";
|
|
1726
|
-
static readonly SUBTITLE_CLASS = "rct-subtitle";
|
|
1727
|
-
private _textView;
|
|
1728
|
-
constructor(doc: Document, isSub: boolean);
|
|
1729
|
-
protected _setBackgroundStyle(back: RectElement): void;
|
|
1730
|
-
protected _doMeasure(doc: Document, model: Title, hintWidth: number, hintHeight: number, phase: number): ISize;
|
|
1731
|
-
protected _doLayout(): void;
|
|
1466
|
+
declare abstract class RcContinuousAxis extends RcChartAxis {
|
|
1732
1467
|
}
|
|
1733
|
-
|
|
1734
|
-
declare class EmptyView extends GroupElement {
|
|
1468
|
+
declare class RcLinearAxis extends RcContinuousAxis {
|
|
1735
1469
|
}
|
|
1736
|
-
declare class
|
|
1737
|
-
private _textView;
|
|
1738
|
-
constructor(doc: Document);
|
|
1739
|
-
clicked(dom: Element): void;
|
|
1740
|
-
protected _doMeasure(doc: Document, model: Credits, intWidth: number, hintHeight: number, phase: number): ISize;
|
|
1741
|
-
}
|
|
1742
|
-
declare class ChartView extends RcElement {
|
|
1743
|
-
private _model;
|
|
1744
|
-
_inverted: boolean;
|
|
1745
|
-
_emptyView: EmptyView;
|
|
1746
|
-
private _titleSectionView;
|
|
1747
|
-
private _legendSectionView;
|
|
1748
|
-
private _bodyView;
|
|
1749
|
-
private _polarView;
|
|
1750
|
-
private _currBody;
|
|
1751
|
-
private _axisSectionViews;
|
|
1752
|
-
private _creditView;
|
|
1753
|
-
private _historyView;
|
|
1754
|
-
private _tooltipView;
|
|
1755
|
-
private _seriesClip;
|
|
1756
|
-
_org: IPoint;
|
|
1757
|
-
private _plotWidth;
|
|
1758
|
-
private _plotHeight;
|
|
1759
|
-
constructor(doc: Document);
|
|
1760
|
-
titleView(): TitleView;
|
|
1761
|
-
subtitleView(): TitleView;
|
|
1762
|
-
bodyView(): BodyView;
|
|
1763
|
-
measure(doc: Document, model: Chart, hintWidth: number, hintHeight: number, phase: number): void;
|
|
1764
|
-
layout(): void;
|
|
1765
|
-
showTooltip(series: Series, point: DataPoint): void;
|
|
1766
|
-
hideTooltip(): void;
|
|
1767
|
-
legendByDom(dom: Element): LegendItem;
|
|
1768
|
-
seriesByDom(dom: Element): SeriesView<Series>;
|
|
1769
|
-
findSeriesView(series: Series): SeriesView<Series>;
|
|
1770
|
-
creditByDom(dom: Element): CreditView;
|
|
1771
|
-
clipSeries(view: RcElement, x: number, y: number, w: number, h: number, invertable: boolean): void;
|
|
1772
|
-
pointerMoved(x: number, y: number, target: EventTarget): void;
|
|
1773
|
-
protected _doAttached(parent: RcElement): void;
|
|
1774
|
-
private $_checkEmpty;
|
|
1775
|
-
private $_prepareBody;
|
|
1776
|
-
private $_prepareAxes;
|
|
1777
|
-
private $_measurePlot;
|
|
1778
|
-
private $_measurePolar;
|
|
1470
|
+
declare class RcTimeAxis extends RcContinuousAxis {
|
|
1779
1471
|
}
|
|
1780
|
-
|
|
1781
|
-
declare class ChartControl extends RcControl implements IChartEventListener {
|
|
1782
|
-
private _model;
|
|
1783
|
-
private _chartView;
|
|
1784
|
-
constructor(doc: Document, container: string | HTMLDivElement);
|
|
1785
|
-
onModelChanged(chart: Chart, item: ChartItem): void;
|
|
1786
|
-
onVisibleChanged(chart: Chart, item: ChartItem): void;
|
|
1787
|
-
onPointVisibleChanged(chart: Chart, series: Series, point: DataPoint): void;
|
|
1788
|
-
get model(): Chart;
|
|
1789
|
-
set model(value: Chart);
|
|
1790
|
-
chartView(): ChartView;
|
|
1791
|
-
load(config: any, loadAnimation?: boolean): void;
|
|
1792
|
-
refresh(): void;
|
|
1793
|
-
useImage(src: string): void;
|
|
1794
|
-
protected _doRender(bounds: IRect): void;
|
|
1795
|
-
protected _doRenderBackground(elt: HTMLDivElement, width: number, height: number): void;
|
|
1472
|
+
declare class RcLogAxis extends RcContinuousAxis {
|
|
1796
1473
|
}
|
|
1797
|
-
|
|
1798
|
-
declare abstract class RcChartObject {
|
|
1799
|
-
$_p: ChartItem;
|
|
1800
|
-
constructor(proxy: ChartItem);
|
|
1801
|
-
get visible(): boolean;
|
|
1802
|
-
set visible(value: boolean);
|
|
1803
|
-
getProp(prop: string, deep?: boolean): any;
|
|
1804
|
-
setProp(prop: string, value: any): void;
|
|
1805
|
-
setProps(props: object): void;
|
|
1806
|
-
protected _changed(): void;
|
|
1474
|
+
declare class RcPointLabel extends RcChartAxis {
|
|
1807
1475
|
}
|
|
1808
1476
|
declare abstract class RcChartSeries extends RcChartObject {
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1477
|
+
private _pointLabel;
|
|
1478
|
+
private _trendLine;
|
|
1479
|
+
private _tooltip;
|
|
1480
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1481
|
+
get pointLabel(): RcChartObject;
|
|
1482
|
+
get trendLine(): RcChartObject;
|
|
1483
|
+
get tooltip(): RcChartObject;
|
|
1812
1484
|
}
|
|
1813
1485
|
declare abstract class RcSeriesGroup extends RcChartObject {
|
|
1814
1486
|
}
|
|
1815
|
-
declare class
|
|
1487
|
+
declare abstract class RcLineSeriesBase extends RcChartSeries {
|
|
1488
|
+
}
|
|
1489
|
+
declare class RcLineSeries extends RcLineSeriesBase {
|
|
1816
1490
|
}
|
|
1817
1491
|
declare class RcAreaSeries extends RcChartSeries {
|
|
1818
1492
|
}
|
|
@@ -1864,22 +1538,67 @@ declare class RcPieSeriesGroup extends RcSeriesGroup {
|
|
|
1864
1538
|
}
|
|
1865
1539
|
declare class RcBumpSeriesGroup extends RcSeriesGroup {
|
|
1866
1540
|
}
|
|
1867
|
-
declare abstract class
|
|
1541
|
+
declare abstract class RcChartGaugeBase extends RcChartObject {
|
|
1868
1542
|
}
|
|
1869
|
-
declare abstract class
|
|
1870
|
-
updateValue(value: any): void;
|
|
1871
|
-
}
|
|
1872
|
-
declare class RcCircleGauge extends RcValueGauge {
|
|
1543
|
+
declare abstract class RcChartGauge extends RcChartGaugeBase {
|
|
1873
1544
|
}
|
|
1874
|
-
declare class
|
|
1545
|
+
declare abstract class RcValueGauge extends RcChartGauge {
|
|
1546
|
+
updateValue(value: any, animate?: boolean): void;
|
|
1875
1547
|
}
|
|
1876
|
-
declare class
|
|
1548
|
+
declare class RcGaugeScale extends RcChartObject {
|
|
1549
|
+
private _line;
|
|
1550
|
+
private _tick;
|
|
1551
|
+
private _tickLabel;
|
|
1552
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1553
|
+
get line(): RcChartObject;
|
|
1554
|
+
get tick(): RcChartObject;
|
|
1555
|
+
get tickLabel(): RcChartObject;
|
|
1556
|
+
}
|
|
1557
|
+
declare abstract class RcCircularGauge extends RcValueGauge {
|
|
1558
|
+
private _label;
|
|
1559
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1560
|
+
get label(): RcChartObject;
|
|
1561
|
+
}
|
|
1562
|
+
declare class RcGaugeRangeBand extends RcChartObject {
|
|
1563
|
+
private _rangeLabel;
|
|
1564
|
+
private _tickLabel;
|
|
1565
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1566
|
+
get rangeLabel(): RcChartObject;
|
|
1567
|
+
get tickLabel(): RcChartObject;
|
|
1568
|
+
}
|
|
1569
|
+
declare class RcCircleGauge extends RcCircularGauge {
|
|
1570
|
+
private _band;
|
|
1571
|
+
private _scale;
|
|
1572
|
+
private _rim;
|
|
1573
|
+
private _valueRim;
|
|
1574
|
+
private _marker;
|
|
1575
|
+
private _hand;
|
|
1576
|
+
private _pin;
|
|
1577
|
+
protected _doInit(proxy: CircleGauge): void;
|
|
1578
|
+
get band(): RcGaugeRangeBand;
|
|
1579
|
+
get scale(): RcChartObject;
|
|
1580
|
+
get rim(): RcChartObject;
|
|
1581
|
+
get valueRim(): RcChartObject;
|
|
1582
|
+
get marker(): RcChartObject;
|
|
1583
|
+
get hand(): RcChartObject;
|
|
1584
|
+
get pin(): RcChartObject;
|
|
1585
|
+
}
|
|
1586
|
+
declare abstract class RcLinearGaugeBase extends RcValueGauge {
|
|
1587
|
+
private _label;
|
|
1588
|
+
private _scale;
|
|
1589
|
+
protected _doInit(proxy: ChartItem): void;
|
|
1590
|
+
get label(): RcChartObject;
|
|
1591
|
+
get scale(): RcChartObject;
|
|
1592
|
+
}
|
|
1593
|
+
declare class RcLinearGauge extends RcLinearGaugeBase {
|
|
1594
|
+
private _marker;
|
|
1595
|
+
private _band;
|
|
1596
|
+
}
|
|
1597
|
+
declare class RcBulletGauge extends RcLinearGaugeBase {
|
|
1877
1598
|
}
|
|
1878
1599
|
declare class RcClockGauge extends RcChartGauge {
|
|
1879
|
-
get active(): boolean;
|
|
1880
|
-
set active(value: boolean);
|
|
1881
1600
|
}
|
|
1882
|
-
declare abstract class RcGaugeGroup extends
|
|
1601
|
+
declare abstract class RcGaugeGroup extends RcChartGaugeBase {
|
|
1883
1602
|
}
|
|
1884
1603
|
declare class RcCircleGaugeGroup extends RcGaugeGroup {
|
|
1885
1604
|
}
|
|
@@ -1887,17 +1606,39 @@ declare class RcLinearGaugeGroup extends RcGaugeGroup {
|
|
|
1887
1606
|
}
|
|
1888
1607
|
declare class RcBulletGaugeGroup extends RcGaugeGroup {
|
|
1889
1608
|
}
|
|
1609
|
+
declare class RcTitle extends RcChartObject {
|
|
1610
|
+
}
|
|
1611
|
+
declare class RcSubtitle extends RcChartObject {
|
|
1612
|
+
}
|
|
1613
|
+
declare class RcLegend extends RcChartObject {
|
|
1614
|
+
}
|
|
1615
|
+
declare class RcBody extends RcChartObject {
|
|
1616
|
+
}
|
|
1890
1617
|
|
|
1891
1618
|
declare class RcChartControl {
|
|
1892
1619
|
private $_p;
|
|
1893
1620
|
private _objects;
|
|
1894
|
-
constructor(
|
|
1621
|
+
private constructor();
|
|
1895
1622
|
load(config: any, animate?: boolean): void;
|
|
1896
|
-
|
|
1623
|
+
render(now?: boolean): void;
|
|
1624
|
+
get xAxis(): RcChartAxis;
|
|
1625
|
+
getXAxis(name: string | number): RcChartAxis;
|
|
1626
|
+
get yAxis(): RcChartAxis;
|
|
1627
|
+
getYAxis(name: string | number): RcChartAxis;
|
|
1897
1628
|
get series(): RcChartSeries;
|
|
1898
1629
|
getSeries(name: string): RcChartSeries;
|
|
1899
1630
|
get gauge(): RcChartGauge;
|
|
1900
1631
|
getGauge(name: string): RcChartGauge;
|
|
1632
|
+
get title(): RcTitle;
|
|
1633
|
+
get subtitle(): RcSubtitle;
|
|
1634
|
+
get legend(): RcLegend;
|
|
1635
|
+
get body(): RcBody;
|
|
1636
|
+
get type(): string;
|
|
1637
|
+
get gaugeType(): string;
|
|
1638
|
+
get inverted(): boolean;
|
|
1639
|
+
set inverted(value: boolean);
|
|
1640
|
+
get polar(): boolean;
|
|
1641
|
+
scroll(axis: RcChartAxis, pos: number): void;
|
|
1901
1642
|
}
|
|
1902
1643
|
|
|
1903
1644
|
declare class Globals {
|
|
@@ -1912,4 +1653,4 @@ declare const setDebugging: typeof Globals.setDebugging;
|
|
|
1912
1653
|
declare const setAnimatable: typeof Globals.setAnimatable;
|
|
1913
1654
|
declare const createChart: typeof Globals.createChart;
|
|
1914
1655
|
|
|
1915
|
-
export { RcAreaRangeSeries, RcAreaSeries, RcAreaSeriesGroup, RcBarRangeSeries, RcBarSeries, RcBarSeriesGroup, RcBellCurveSeries, RcBoxPlotSeries, RcBubbleSeries, RcBulletGauge, RcBulletGaugeGroup, RcBumpSeriesGroup, RcCandlestickSeries, RcChartControl, RcChartGauge, RcChartObject, RcChartSeries, RcCircleGauge, RcCircleGaugeGroup, RcClockGauge, RcDumbbellSeries, RcEqualizerSeries, RcFunnelSeries, RcGaugeGroup, RcHeatmapSeries, RcHistogramSeries, RcLineSeries, RcLineSeriesGroup, RcLinearGauge, RcLinearGaugeGroup, RcLollipopSeries, RcParetoSeries, RcPieSeries, RcPieSeriesGroup, RcScatterSeries, RcSeriesGroup, RcTreemapSeries, RcValueGauge, RcVectorSeries, RcWaterfallSeries, createChart, getVersion, setAnimatable, setDebugging };
|
|
1656
|
+
export { RcAreaRangeSeries, RcAreaSeries, RcAreaSeriesGroup, RcBarRangeSeries, RcBarSeries, RcBarSeriesGroup, RcBellCurveSeries, RcBody, RcBoxPlotSeries, RcBubbleSeries, RcBulletGauge, RcBulletGaugeGroup, RcBumpSeriesGroup, RcCandlestickSeries, RcCategoryAxis, RcChartAxis, RcChartControl, RcChartGauge, RcChartGaugeBase, RcChartObject, RcChartSeries, RcCircleGauge, RcCircleGaugeGroup, RcCircularGauge, RcClockGauge, RcContinuousAxis, RcDumbbellSeries, RcEqualizerSeries, RcFunnelSeries, RcGaugeGroup, RcGaugeRangeBand, RcGaugeScale, RcHeatmapSeries, RcHistogramSeries, RcLegend, RcLineSeries, RcLineSeriesGroup, RcLinearAxis, RcLinearGauge, RcLinearGaugeGroup, RcLinearGaugeBase as RcLinerGaugeBase, RcLogAxis, RcLollipopSeries, RcParetoSeries, RcPieSeries, RcPieSeriesGroup, RcPointLabel, RcScatterSeries, RcSeriesGroup, RcSubtitle, RcTimeAxis, RcTitle, RcTreemapSeries, RcValueGauge, RcVectorSeries, RcWaterfallSeries, createChart, getVersion, setAnimatable, setDebugging };
|