realmap 1.0.0 → 1.0.2
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 +108 -41
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ interface SVGStyles {
|
|
|
27
27
|
padding?: string;
|
|
28
28
|
}
|
|
29
29
|
type SVGStyleOrClass = SVGStyles | string;
|
|
30
|
+
interface CSSStyles extends Partial<CSSStyleDeclaration> {
|
|
31
|
+
}
|
|
30
32
|
interface ISides {
|
|
31
33
|
left: number;
|
|
32
34
|
right: number;
|
|
@@ -83,6 +85,14 @@ interface IPaddings {
|
|
|
83
85
|
t: number;
|
|
84
86
|
b: number;
|
|
85
87
|
}
|
|
88
|
+
declare const _ChartItemLocation: {
|
|
89
|
+
readonly BOTTOM: "bottom";
|
|
90
|
+
readonly TOP: "top";
|
|
91
|
+
readonly RIGHT: "right";
|
|
92
|
+
readonly LEFT: "left";
|
|
93
|
+
readonly BODY: "body";
|
|
94
|
+
};
|
|
95
|
+
type ChartItemLocation = typeof _ChartItemLocation[keyof typeof _ChartItemLocation];
|
|
86
96
|
interface ConfigObject {
|
|
87
97
|
[key: string]: any;
|
|
88
98
|
}
|
|
@@ -153,6 +163,7 @@ interface MapSource {
|
|
|
153
163
|
padding?: string;
|
|
154
164
|
dokdo?: number | MapCoord;
|
|
155
165
|
showDummies?: boolean;
|
|
166
|
+
useOffset?: boolean | MapCoord;
|
|
156
167
|
}
|
|
157
168
|
declare abstract class MapSourceItem {
|
|
158
169
|
id: string;
|
|
@@ -173,6 +184,7 @@ declare abstract class MapSourceImpl extends RmObject {
|
|
|
173
184
|
readonly meta: MapSourceMeta;
|
|
174
185
|
readonly dokdo: number;
|
|
175
186
|
readonly dummies: string[];
|
|
187
|
+
readonly useOffset: boolean | MapCoord;
|
|
176
188
|
items: MapSourceItem[];
|
|
177
189
|
insets: {
|
|
178
190
|
[area: string]: MapInset;
|
|
@@ -397,6 +409,49 @@ interface IRect {
|
|
|
397
409
|
declare const createRect: (x: number, y: number, width: number, height: number) => IRect;
|
|
398
410
|
declare function rectToSize(r: IRect): ISize;
|
|
399
411
|
declare function isEmptyRect(r: IRect): boolean;
|
|
412
|
+
declare class Rectangle {
|
|
413
|
+
x: number;
|
|
414
|
+
y: number;
|
|
415
|
+
width: number;
|
|
416
|
+
height: number;
|
|
417
|
+
static readonly Empty: Rectangle;
|
|
418
|
+
static Temp: Rectangle;
|
|
419
|
+
static create(x: any, y?: number, width?: number, height?: number): Rectangle;
|
|
420
|
+
constructor(x?: number, y?: number, width?: number, height?: number);
|
|
421
|
+
get left(): number;
|
|
422
|
+
set left(value: number);
|
|
423
|
+
get right(): number;
|
|
424
|
+
set right(value: number);
|
|
425
|
+
get top(): number;
|
|
426
|
+
set top(value: number);
|
|
427
|
+
get bottom(): number;
|
|
428
|
+
set bottom(value: number);
|
|
429
|
+
get isEmpty(): boolean;
|
|
430
|
+
get isValid(): boolean;
|
|
431
|
+
clone(): Rectangle;
|
|
432
|
+
getInner(): Rectangle;
|
|
433
|
+
equals(r: Rectangle): boolean;
|
|
434
|
+
leftBy(delta: number): Rectangle;
|
|
435
|
+
rightBy(delta: number): Rectangle;
|
|
436
|
+
topBy(delta: number): Rectangle;
|
|
437
|
+
bottomBy(delta: number): Rectangle;
|
|
438
|
+
shrink(dx: number, dy: number): Rectangle;
|
|
439
|
+
expand(dx: number, dy: number): Rectangle;
|
|
440
|
+
contains(x: number, y: number): boolean;
|
|
441
|
+
setEmpty(): Rectangle;
|
|
442
|
+
move(x?: number, y?: number): Rectangle;
|
|
443
|
+
set(x: number, y: number, width: number, height: number): Rectangle;
|
|
444
|
+
setWidth(value: number): Rectangle;
|
|
445
|
+
copy(r: Rectangle): Rectangle;
|
|
446
|
+
copyHorz(r: Rectangle): Rectangle;
|
|
447
|
+
copyVert(r: Rectangle): Rectangle;
|
|
448
|
+
inflate(left?: number, top?: number, right?: number, bottom?: number): Rectangle;
|
|
449
|
+
offset(dx: number, dy: number): Rectangle;
|
|
450
|
+
round(): Rectangle;
|
|
451
|
+
union(r: Rectangle): Rectangle;
|
|
452
|
+
normalize(): Rectangle;
|
|
453
|
+
toString(): string;
|
|
454
|
+
}
|
|
400
455
|
|
|
401
456
|
declare class Sides {
|
|
402
457
|
top: number;
|
|
@@ -541,7 +596,7 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
541
596
|
clickAction?: ClickAction;
|
|
542
597
|
dblClickAction?: DblClickAction;
|
|
543
598
|
dragAction?: DragAction;
|
|
544
|
-
backgroundStyle?:
|
|
599
|
+
backgroundStyle?: CSSStyles;
|
|
545
600
|
onSelectionChanged?: (args: any) => void;
|
|
546
601
|
}
|
|
547
602
|
interface TitleOptions extends ChartItemOptions {
|
|
@@ -563,11 +618,13 @@ type SubtitlePosition = typeof _SubtitlePosition[keyof typeof _SubtitlePosition]
|
|
|
563
618
|
interface SubtitleOptions extends TitleOptions {
|
|
564
619
|
position?: SubtitlePosition;
|
|
565
620
|
titleGap?: number;
|
|
621
|
+
text?: string;
|
|
622
|
+
verticalAlign?: VerticalAlign;
|
|
566
623
|
}
|
|
567
624
|
interface CreditsOptions extends ChartItemOptions {
|
|
568
625
|
text?: string;
|
|
569
626
|
url?: string;
|
|
570
|
-
|
|
627
|
+
location?: ChartItemLocation;
|
|
571
628
|
align?: Align;
|
|
572
629
|
verticalAlign?: VerticalAlign;
|
|
573
630
|
offsetX?: number;
|
|
@@ -674,18 +731,10 @@ interface BackgroundImageOptions extends ChartItemOptions {
|
|
|
674
731
|
url?: string;
|
|
675
732
|
}
|
|
676
733
|
|
|
677
|
-
declare const ScaleLocations: {
|
|
678
|
-
readonly BOTTOM: "bottom";
|
|
679
|
-
readonly TOP: "top";
|
|
680
|
-
readonly RIGHT: "right";
|
|
681
|
-
readonly LEFT: "left";
|
|
682
|
-
readonly BODY: "body";
|
|
683
|
-
};
|
|
684
|
-
type ScaleLocation = typeof ScaleLocations[keyof typeof ScaleLocations];
|
|
685
734
|
interface ScaleOptions extends ChartItemOptions {
|
|
686
735
|
name?: string;
|
|
687
736
|
series?: string;
|
|
688
|
-
location?:
|
|
737
|
+
location?: ChartItemLocation;
|
|
689
738
|
align?: Align;
|
|
690
739
|
verticalAlign?: VerticalAlign;
|
|
691
740
|
offsetX?: number;
|
|
@@ -793,18 +842,10 @@ declare const _LegendLayout: {
|
|
|
793
842
|
readonly VERTICAL: "vertical";
|
|
794
843
|
};
|
|
795
844
|
type LegendLayout = typeof _LegendLayout[keyof typeof _LegendLayout];
|
|
796
|
-
declare const LegendLocations: {
|
|
797
|
-
readonly BOTTOM: "bottom";
|
|
798
|
-
readonly TOP: "top";
|
|
799
|
-
readonly RIGHT: "right";
|
|
800
|
-
readonly LEFT: "left";
|
|
801
|
-
readonly BODY: "body";
|
|
802
|
-
};
|
|
803
|
-
type LegendLocation = typeof LegendLocations[keyof typeof LegendLocations];
|
|
804
845
|
interface LegendOptions extends ChartItemOptions {
|
|
805
846
|
visible?: boolean;
|
|
806
847
|
reversed?: boolean;
|
|
807
|
-
location?:
|
|
848
|
+
location?: ChartItemLocation;
|
|
808
849
|
layout?: LegendLayout;
|
|
809
850
|
alignBase?: AlignBase;
|
|
810
851
|
gap?: number;
|
|
@@ -822,7 +863,7 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
822
863
|
offsetX?: number;
|
|
823
864
|
offsetY?: number;
|
|
824
865
|
itemsAlign?: LegendItemsAlign;
|
|
825
|
-
|
|
866
|
+
sameTextColor?: boolean;
|
|
826
867
|
seriesHovering?: boolean;
|
|
827
868
|
}
|
|
828
869
|
|
|
@@ -1134,6 +1175,7 @@ interface RouteSeriesOptions extends SeriesOptions {
|
|
|
1134
1175
|
lineType?: RouteLineType;
|
|
1135
1176
|
lineWidth?: number;
|
|
1136
1177
|
arrowDisplay?: RouteArrowDisplay;
|
|
1178
|
+
bendFactor: number;
|
|
1137
1179
|
}
|
|
1138
1180
|
interface MapSeriesLabelOptions extends DataPointLabelOptions {
|
|
1139
1181
|
visible?: boolean;
|
|
@@ -1286,7 +1328,7 @@ interface CircleGaugeFaceOptions extends ChartItemOptions {
|
|
|
1286
1328
|
}
|
|
1287
1329
|
interface CircleGaugeRimOptions extends ChartItemOptions {
|
|
1288
1330
|
}
|
|
1289
|
-
interface CircleGaugeValueRimOptions extends
|
|
1331
|
+
interface CircleGaugeValueRimOptions extends CircleGaugeRimOptions {
|
|
1290
1332
|
thickness?: PercentSize;
|
|
1291
1333
|
stroked?: boolean;
|
|
1292
1334
|
}
|
|
@@ -1496,6 +1538,7 @@ interface ILegendSource {
|
|
|
1496
1538
|
legendMarker(doc: Document, size: number): RmElement;
|
|
1497
1539
|
legendColor(): string;
|
|
1498
1540
|
legendLabel(): string;
|
|
1541
|
+
setLegendMarkerStyle?(marker: RmElement): void;
|
|
1499
1542
|
}
|
|
1500
1543
|
declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
1501
1544
|
legend: Legend;
|
|
@@ -1515,7 +1558,7 @@ declare class Legend extends ChartItem<LegendOptions> {
|
|
|
1515
1558
|
items(): LegendItem[];
|
|
1516
1559
|
isEmpty(): boolean;
|
|
1517
1560
|
isVisible(): boolean;
|
|
1518
|
-
getLocation():
|
|
1561
|
+
getLocation(): ChartItemLocation;
|
|
1519
1562
|
isInner(): boolean;
|
|
1520
1563
|
getLayout(): LegendLayout;
|
|
1521
1564
|
getMaxWidth(domain: number): number;
|
|
@@ -1595,7 +1638,7 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
1595
1638
|
private $_buildSteps;
|
|
1596
1639
|
}
|
|
1597
1640
|
declare class ColorScaleCollection extends ScaleCollection<ColorScale> {
|
|
1598
|
-
getVisibles(loc:
|
|
1641
|
+
getVisibles(loc: ChartItemLocation): ColorScale[];
|
|
1599
1642
|
getLegendSources(): ILegendSource[];
|
|
1600
1643
|
protected _createScale(chart: IChart): ColorScale;
|
|
1601
1644
|
}
|
|
@@ -1614,6 +1657,7 @@ declare class Exporter extends ChartItem<ExporterOptions> {
|
|
|
1614
1657
|
interface MapProjection {
|
|
1615
1658
|
second?: MapProjection;
|
|
1616
1659
|
scroll: number;
|
|
1660
|
+
offset?: MapCoord;
|
|
1617
1661
|
bounds?: {
|
|
1618
1662
|
x1: number;
|
|
1619
1663
|
y1: number;
|
|
@@ -1660,7 +1704,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
1660
1704
|
private $_readBound;
|
|
1661
1705
|
private $_readInset;
|
|
1662
1706
|
private $_toPath;
|
|
1663
|
-
readBounds(polys
|
|
1707
|
+
readBounds(polys?: number[]): {
|
|
1664
1708
|
h1: number;
|
|
1665
1709
|
v1: number;
|
|
1666
1710
|
h2: number;
|
|
@@ -1682,6 +1726,7 @@ declare class MapModel extends RmObject {
|
|
|
1682
1726
|
private _areas;
|
|
1683
1727
|
private _areaMap;
|
|
1684
1728
|
_insets: MapInset[];
|
|
1729
|
+
_useOffset: boolean | MapCoord;
|
|
1685
1730
|
private _mapAreaFinder;
|
|
1686
1731
|
x1: number;
|
|
1687
1732
|
y1: number;
|
|
@@ -1713,6 +1758,9 @@ declare class MapModel extends RmObject {
|
|
|
1713
1758
|
findByCoord(coord: MapCoord): MapArea | null;
|
|
1714
1759
|
reset(): void;
|
|
1715
1760
|
isVisible(area: string): boolean;
|
|
1761
|
+
isWorldMap(): boolean;
|
|
1762
|
+
private $_preflight;
|
|
1763
|
+
private $_isWorldMap;
|
|
1716
1764
|
private $_resetAreas;
|
|
1717
1765
|
private $_load;
|
|
1718
1766
|
private $_copy;
|
|
@@ -1930,7 +1978,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
1930
1978
|
_prepareRender(): void;
|
|
1931
1979
|
protected _doPrepareRender(chart: IChart): void;
|
|
1932
1980
|
protected _doLoadPoints(src: any): void;
|
|
1933
|
-
setCalcedColor(
|
|
1981
|
+
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
1934
1982
|
getColorScale(): string | number;
|
|
1935
1983
|
canSelect(): boolean;
|
|
1936
1984
|
}
|
|
@@ -1990,6 +2038,7 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
1990
2038
|
get center(): MapCoord;
|
|
1991
2039
|
get map(): MapModel;
|
|
1992
2040
|
set dragDistance(value: number);
|
|
2041
|
+
get calcedMapWidth(): number;
|
|
1993
2042
|
isDrilldowned(): boolean;
|
|
1994
2043
|
prepareLayout(width: number, height: number): {
|
|
1995
2044
|
scale: number;
|
|
@@ -1998,7 +2047,11 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
1998
2047
|
tx: number;
|
|
1999
2048
|
ty: number;
|
|
2000
2049
|
};
|
|
2001
|
-
$_calcWMap():
|
|
2050
|
+
$_calcWMap(): {
|
|
2051
|
+
x1: number;
|
|
2052
|
+
x2: number;
|
|
2053
|
+
w: number;
|
|
2054
|
+
};
|
|
2002
2055
|
getPoint(id: string): MapCoord;
|
|
2003
2056
|
isVisible(coord: MapCoord): boolean;
|
|
2004
2057
|
isWorldMap(): boolean;
|
|
@@ -2029,7 +2082,7 @@ interface IMapChartEvents {
|
|
|
2029
2082
|
}
|
|
2030
2083
|
declare class Credits extends ChartItem<CreditsOptions> {
|
|
2031
2084
|
static defaults: CreditsOptions;
|
|
2032
|
-
|
|
2085
|
+
getAlign(loc: ChartItemLocation): void;
|
|
2033
2086
|
}
|
|
2034
2087
|
declare class ChartOptions extends ChartItem<ChartOptionsOptions> {
|
|
2035
2088
|
static defaults: ChartOptionsOptions;
|
|
@@ -2101,7 +2154,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
2101
2154
|
selectionItemAdded(item: ISelectionSource): void;
|
|
2102
2155
|
selectionItemRemoved(item: ISelectionSource): void;
|
|
2103
2156
|
selectionCleared(): void;
|
|
2104
|
-
get type(): "
|
|
2157
|
+
get type(): "map" | "image" | "point" | "line" | "bar" | "pie" | "waffle" | "bubble" | "route" | "feature" | "pin" | "figure" | "vector" | "heatmap" | "panel" | "gauge" | "clock";
|
|
2105
2158
|
get chartOptions(): ChartOptions;
|
|
2106
2159
|
get legend(): Legend;
|
|
2107
2160
|
get credits(): Credits;
|
|
@@ -2261,6 +2314,7 @@ declare class MapScroller extends DragTracker<ChartControl> {
|
|
|
2261
2314
|
private _oldY;
|
|
2262
2315
|
private _xStart;
|
|
2263
2316
|
private _yStart;
|
|
2317
|
+
private _prj;
|
|
2264
2318
|
constructor(control: ChartControl);
|
|
2265
2319
|
protected _doStart(eventTarget: Element, xStart: number, yStart: number, x: number, y: number): boolean;
|
|
2266
2320
|
protected _doEnded(x?: number, y?: number): void;
|
|
@@ -2349,10 +2403,10 @@ declare abstract class SectionView extends GroupElement {
|
|
|
2349
2403
|
measure(doc: Document, chart: IChart, hintWidth: number, hintHeight: number): ISize;
|
|
2350
2404
|
resizeByMeasured(): SectionView;
|
|
2351
2405
|
layout(param?: any): SectionView;
|
|
2352
|
-
|
|
2406
|
+
locateInner(width: number, height: number, param?: any): SectionView;
|
|
2353
2407
|
protected abstract _doMeasure(doc: Document, chart: IChart, hintWidth: number, hintHeight: number): ISize;
|
|
2354
2408
|
protected abstract _doLayout(param?: any): void;
|
|
2355
|
-
protected abstract
|
|
2409
|
+
protected abstract _doLocateInner(width: number, height: number, param?: any): void;
|
|
2356
2410
|
}
|
|
2357
2411
|
declare abstract class ContentView<T extends ChartItem> extends ChartElement<T> {
|
|
2358
2412
|
protected _inverted: boolean;
|
|
@@ -2712,6 +2766,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
|
|
|
2712
2766
|
protected abstract _doPrepeare(doc: Document, model: T, dataDirty: boolean): void;
|
|
2713
2767
|
protected abstract _doRender(width: number, height: number): void;
|
|
2714
2768
|
protected abstract _doReset(): void;
|
|
2769
|
+
protected get growRate(): number;
|
|
2715
2770
|
_animating(): boolean;
|
|
2716
2771
|
protected _getPointPositioner(pos: PointViewPosition, autoPos: string): PointPositioner;
|
|
2717
2772
|
protected _getLabelPositioner(pos: PointLabelPosition, autoPos: string): LabelPositioner;
|
|
@@ -2732,7 +2787,6 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
|
|
|
2732
2787
|
_animationFinished(ani: Animation): void;
|
|
2733
2788
|
protected _layoutLabel(lv: PointLabelView, parent: Element): PointLabelView;
|
|
2734
2789
|
protected _legendColorProp(): string;
|
|
2735
|
-
protected _legendColorProp2(): string;
|
|
2736
2790
|
protected _doPointClicked(view: IPointView): void;
|
|
2737
2791
|
}
|
|
2738
2792
|
declare abstract class MarkerSeriesPointView<T extends MarkerSeriesPoint = MarkerSeriesPoint> extends PointElement<T> implements IPointView {
|
|
@@ -2850,10 +2904,18 @@ declare class DrilldownPanelView extends BodyPanelView<DrilldownPanel> {
|
|
|
2850
2904
|
protected _doLayout(param: any): void;
|
|
2851
2905
|
}
|
|
2852
2906
|
|
|
2853
|
-
declare class
|
|
2907
|
+
declare class CreditsView extends ChartElement<Credits> {
|
|
2854
2908
|
private _textView;
|
|
2855
2909
|
constructor(doc: Document);
|
|
2856
2910
|
click(dom: Element): void;
|
|
2911
|
+
locateInner(op: CreditsOptions, rBody: Rectangle): {
|
|
2912
|
+
x: number;
|
|
2913
|
+
y: number;
|
|
2914
|
+
};
|
|
2915
|
+
locateOuter(op: CreditsOptions, width: number, height: number): {
|
|
2916
|
+
x: number;
|
|
2917
|
+
y: number;
|
|
2918
|
+
};
|
|
2857
2919
|
protected _doMeasure(doc: Document, model: Credits, intWidth: number, hintHeight: number): ISize;
|
|
2858
2920
|
}
|
|
2859
2921
|
declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
@@ -2890,7 +2952,7 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
2890
2952
|
reset(): void;
|
|
2891
2953
|
legendByDom(dom: Element): LegendItem;
|
|
2892
2954
|
seriesByDom(dom: Element): SeriesView;
|
|
2893
|
-
creditByDom(dom: Element):
|
|
2955
|
+
creditByDom(dom: Element): CreditsView;
|
|
2894
2956
|
getScaleView(scale: ColorScale): ColorScaleView;
|
|
2895
2957
|
pointerMoved(x: number, y: number, target: EventTarget): void;
|
|
2896
2958
|
getButton(dom: Element): ButtonElement;
|
|
@@ -3003,7 +3065,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
3003
3065
|
private $_requestRender;
|
|
3004
3066
|
updateNow(): void;
|
|
3005
3067
|
private $_render;
|
|
3006
|
-
protected _setBackgroundStyle(style:
|
|
3068
|
+
protected _setBackgroundStyle(style: CSSStyles): void;
|
|
3007
3069
|
setDebug(message: any): void;
|
|
3008
3070
|
protected abstract _doRender(bounds: IRect): void;
|
|
3009
3071
|
protected _doBeforeRender(root: RmElement): void;
|
|
@@ -3103,6 +3165,7 @@ declare class RmElement extends RmObject {
|
|
|
3103
3165
|
appendElement(doc: Document, tag: string): SVGElement;
|
|
3104
3166
|
insertElement(doc: Document, tag: string, before: Node): SVGElement;
|
|
3105
3167
|
moveToLast(child: RmElement): void;
|
|
3168
|
+
isValidPathData(d: string): boolean;
|
|
3106
3169
|
getAttr(attr: string): any;
|
|
3107
3170
|
setAttr(attr: string, value: any): RmElement;
|
|
3108
3171
|
hasAttr(attr: string): boolean;
|
|
@@ -3427,7 +3490,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
3427
3490
|
getLegendSources(list: ILegendSource[]): void;
|
|
3428
3491
|
getLabelOff(): number;
|
|
3429
3492
|
protected _defLabelOff(): number;
|
|
3430
|
-
setCalcedColor(
|
|
3493
|
+
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
3431
3494
|
coordOfArea(id: string): MapCoord;
|
|
3432
3495
|
getCoord(p: DataPoint): MapCoord;
|
|
3433
3496
|
pointById(id: string): DataPoint;
|
|
@@ -3788,19 +3851,18 @@ declare abstract class IconedText<OP extends IconedTextOptions = IconedTextOptio
|
|
|
3788
3851
|
declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends ChartItem<OP> {
|
|
3789
3852
|
static defaults: ScaleOptions;
|
|
3790
3853
|
index: number;
|
|
3791
|
-
protected _location:
|
|
3854
|
+
protected _location: ChartItemLocation;
|
|
3792
3855
|
protected _series: ISeries;
|
|
3793
3856
|
get series(): ISeries<DataPoint>;
|
|
3794
|
-
getLocation():
|
|
3857
|
+
getLocation(): ChartItemLocation;
|
|
3795
3858
|
isReversed(): boolean;
|
|
3796
|
-
protected _doApply(options: ScaleOptions): void;
|
|
3797
3859
|
protected _doPrepareRender(chart: IChart): void;
|
|
3798
3860
|
protected _getFirstSeries(chart: IChart): Series<SeriesOptions>;
|
|
3799
3861
|
}
|
|
3800
3862
|
declare abstract class ScaleCollection<T extends ScaleBase = ScaleBase> extends ChartItemCollection<T> {
|
|
3801
3863
|
private _map;
|
|
3802
3864
|
protected _visibles: T[];
|
|
3803
|
-
getVisibles(loc:
|
|
3865
|
+
getVisibles(loc: ChartItemLocation): T[];
|
|
3804
3866
|
get(name: string | number): T;
|
|
3805
3867
|
prepareRender(): void;
|
|
3806
3868
|
load(src: any): void;
|
|
@@ -3875,6 +3937,7 @@ declare class MapChart {
|
|
|
3875
3937
|
get series(): Series;
|
|
3876
3938
|
get firstMapSeries(): MapSeries;
|
|
3877
3939
|
get legend(): Legend;
|
|
3940
|
+
get credits(): Credits;
|
|
3878
3941
|
get colorScale(): ColorScale;
|
|
3879
3942
|
get bubbleScale(): BubbleScale;
|
|
3880
3943
|
get zoomPanel(): ZoomPanel;
|
|
@@ -4314,12 +4377,16 @@ declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
|
4314
4377
|
static type: string;
|
|
4315
4378
|
static defaults: PointSeriesOptions;
|
|
4316
4379
|
private _shape;
|
|
4380
|
+
private _stroke;
|
|
4381
|
+
private _strokeWidth;
|
|
4317
4382
|
constructor(chart: IChart);
|
|
4318
4383
|
getShape(p: PointSeriesPoint): Shape;
|
|
4319
4384
|
getRadius(): number;
|
|
4385
|
+
setLegendMarkerStyle(marker: RmElement): void;
|
|
4320
4386
|
protected _createPoint(source: any): PointSeriesPoint;
|
|
4321
4387
|
protected _defLabelOff(): number;
|
|
4322
4388
|
protected _doLoadPoints(src: any): void;
|
|
4389
|
+
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
4323
4390
|
protected _createLegendMarker(doc: Document, size: number): RmElement;
|
|
4324
4391
|
legendMarker(doc: Document, size: number): RmElement;
|
|
4325
4392
|
}
|
|
@@ -4600,4 +4667,4 @@ declare const createChart: typeof Globals.createChart;
|
|
|
4600
4667
|
declare const createChartAsync: typeof Globals.createChartAsync;
|
|
4601
4668
|
declare const preset: typeof Globals.preset;
|
|
4602
4669
|
|
|
4603
|
-
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ContentView, CreditsOptions, DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, ElementPool, FigureSeries, GradientOptions, HeatmapSeries, HeatmapSeriesOptions, HeatmapSeriesType, IPercentSize, IPointView, IRect, ISeries, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, RAD_DEG, RadialGradientOptions, RectElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGStyleOrClass, SVGStyles, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, ShapeAnnotation, ShapeAnnotationOptions, Size, SparkSeries, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, Utils, ValueSeries, VectorSeries, WaffleSeries, _isIE, absv, assignObj, calcPercent, copyObj, cos, createChart, createChartAsync, createRect, fixnum, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setLogging, sin };
|
|
4670
|
+
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ContentView, CreditsOptions, DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, ElementPool, ExportOptions, Exporter, ExporterOptions, FigureSeries, GradientOptions, HeatmapSeries, HeatmapSeriesOptions, HeatmapSeriesType, IPercentSize, IPointView, IRect, ISeries, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, RAD_DEG, RadialGradientOptions, RectElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGStyleOrClass, SVGStyles, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, ShapeAnnotation, ShapeAnnotationOptions, Size, SparkSeries, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, Utils, ValueSeries, VectorSeries, WaffleSeries, _isIE, absv, assignObj, calcPercent, copyObj, cos, createChart, createChartAsync, createRect, fixnum, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setLogging, sin };
|