realchart 0.9.23 → 0.9.25

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 CHANGED
@@ -10,6 +10,8 @@ interface SVGStyles {
10
10
  fontSize?: string;
11
11
  fontWeight?: string;
12
12
  fontStyle?: string;
13
+ rx?: string;
14
+ textAlign?: 'left' | 'center' | 'right';
13
15
  }
14
16
  type SVGStyleOrClass = SVGStyles | string;
15
17
  interface IMinMax {
@@ -114,6 +116,23 @@ interface IRect {
114
116
  height: number;
115
117
  }
116
118
 
119
+ declare class Sides {
120
+ top: number;
121
+ bottom: number;
122
+ left: number;
123
+ right: number;
124
+ static readonly Empty: Readonly<Sides>;
125
+ static Temp: Sides;
126
+ static create(top: number, bottom?: number, left?: number, right?: number): Sides;
127
+ static createFrom(value: string): Sides;
128
+ constructor(top?: number, bottom?: number, left?: number, right?: number);
129
+ clone(): Sides;
130
+ applyPadding(cs: CSSStyleDeclaration): Sides;
131
+ applyMargin(cs: CSSStyleDeclaration): Sides;
132
+ shrink(r: IRect): IRect;
133
+ toString(): string;
134
+ }
135
+
117
136
  interface IPointerHandler {
118
137
  handleDown(ev: PointerEvent): void;
119
138
  handleUp(ev: PointerEvent): void;
@@ -153,6 +172,8 @@ declare abstract class RcControl extends RcWrappableObject {
153
172
  svg(): SVGSVGElement;
154
173
  width(): number;
155
174
  height(): number;
175
+ contentWidth(): number;
176
+ contentHeight(): number;
156
177
  clipContainer(): SVGElement;
157
178
  setData(data: string, value: any, container?: boolean): void;
158
179
  clearDefs(): void;
@@ -173,8 +194,9 @@ declare abstract class RcControl extends RcWrappableObject {
173
194
  setAnimation(to?: number): void;
174
195
  fling(distance: number, duration: number): void;
175
196
  getCssVar(name: string): string;
176
- clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipElement;
177
- clipRect(r: IRect): ClipElement;
197
+ clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipRectElement;
198
+ clipRect(r: IRect): ClipRectElement;
199
+ clipCircle(): ClipCircleElement;
178
200
  clipPath(): ClipPathElement;
179
201
  addDef(element: Element): void;
180
202
  removeDef(element: Element | string): void;
@@ -213,8 +235,8 @@ declare abstract class RcControl extends RcWrappableObject {
213
235
  private _wheelHandler;
214
236
  }
215
237
  declare class RcElement extends RcObject {
216
- static TESTING: boolean;
217
238
  static DEBUGGING: boolean;
239
+ static TESTING: boolean;
218
240
  static ASSET_KEY: string;
219
241
  static TEMP_KEY: string;
220
242
  private _visible;
@@ -314,15 +336,14 @@ declare class RcElement extends RcObject {
314
336
  setClass(value: string): void;
315
337
  setStyle(prop: string, value: string): boolean;
316
338
  internalSetStyle(prop: string, value: string): void;
317
- putStyles(styles: any, buff?: any): any;
318
- putStyle(prop: string, value: string, buff?: any): any;
339
+ textAlign(): Align;
319
340
  setData(data: string, value?: string): void;
320
341
  unsetData(data: string): void;
321
342
  setBoolData(data: string, value: boolean): void;
322
343
  removeLater(delay: number, callback?: (v: RcElement) => void): RcElement;
323
344
  hide(delay: number): RcElement;
324
- clipRect(x: number, y: number, width: number, height: number, rd?: number): ClipElement;
325
- setClip(cr?: ClipElement | ClipPathElement | string): void;
345
+ clipRect(x: number, y: number, width: number, height: number, rd?: number): ClipRectElement;
346
+ setClip(cr?: ClipElement | string): void;
326
347
  setTemporary(): RcElement;
327
348
  setCursor(cursor: string): void;
328
349
  ignorePointer(): void;
@@ -333,12 +354,16 @@ declare class RcElement extends RcObject {
333
354
  protected _updateTransform(): void;
334
355
  getTransform(): string;
335
356
  }
336
- declare class ClipElement extends RcElement {
357
+ declare abstract class ClipElement extends RcElement {
337
358
  private _id;
359
+ constructor(doc: Document);
360
+ get id(): string;
361
+ }
362
+ declare class ClipRectElement extends ClipElement {
338
363
  private _rect;
339
364
  constructor(doc: Document, x?: number, y?: number, width?: number, height?: number, rx?: number, ry?: number);
340
- get id(): string;
341
365
  setBounds(x: number, y: number, w: number, h: number): RcElement;
366
+ resize(width: number, height: number, attr?: boolean): RcElement;
342
367
  get x(): number;
343
368
  set x(value: number);
344
369
  get y(): number;
@@ -348,13 +373,16 @@ declare class ClipElement extends RcElement {
348
373
  get height(): number;
349
374
  set height(value: number);
350
375
  }
351
- declare class ClipPathElement extends RcElement {
352
- private _id;
376
+ declare class ClipPathElement extends ClipElement {
353
377
  private _path;
354
378
  constructor(doc: Document);
355
- get id(): string;
356
379
  setPath(path: Path): void;
357
380
  }
381
+ declare class ClipCircleElement extends ClipElement {
382
+ private _circle;
383
+ constructor(doc: Document);
384
+ setCircle(cx: number, cy: number, radius: number): void;
385
+ }
358
386
 
359
387
  declare enum TextAnchor {
360
388
  START = "start",
@@ -426,6 +454,7 @@ declare class SvgRichText {
426
454
  setFormat(value: string): void;
427
455
  lines(): SvgLine[];
428
456
  build(view: TextElement, maxWidth: number, maxHeight: number, target: any, domain: RichTextParamCallback): void;
457
+ layout(view: TextElement, align: Align, width: number, height: number, padding: Sides): void;
429
458
  $_parse(fmt: string): void;
430
459
  }
431
460
 
@@ -498,90 +527,14 @@ declare class BackgroundImage extends ChartItem {
498
527
  style: SVGStyleOrClass;
499
528
  }
500
529
 
501
- declare enum AnnotationScope {
502
- CHART = "chart",
503
- CONTAINER = "container"
504
- }
505
- declare abstract class Annotation extends ChartItem {
506
- constructor(chart: IChart);
507
- abstract _type(): string;
508
- front: boolean;
509
- name: string;
510
- align: Align;
511
- verticalAlign: VerticalAlign;
512
- offsetX: number;
513
- offsetY: number;
514
- rotation: number;
515
- scope: AnnotationScope;
516
- getPostion(inverted: boolean, left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): IPoint;
517
- }
518
-
519
- declare enum ZoomType {
520
- NONE = "none",
521
- X = "x",
522
- Y = "y",
523
- BOTH = "both"
524
- }
525
- declare class ZoomButton extends ChartItem {
526
- body: Body;
527
- constructor(body: Body);
528
- isVisible(): boolean;
529
- }
530
- declare class BodySplit extends ChartItem {
531
- body: Body;
532
- constructor(body: Body);
533
- size: number;
534
- }
535
- declare class Body extends ChartItem {
536
- private _radius;
537
- private _centerX;
538
- private _centerY;
539
- private _annotations;
540
- private _radiusDim;
541
- private _cxDim;
542
- private _cyDim;
543
- private _rd;
544
- private _cx;
545
- private _cy;
546
- constructor(chart: IChart);
547
- split: BodySplit;
548
- get radius(): RtPercentSize;
549
- set radius(value: RtPercentSize);
550
- get centerX(): RtPercentSize;
551
- set centerX(value: RtPercentSize);
552
- get centerY(): RtPercentSize;
553
- set centerY(value: RtPercentSize);
554
- startAngle: number;
555
- circular: boolean;
556
- image: BackgroundImage;
557
- zoomType: ZoomType;
558
- zoomButton: ZoomButton;
559
- canZoom(): boolean;
560
- calcRadius(width: number, height: number): number;
561
- setPolar(width: number, height: number): Body;
562
- getStartAngle(): number;
563
- getPolar(axis: Axis): {
564
- start: number;
565
- cx: number;
566
- cy: number;
567
- rd: number;
568
- };
569
- isZoomed(): boolean;
570
- '@config annotation': Annotation[];
571
- getAnnotations(): Annotation[];
572
- protected _doLoadProp(prop: string, value: any): boolean;
573
- protected _doPrepareRender(chart: IChart): void;
574
- private $_loadAnnotations;
575
- }
576
-
577
530
  declare enum Shape {
578
531
  CIRCLE = "circle",
579
532
  DIAMOND = "diamond",
580
- RECTANGLE = "rectangle",
581
533
  SQUARE = "square",
582
534
  TRIANGLE = "triangle",
535
+ STAR = "star",
583
536
  ITRIANGLE = "itriangle",
584
- STAR = "star"
537
+ RECTANGLE = "rectangle"
585
538
  }
586
539
 
587
540
  declare enum LineType {
@@ -590,6 +543,66 @@ declare enum LineType {
590
543
  STEP = "step"
591
544
  }
592
545
 
546
+ interface IPointPos {
547
+ xPos: number;
548
+ yPos: number;
549
+ isNull: boolean;
550
+ }
551
+ declare class DataPoint {
552
+ static swap(pts: IPointPos[]): IPointPos[];
553
+ index: number;
554
+ vindex: number;
555
+ x: any;
556
+ y: any;
557
+ series: string | number;
558
+ readonly pid: number;
559
+ source: any;
560
+ isNull: boolean;
561
+ xValue: number;
562
+ yValue: number;
563
+ yRate: number;
564
+ visible: boolean;
565
+ color: string;
566
+ xPos: number;
567
+ yPos: number;
568
+ yGroup: number;
569
+ drillDown: any[] | object;
570
+ range: IValueRange;
571
+ zValue: number;
572
+ label: any;
573
+ constructor(source: any);
574
+ get yAbs(): number;
575
+ get xAbs(): number;
576
+ ariaHint(): string;
577
+ labelCount(): number;
578
+ assignTo(proxy?: any): any;
579
+ getProp(fld: string | number): any;
580
+ parse(series: ISeries): void;
581
+ getLabel(index: number): any;
582
+ getValueOf: (traget: any, param: string) => any;
583
+ swap(): void;
584
+ protected _assignTo(proxy: any): any;
585
+ protected _readArray(series: ISeries, v: any[]): void;
586
+ protected _readObject(series: ISeries, v: any): void;
587
+ protected _readSingle(v: any): void;
588
+ }
589
+ declare class DataPointCollection {
590
+ protected _owner: ISeries;
591
+ private _points;
592
+ constructor(owner: ISeries);
593
+ get count(): number;
594
+ isEmpty(): boolean;
595
+ get(index: number): DataPoint;
596
+ pointAt(xValue: number): DataPoint;
597
+ contains(p: DataPoint): boolean;
598
+ load(source: any): void;
599
+ getProps(prop: string | number): any[];
600
+ getCategories(axis: string): any[];
601
+ getProxies(): any[];
602
+ forEach(callback: (p: DataPoint, i?: number) => any): void;
603
+ getPoints(xAxis: IAxis, yAxis: IAxis): DataPoint[];
604
+ }
605
+
593
606
  declare abstract class Widget extends ChartItem {
594
607
  protected _doLoad(source: any): void;
595
608
  protected _doPrepareRender(chart: IChart): void;
@@ -629,6 +642,7 @@ declare enum PointItemPosition {
629
642
  OUTSIDE_FIRST = "outsideFirst"
630
643
  }
631
644
  declare class DataPointLabel extends FormattableText {
645
+ private static readonly OFFSET;
632
646
  position: PointItemPosition;
633
647
  offset: number;
634
648
  distance: number;
@@ -636,8 +650,8 @@ declare class DataPointLabel extends FormattableText {
636
650
  visibleCallback: (point: any) => boolean;
637
651
  styleCallback: (point: any) => SVGStyleOrClass;
638
652
  constructor(chart: IChart);
639
- "@config visible": any;
640
653
  getText(value: any): string;
654
+ getOffset(): number;
641
655
  protected _doLoadSimple(source: any): boolean;
642
656
  }
643
657
  interface IPlottingItem {
@@ -749,6 +763,7 @@ interface IDataPointCallbackArgs {
749
763
  xValue: any;
750
764
  yValue: any;
751
765
  zValue: any;
766
+ source: any;
752
767
  }
753
768
  type PointStyleCallback = (args: IDataPointCallbackArgs) => SVGStyleOrClass;
754
769
  type PointClickCallback = (args: IDataPointCallbackArgs) => boolean;
@@ -804,7 +819,7 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
804
819
  pointColors: boolean | string[];
805
820
  viewRanges: IValueRange[] | IValueRanges;
806
821
  viewRangeValue: 'x' | 'y' | 'z';
807
- clipped: boolean;
822
+ noClip: boolean;
808
823
  visibleInLegend: boolean;
809
824
  visibleInNavigator: boolean;
810
825
  pointStyleCallback: PointStyleCallback;
@@ -831,6 +846,7 @@ declare abstract class Series extends ChartItem implements ISeries, ILegendSourc
831
846
  canMaxPadding(axis: IAxis): boolean;
832
847
  hasMarker(): boolean;
833
848
  setShape(shape: Shape): void;
849
+ needClip(polar: boolean): boolean;
834
850
  setCol(col: number): void;
835
851
  setRow(row: number): void;
836
852
  createPoints(source: any[]): DataPoint[];
@@ -936,6 +952,7 @@ declare abstract class SeriesGroup<T extends Series> extends ChartItem implement
936
952
  yAxis: string | number;
937
953
  visibleInLegend: boolean;
938
954
  zOrder: number;
955
+ noClip: boolean;
939
956
  get series(): T[];
940
957
  needAxes(): boolean;
941
958
  isEmpty(): boolean;
@@ -969,64 +986,83 @@ declare abstract class SeriesGroup<T extends Series> extends ChartItem implement
969
986
  private $_collectFill;
970
987
  }
971
988
 
972
- interface IPointPos {
973
- xPos: number;
974
- yPos: number;
975
- isNull: boolean;
989
+ declare enum AnnotationScope {
990
+ CHART = "chart",
991
+ CONTAINER = "container"
976
992
  }
977
- declare class DataPoint {
978
- static swap(pts: IPointPos[]): IPointPos[];
979
- index: number;
980
- vindex: number;
981
- x: any;
982
- y: any;
983
- series: string | number;
984
- readonly pid: number;
985
- source: any;
986
- isNull: boolean;
987
- xValue: number;
988
- yValue: number;
989
- yRate: number;
990
- visible: boolean;
991
- color: string;
992
- xPos: number;
993
- yPos: number;
994
- yGroup: number;
995
- drillDown: any[] | object;
996
- range: IValueRange;
997
- zValue: number;
998
- label: any;
999
- constructor(source: any);
1000
- get yAbs(): number;
1001
- get xAbs(): number;
1002
- ariaHint(): string;
1003
- labelCount(): number;
1004
- assignTo(proxy?: any): any;
1005
- getProp(fld: string | number): any;
1006
- parse(series: ISeries): void;
1007
- getLabel(index: number): any;
1008
- getValueOf: (traget: any, param: string) => any;
1009
- swap(): void;
1010
- protected _assignTo(proxy: any): any;
1011
- protected _readArray(series: ISeries, v: any[]): void;
1012
- protected _readObject(series: ISeries, v: any): void;
1013
- protected _readSingle(v: any): void;
993
+ declare abstract class Annotation extends ChartItem {
994
+ _seriesObj: ISeries;
995
+ constructor(chart: IChart);
996
+ abstract _type(): string;
997
+ front: boolean;
998
+ name: string;
999
+ align: Align;
1000
+ verticalAlign: VerticalAlign;
1001
+ offsetX: number;
1002
+ offsetY: number;
1003
+ rotation: number;
1004
+ scope: AnnotationScope;
1005
+ series: string;
1006
+ getPosition(inverted: boolean, left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): IPoint;
1007
+ protected _doPrepareRender(chart: IChart): void;
1014
1008
  }
1015
- declare class DataPointCollection {
1016
- protected _owner: ISeries;
1017
- private _points;
1018
- constructor(owner: ISeries);
1019
- get count(): number;
1020
- isEmpty(): boolean;
1021
- get(index: number): DataPoint;
1022
- pointAt(xValue: number): DataPoint;
1023
- contains(p: DataPoint): boolean;
1024
- load(source: any): void;
1025
- getProps(prop: string | number): any[];
1026
- getCategories(axis: string): any[];
1027
- getProxies(): any[];
1028
- forEach(callback: (p: DataPoint, i?: number) => any): void;
1029
- getPoints(xAxis: IAxis, yAxis: IAxis): DataPoint[];
1009
+
1010
+ declare enum ZoomType {
1011
+ NONE = "none",
1012
+ X = "x",
1013
+ Y = "y",
1014
+ BOTH = "both"
1015
+ }
1016
+ declare class ZoomButton extends ChartItem {
1017
+ body: Body;
1018
+ constructor(body: Body);
1019
+ isVisible(): boolean;
1020
+ }
1021
+ declare class BodySplit extends ChartItem {
1022
+ body: Body;
1023
+ constructor(body: Body);
1024
+ size: number;
1025
+ }
1026
+ declare class Body extends ChartItem {
1027
+ private _radius;
1028
+ private _centerX;
1029
+ private _centerY;
1030
+ private _annotations;
1031
+ private _radiusDim;
1032
+ private _cxDim;
1033
+ private _cyDim;
1034
+ private _rd;
1035
+ private _cx;
1036
+ private _cy;
1037
+ constructor(chart: IChart);
1038
+ split: BodySplit;
1039
+ get radius(): RtPercentSize;
1040
+ set radius(value: RtPercentSize);
1041
+ innerRadius: RtPercentSize;
1042
+ get centerX(): RtPercentSize;
1043
+ set centerX(value: RtPercentSize);
1044
+ get centerY(): RtPercentSize;
1045
+ set centerY(value: RtPercentSize);
1046
+ circular: boolean;
1047
+ image: BackgroundImage;
1048
+ zoomType: ZoomType;
1049
+ zoomButton: ZoomButton;
1050
+ canZoom(): boolean;
1051
+ calcRadius(width: number, height: number): number;
1052
+ setPolar(width: number, height: number): Body;
1053
+ getPolar(axis: Axis): {
1054
+ start: number;
1055
+ total: number;
1056
+ cx: number;
1057
+ cy: number;
1058
+ rd: number;
1059
+ };
1060
+ isZoomed(): boolean;
1061
+ '@config annotation': Annotation[];
1062
+ getAnnotations(): Annotation[];
1063
+ protected _doLoadProp(prop: string, value: any): boolean;
1064
+ protected _doPrepareRender(chart: IChart): void;
1065
+ private $_loadAnnotations;
1030
1066
  }
1031
1067
 
1032
1068
  declare enum PaletteMode {
@@ -1042,7 +1078,7 @@ declare class Title extends ChartItem {
1042
1078
  alignBase: AlignBase;
1043
1079
  align: Align;
1044
1080
  backgroundStyle: SVGStyleOrClass;
1045
- sectionGap: number;
1081
+ gap: number;
1046
1082
  isVisible(): boolean;
1047
1083
  protected _doLoadSimple(source: any): boolean;
1048
1084
  }
@@ -1056,7 +1092,7 @@ declare class Subtitle extends Title {
1056
1092
  position: SubtitlePosition;
1057
1093
  verticalAlign: VerticalAlign;
1058
1094
  text: string;
1059
- gap: number;
1095
+ titleGap: number;
1060
1096
  }
1061
1097
 
1062
1098
  declare abstract class GaugeBase extends Widget {
@@ -1373,8 +1409,8 @@ declare class Split extends ChartItem {
1373
1409
  interface IChart {
1374
1410
  type: string;
1375
1411
  gaugeType: string;
1376
- _xPaneAxes: XPaneAxisMatrix;
1377
- _yPaneAxes: YPaneAxisMatrix;
1412
+ _xPaneAxes: PaneXAxisMatrix;
1413
+ _yPaneAxes: PaneYAxisMatrix;
1378
1414
  options: ChartOptions;
1379
1415
  first: IPlottingItem;
1380
1416
  firstSeries: Series;
@@ -1393,7 +1429,6 @@ interface IChart {
1393
1429
  isInverted(): boolean;
1394
1430
  isSplitted(): boolean;
1395
1431
  animatable(): boolean;
1396
- startAngle(): number;
1397
1432
  seriesByName(series: string): Series;
1398
1433
  axisByName(axis: string): Axis;
1399
1434
  getAxes(dir: SectionDir, visibleOnly: boolean): Axis[];
@@ -1424,6 +1459,8 @@ declare class Credits extends ChartItem {
1424
1459
  verticalAlign: VerticalAlign;
1425
1460
  offsetX: number;
1426
1461
  offsetY: number;
1462
+ gap: number;
1463
+ isFloating(): boolean;
1427
1464
  }
1428
1465
  declare class ChartOptions extends ChartItem {
1429
1466
  theme: string;
@@ -1519,13 +1556,15 @@ declare class AxisGrid extends AxisItem {
1519
1556
  startVisible: boolean;
1520
1557
  endVisible: boolean;
1521
1558
  constructor(axis: Axis);
1522
- isVisible(): boolean;
1559
+ isVisible(polar: boolean): boolean;
1523
1560
  getPoints(length: number): number[];
1524
1561
  }
1525
1562
  declare class AxisGuideLabel extends FormattableText {
1526
1563
  constructor(chart: IChart);
1527
1564
  align: Align;
1528
1565
  verticalAlign: VerticalAlign;
1566
+ offsetX: number;
1567
+ offsetY: number;
1529
1568
  }
1530
1569
  declare abstract class AxisGuide extends AxisItem {
1531
1570
  constructor(axis: Axis);
@@ -1538,10 +1577,7 @@ declare abstract class AxisGuide extends AxisItem {
1538
1577
  }
1539
1578
  declare abstract class AxisTick extends AxisItem {
1540
1579
  length: number;
1541
- margin: number;
1542
- integral: boolean;
1543
- showFirst: boolean;
1544
- showLast: boolean;
1580
+ gap: number;
1545
1581
  constructor(axis: Axis);
1546
1582
  protected _doLoadSimple(source: any): boolean;
1547
1583
  }
@@ -1568,13 +1604,16 @@ declare abstract class AxisLabel extends FormattableText {
1568
1604
  rotation: number;
1569
1605
  autoArrange: AxisLabelArrange;
1570
1606
  wrap: boolean;
1607
+ firstText: string;
1608
+ lastText: string;
1609
+ firstStyle: SVGStyleOrClass;
1610
+ lastStyle: SVGStyleOrClass;
1571
1611
  textCallback: (args: IAxisLabelArgs) => string;
1572
1612
  styleCallback: (args: any) => SVGStyleOrClass;
1573
1613
  abstract getTick(index: number, value: any): string;
1574
1614
  protected _getParamValue(tick: IAxisTick, param: string): any;
1575
- getLabelText(tick: IAxisTick): string;
1576
- getLabelStyle(tick: IAxisTick): any;
1577
- getRotation(): number;
1615
+ getLabelText(tick: IAxisTick, count: number): string;
1616
+ getLabelStyle(tick: IAxisTick, count: number): any;
1578
1617
  }
1579
1618
  interface IAxisTick {
1580
1619
  index: number;
@@ -1615,7 +1654,7 @@ declare class AxisZoom {
1615
1654
  start: number;
1616
1655
  end: number;
1617
1656
  constructor(axis: Axis, start: number, end: number);
1618
- get length(): number;
1657
+ length(): number;
1619
1658
  resize(start: number, end: number): boolean;
1620
1659
  }
1621
1660
  declare abstract class Axis extends ChartItem implements IAxis {
@@ -1637,10 +1676,10 @@ declare abstract class Axis extends ChartItem implements IAxis {
1637
1676
  _vlen: number;
1638
1677
  _minPad: number;
1639
1678
  _maxPad: number;
1640
- _startAngle: number;
1641
1679
  _values: number[];
1642
1680
  protected _min: number;
1643
1681
  protected _max: number;
1682
+ protected _single: boolean;
1644
1683
  _zoom: AxisZoom;
1645
1684
  _runPos: AxisPosition;
1646
1685
  _labelArgs: IAxisLabelArgs;
@@ -1657,12 +1696,15 @@ declare abstract class Axis extends ChartItem implements IAxis {
1657
1696
  readonly scrollBar: AxisScrollBar;
1658
1697
  row: number;
1659
1698
  col: number;
1699
+ startAngle: number;
1700
+ totalAngle: number;
1660
1701
  position: AxisPosition;
1661
1702
  reversed: boolean;
1662
1703
  minValue: number;
1663
1704
  maxValue: number;
1664
1705
  marginNear: number;
1665
1706
  marginFar: number;
1707
+ unit: string;
1666
1708
  isEmpty(): boolean;
1667
1709
  getBaseValue(): number;
1668
1710
  length(): number;
@@ -1671,7 +1713,9 @@ declare abstract class Axis extends ChartItem implements IAxis {
1671
1713
  abstract isContinuous(): boolean;
1672
1714
  abstract getValueAt(length: number, pos: number): number;
1673
1715
  getAxisValueAt(length: number, pos: number): any;
1674
- startAngle(): number;
1716
+ getStartAngle(): number;
1717
+ getTotalAngle(): number;
1718
+ isArced(): boolean;
1675
1719
  protected abstract _createTickModel(): AxisTick;
1676
1720
  protected abstract _createLabelModel(): AxisLabel;
1677
1721
  protected abstract _doPrepareRender(): void;
@@ -1697,7 +1741,7 @@ declare abstract class Axis extends ChartItem implements IAxis {
1697
1741
  isBreak(pos: number): boolean;
1698
1742
  getTickLabelArgs(index: number, value: any): IAxisLabelArgs;
1699
1743
  protected _doLoadProp(prop: string, value: any): boolean;
1700
- protected _getStartAngle(start: number): number;
1744
+ protected _setMinMax(min: number, max: number): void;
1701
1745
  protected _createGrid(): AxisGrid;
1702
1746
  private $_loadGuides;
1703
1747
  _connect(series: IPlottingItem): void;
@@ -1724,7 +1768,6 @@ declare class AxisCollection {
1724
1768
  collectReferentsValues(): void;
1725
1769
  prepareRender(): void;
1726
1770
  $_buildTicks(length: number): void;
1727
- protected _getLength(axis: Axis, length: number): number;
1728
1771
  connect(series: IPlottingItem): Axis;
1729
1772
  forEach(callback: (p: Axis, i?: number) => any): void;
1730
1773
  isZoomed(): boolean;
@@ -1749,11 +1792,11 @@ declare abstract class PaneAxisMatrix {
1749
1792
  buildTicks(lens: number[]): void;
1750
1793
  calcPoints(lens: number[], phase: number): void;
1751
1794
  }
1752
- declare class XPaneAxisMatrix extends PaneAxisMatrix {
1795
+ declare class PaneXAxisMatrix extends PaneAxisMatrix {
1753
1796
  constructor(chart: IChart);
1754
1797
  prepare(axes: AxisCollection, rows: number, cols: number): void;
1755
1798
  }
1756
- declare class YPaneAxisMatrix extends PaneAxisMatrix {
1799
+ declare class PaneYAxisMatrix extends PaneAxisMatrix {
1757
1800
  constructor(chart: IChart);
1758
1801
  prepare(axes: AxisCollection, rows: number, cols: number): void;
1759
1802
  }
@@ -2051,13 +2094,15 @@ declare class RcChartControl {
2051
2094
  declare class Globals {
2052
2095
  static getVersion(): string;
2053
2096
  static setDebugging(debug: boolean): void;
2097
+ static setLogging(logging: boolean): void;
2054
2098
  static setAnimatable(value: boolean): void;
2055
2099
  static createChart(doc: Document, container: string | HTMLDivElement, config: any): RcChartControl;
2056
2100
  }
2057
2101
 
2058
2102
  declare const getVersion: typeof Globals.getVersion;
2059
2103
  declare const setDebugging: typeof Globals.setDebugging;
2104
+ declare const setLogging: typeof Globals.setLogging;
2060
2105
  declare const setAnimatable: typeof Globals.setAnimatable;
2061
2106
  declare const createChart: typeof Globals.createChart;
2062
2107
 
2063
- 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 };
2108
+ 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, setLogging };