realchart 1.4.6 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -502,6 +502,8 @@ declare const _WritingMode: {
502
502
  readonly VERTICAL_LR: "vertical-lr";
503
503
  /** */
504
504
  readonly VERTICAL_RL: "vertical-rl";
505
+ /** */
506
+ readonly VERTICAL: "vertical";
505
507
  };
506
508
  /** @dummy */
507
509
  type WritingMode = typeof _WritingMode[keyof typeof _WritingMode];
@@ -1049,12 +1051,24 @@ interface TextAnnotationOptions extends AnnotationOptions {
1049
1051
  */
1050
1052
  timeFormat?: string;
1051
1053
  /**
1052
- * 텍스트를 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.<br/>
1054
+ * 텍스트 행의 높이를 계산되는 높이와 다르게 표시되도록 지정한다.<br/>
1055
+ * 1이면 계산된 높이와 동일하게 표시된다.
1056
+ * 지정하지 않으면 계산된 값.
1057
+ */
1058
+ lineHeight?: number;
1059
+ /**
1060
+ * 타이틀을 가로 또는 세로로 배치할지 여부와 블록의 진행 방향을 지정한다.<br/>
1061
+ * 'vertical-lr' 또는 'vertical-rl'로 설정하면 수직 쓰기가 적용되며,
1062
+ * 이때 한글 등 동아시아 문자는 글자 단위, 영문 등 기타 문자는 단어 단위로 배치된다.
1063
+ * {@link textOrinetation}을 'upright'로 지정하면 영문도 글자 단위로 세로 배치되지만,
1064
+ * writingMode를 지원하지 않는 브라우저에서도 모든 문자를 글자 단위로 일관되게 세로 표시하고자 할 때는
1065
+ * 신규 속성인 `vertical`을 사용할 수 있다. 단, `vertical` 속성에서는 `<br>`과 같은 줄바꿈 기능이 적용되지 않는다.
1053
1066
  */
1054
1067
  writingMode?: WritingMode;
1055
1068
  /**
1056
- * 텍스트 문자 방향을 지정한다.<br/>
1057
- * 세로 모드의 텍스트에만 적용된다.
1069
+ * 텍스트 문자 방향을 지정한다.
1070
+ * {@link writingMode 세로 모드}의 텍스트에만 적용된다.
1071
+ * 특히, 영문을 한글처럼 세워서 표시하려 할 때 'upright'로 설정한다.
1058
1072
  */
1059
1073
  textOrientation?: TextOrientation;
1060
1074
  }
@@ -1258,6 +1272,29 @@ declare class AssetCollection {
1258
1272
  private $_loadItem;
1259
1273
  }
1260
1274
 
1275
+ type RcAnimationEndHandler = (ani: RcAnimation, canceld: boolean) => void;
1276
+ declare abstract class RcAnimation {
1277
+ static readonly DURATION = 700;
1278
+ static readonly SHORT_DURATION = 300;
1279
+ delay: number;
1280
+ duration: number;
1281
+ easing: string;
1282
+ endHandler: RcAnimationEndHandler;
1283
+ private _easing;
1284
+ private _started;
1285
+ private _timer;
1286
+ private _ani;
1287
+ private _handler;
1288
+ start(endHandler?: RcAnimationEndHandler): RcAnimation;
1289
+ stop(): void;
1290
+ protected _start(duration: number, delay?: number, easing?: string): void;
1291
+ protected _stop(canceled: boolean): void;
1292
+ protected _doStart(): void;
1293
+ protected _doStop(): void;
1294
+ protected _canUpdate(): boolean;
1295
+ protected abstract _doUpdate(rate: number): boolean;
1296
+ }
1297
+
1261
1298
  interface IPointerHandler {
1262
1299
  handleDown(ev: PointerEvent): void;
1263
1300
  handleUp(ev: PointerEvent): void;
@@ -1279,6 +1316,8 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
1279
1316
  private _container;
1280
1317
  private _dom;
1281
1318
  private _htmlRoot;
1319
+ private _tester;
1320
+ private _canvas;
1282
1321
  private _svg;
1283
1322
  private _defs;
1284
1323
  private _root;
@@ -1311,11 +1350,13 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
1311
1350
  contentWidth(): number;
1312
1351
  contentHeight(): number;
1313
1352
  contentRight(): number;
1314
- clipContainer(): SVGElement;
1353
+ canvasCtx(): CanvasRenderingContext2D;
1315
1354
  setData(data: string, value: any, container?: boolean): void;
1355
+ addClip<T extends ClipElement>(clip: T): T;
1316
1356
  clearDefs(): void;
1317
1357
  private $_clearDefs;
1318
1358
  clearAssetDefs(): void;
1359
+ clearClipDefs(): void;
1319
1360
  clearTemporaryDefs(): void;
1320
1361
  appendDom<T extends HTMLElement>(elt: T): T;
1321
1362
  addElement<T extends RcElement>(elt: T): T;
@@ -1336,11 +1377,14 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
1336
1377
  */
1337
1378
  clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipRectElement;
1338
1379
  clipCircle(): ClipCircleElement;
1380
+ clipDonut(): ClipDonutElement;
1381
+ clipPath(): ClipPathElement;
1339
1382
  addDef(element: Element): void;
1340
1383
  removeDef(element: Element | string): void;
1341
1384
  containerToElement(element: RcElement, x: number, y: number): Point;
1342
1385
  svgToElement(element: RcElement, x: number, y: number): Point;
1343
1386
  elementToSvg(element: RcElement, x: number, y: number): Point;
1387
+ getIEColor(color: string): string;
1344
1388
  protected _setTesting(): void;
1345
1389
  protected _setSize(w: number, h: number): void;
1346
1390
  private $_addListener;
@@ -1384,6 +1428,7 @@ declare class RcElement extends RcObject {
1384
1428
  static DEBUGGING: boolean;
1385
1429
  static TESTING: boolean;
1386
1430
  static ASSET_KEY: string;
1431
+ static CLIP_KEY: string;
1387
1432
  static TEMP_KEY: string;
1388
1433
  private _visible;
1389
1434
  private _x;
@@ -1401,8 +1446,9 @@ declare class RcElement extends RcObject {
1401
1446
  protected _styleName: string;
1402
1447
  protected _styles: any;
1403
1448
  protected _styleDirty: boolean;
1404
- hiding: boolean;
1405
1449
  tag: any;
1450
+ protected _ani: RcAnimation;
1451
+ private _moveAni;
1406
1452
  private _dom;
1407
1453
  private _parent;
1408
1454
  removing: boolean;
@@ -1471,6 +1517,7 @@ declare class RcElement extends RcObject {
1471
1517
  scale(sx: number, sy?: number): RcElement;
1472
1518
  trans(x: number, y: number): RcElement;
1473
1519
  transp(p: Point): RcElement;
1520
+ private $_cleanMove;
1474
1521
  transEx(x: number, y: number, duration?: number, invalidate?: boolean): RcElement;
1475
1522
  transEx2(x: number, y: number, duration?: number, invalidate?: boolean): RcElement;
1476
1523
  transX(x: number): RcElement;
@@ -1520,8 +1567,10 @@ declare class RcElement extends RcObject {
1520
1567
  setBoolData(data: string, value: boolean): void;
1521
1568
  getData(data: string): string;
1522
1569
  hasData(data: string): boolean;
1570
+ stopAni(): this;
1523
1571
  removeLater(delay: number, callback?: (v: RcElement) => void): RcElement;
1524
1572
  hide(delay: number): RcElement;
1573
+ isClip(clip: ClipElement): HTMLElement;
1525
1574
  clipRect(x: number, y: number, width: number, height: number, rd?: number): ClipRectElement;
1526
1575
  setClip(cr?: ClipElement | string): void;
1527
1576
  setTemporary(): RcElement;
@@ -1569,11 +1618,22 @@ declare class PathElement extends RcElement {
1569
1618
  get path(): string;
1570
1619
  setPath(path: Path): PathElement;
1571
1620
  }
1621
+ declare class ClipPathElement extends ClipElement {
1622
+ private _path;
1623
+ constructor(doc: Document);
1624
+ getPath(): string;
1625
+ setPath(path: Path): void;
1626
+ }
1572
1627
  declare class ClipCircleElement extends ClipElement {
1573
1628
  private _circle;
1574
1629
  constructor(doc: Document);
1575
1630
  setCircle(cx: number, cy: number, radius: number): void;
1576
1631
  }
1632
+ declare class ClipDonutElement extends ClipElement {
1633
+ private _donut;
1634
+ constructor(doc: Document);
1635
+ setDonut(cx: number, cy: number, radius: number, innerRadius: number): void;
1636
+ }
1577
1637
 
1578
1638
  /**
1579
1639
  * @enum
@@ -1629,6 +1689,7 @@ declare class SvgShapes {
1629
1689
  static isCircled(angle: number): boolean;
1630
1690
  static arc(cx: number, cy: number, rx: number, ry: number, start: number, end: number, clockwise: boolean, close?: boolean): PathValue[];
1631
1691
  static sector(cx: number, cy: number, rx: number, ry: number, rInner: number, start: number, end: number, clockwise: boolean): PathValue[];
1692
+ static donut(cx: number, cy: number, rd: number, rdInner: number): PathValue[];
1632
1693
  static arc3d(cx: number, cy: number, rx: number, ry: number, depth: number, start: number, end: number, clockwise: boolean, ret?: {
1633
1694
  x1: number;
1634
1695
  y1: number;
@@ -2138,9 +2199,9 @@ interface ClusterableSeriesOptions extends ConnectableSeriesOptions {
2138
2199
  */
2139
2200
  minPointWidth?: number;
2140
2201
  /**
2141
- * 구분 배치가 가능한 둘 이상의 시리즈나 시리즈그룸이 표시 중일 때 구분 배치할 여부.<br/>
2202
+ * 구분 배치가 가능한 둘 이상의 시리즈나 시리즈 그룹이 표시 중일 때 구분 배치할지 여부.<br/>
2142
2203
  * 명시적 false로 지정하지 않는 한 무리 배치한다.
2143
- * 즉, 복수 개의 시리즈나 시리즈그룹의 데이터포인트들이 겹치지 않고 차레대로 표시된다.
2204
+ * 즉, 복수 개의 시리즈나 시리즈 그룹의 데이터 포인트들이 겹치지 않고 차례대로 표시된다.
2144
2205
  */
2145
2206
  clusterable?: boolean;
2146
2207
  }
@@ -2629,6 +2690,7 @@ interface WidgetSeriesLabelOptions extends DataPointLabelOptions {
2629
2690
  align?: PointLabelAlign;
2630
2691
  /**
2631
2692
  * 연결선 옵션 설정 모델.<br/>
2693
+ * 문자열로 지정하면 `style.stroke`를 지정한 것과 동일하다.
2632
2694
  */
2633
2695
  connector?: WidgetSeriesConnectorOptions;
2634
2696
  /**
@@ -3017,6 +3079,14 @@ interface LineSeriesOptions extends LineSeriesBaseOptions {
3017
3079
  *
3018
3080
  */
3019
3081
  flag?: LineSeriesFlagOptions;
3082
+ /**
3083
+ * polar 좌표계이고, x축의 totalAngle이 360도이 경우,
3084
+ * 양끝 데이터포인터를 이어서 표시할 지 여부.<br/>
3085
+ * 그 외에는 무조건 연결하지 않는다.
3086
+ *
3087
+ * @default base 라인이 존재하지 않거나 'spline'이면 true, 아니면 false.
3088
+ */
3089
+ connectEnds?: boolean;
3020
3090
  }
3021
3091
  declare const SplineSeriesType = "spline";
3022
3092
  /**
@@ -4678,6 +4748,14 @@ interface WordCloudSeriesOptions extends WidgetSeriesOptions {
4678
4748
  * @default 'default'
4679
4749
  */
4680
4750
  placer?: 'default' | 'spiral';
4751
+ /**
4752
+ * 단어 배치 최대 실행시간 <br/>
4753
+ * 단어 배치 알고리즘이 단어들을 모두 배치하기 위해 시도하는 최대 시간.<br/>
4754
+ * 초과하면 배치를 중단한다.<br/>
4755
+ * 밀리세컨드(ms) 단위로 지정한다.<br/>
4756
+ * @default 5000
4757
+ */
4758
+ drawTimeout?: number;
4681
4759
  }
4682
4760
  declare const PictogramSeriesType = "pictogram";
4683
4761
  /**
@@ -6492,6 +6570,8 @@ declare class SvgLine {
6492
6570
  declare class SvgRichText {
6493
6571
  _format: string;
6494
6572
  lineHeight: number;
6573
+ private _vertical;
6574
+ _isVertical: boolean;
6495
6575
  private _lines;
6496
6576
  constructor(format?: string);
6497
6577
  setFormat(value: string): void;
@@ -6499,7 +6579,8 @@ declare class SvgRichText {
6499
6579
  /**
6500
6580
  * TODO: max width
6501
6581
  */
6502
- build(view: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
6582
+ build(tv: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
6583
+ buildVertical(tv: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
6503
6584
  layout(tv: TextElement, align: Align, width: number, height: number, pad: Sides): void;
6504
6585
  $_parse(fmt: string): void;
6505
6586
  }
@@ -6713,7 +6794,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
6713
6794
  /** @private */
6714
6795
  protected _setDims(options: OP, ...props: string[]): void;
6715
6796
  /** @private */
6716
- protected _doApply(op: OP): void;
6797
+ protected _doApply(op: ChartItemOptions): void;
6717
6798
  /** @private */
6718
6799
  protected _doPrepareRender(chart: IChart): void;
6719
6800
  }
@@ -6774,29 +6855,6 @@ declare abstract class IconedText<OP extends IconedTextOptions = IconedTextOptio
6774
6855
  declare class BackgroundImage extends ChartItem<BackgroundImageOptions> {
6775
6856
  }
6776
6857
 
6777
- type RcAnimationEndHandler = (ani: RcAnimation) => void;
6778
- declare abstract class RcAnimation {
6779
- static readonly DURATION = 700;
6780
- static readonly SHORT_DURATION = 300;
6781
- delay: number;
6782
- duration: number;
6783
- easing: string;
6784
- endHandler: RcAnimationEndHandler;
6785
- private _easing;
6786
- private _started;
6787
- private _timer;
6788
- private _ani;
6789
- private _handler;
6790
- start(endHandler?: RcAnimationEndHandler): RcAnimation;
6791
- stop(): void;
6792
- protected _start(duration: number, delay?: number, easing?: string): void;
6793
- protected _stop(): void;
6794
- protected _doStart(): void;
6795
- protected _doStop(): void;
6796
- protected _canUpdate(): boolean;
6797
- protected abstract _doUpdate(rate: number): boolean;
6798
- }
6799
-
6800
6858
  /**
6801
6859
  * Widget 모델.<br/>
6802
6860
  * 기본적으로 plot 영역에 표시된다.
@@ -6983,7 +7041,6 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
6983
7041
  _type(): string;
6984
7042
  unitPad(): number;
6985
7043
  continuous(): boolean;
6986
- polarOff(): number;
6987
7044
  _prepareZoom(): AxisZoom;
6988
7045
  protected _createGrid(): CategoryAxisGrid;
6989
7046
  protected _createTickModel(): CategoryAxisTick;
@@ -7098,7 +7155,7 @@ interface IPlottingItem {
7098
7155
  declare class Trendline extends ChartItem<TrendlineOptions> {
7099
7156
  series: Series;
7100
7157
  static defaults: TrendlineOptions;
7101
- _polar: boolean;
7158
+ private _polar;
7102
7159
  _points: {
7103
7160
  x: number;
7104
7161
  y: number;
@@ -7495,7 +7552,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
7495
7552
  */
7496
7553
  removePoints(pts: (DataPoint | string | number)[]): number;
7497
7554
  followPointer(): boolean;
7498
- protected _doApply(op: OP): void;
7555
+ protected _doApply(op: SeriesOptions): void;
7499
7556
  _setIndex(index: number, seriesIndex?: number): void;
7500
7557
  protected _createLabel(chart: IChart): DataPointLabel;
7501
7558
  protected _createPoint(source: any): DataPoint;
@@ -7605,6 +7662,7 @@ declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
7605
7662
  }
7606
7663
  declare class WidgetSeriesConnector extends ChartItem<WidgetSeriesConnectorOptions> {
7607
7664
  static defaults: WidgetSeriesConnectorOptions;
7665
+ protected _doSetSimple(src: any): boolean;
7608
7666
  }
7609
7667
  declare abstract class WidgetSeriesLabel<OP extends WidgetSeriesLabelOptions = WidgetSeriesLabelOptions> extends DataPointLabel<OP> {
7610
7668
  isSub: boolean;
@@ -8108,10 +8166,11 @@ interface IAxis {
8108
8166
  * 값에 따라 크기가 다를 수도 있다.
8109
8167
  */
8110
8168
  getUnitLen(length: number, value: number): number;
8111
- polarOff(): number;
8112
8169
  value2Tooltip(value: number): any;
8113
8170
  hasBreak(): boolean;
8114
8171
  isBreak(pos: number): boolean;
8172
+ isArced(): boolean;
8173
+ isAnimating(): boolean;
8115
8174
  }
8116
8175
  /**
8117
8176
  * 축 {@link AxisTitle 타이틀}, {@link AxisLink line}, {@link AxisTick tick} 등,
@@ -8166,9 +8225,10 @@ declare class AxisTitle extends AxisItem<AxisTitleOptions> {
8166
8225
  static defaults: AxisTitleOptions;
8167
8226
  private _rotation;
8168
8227
  getRotation(): number;
8228
+ getTextOrientation(): TextOrientation;
8169
8229
  protected _isVisible(): boolean;
8170
8230
  protected _doSetSimple(src: any): boolean;
8171
- protected _doApply(options: AxisTitleOptions): void;
8231
+ protected _doApply(op: AxisTitleOptions): void;
8172
8232
  }
8173
8233
  /**
8174
8234
  * 축 단위 label 모델.<br/>
@@ -8454,6 +8514,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8454
8514
  _labelArgs: AxisLabelArgs;
8455
8515
  _prevSeries: IPlottingItem[];
8456
8516
  _seriesChanged: boolean;
8517
+ _prevSize: number;
8457
8518
  _prevRate: number;
8458
8519
  _zooming: boolean;
8459
8520
  readonly guides: AxisGuide[];
@@ -8581,7 +8642,6 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8581
8642
  */
8582
8643
  abstract getPos(length: number, value: number): number;
8583
8644
  abstract getUnitLen(length: number, value: number): number;
8584
- polarOff(): number;
8585
8645
  getLabelLength(length: number, value: number): number;
8586
8646
  getValue(value: any): number;
8587
8647
  incStep(value: number, step: any): number;
@@ -8611,12 +8671,13 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8611
8671
  isBreak(pos: number): boolean;
8612
8672
  getTickLabelArgs(index: number, value: any): AxisLabelArgs;
8613
8673
  getXLabel(value: number): any;
8614
- setPrevRate(rate: number): void;
8674
+ setPrevRate(size: number, rate: number): void;
8615
8675
  prev(pos: number): number;
8676
+ isAnimating(): boolean;
8616
8677
  abstract xValueAt(pos: number): number;
8617
8678
  _posValue(): 0 | 1 | -1;
8618
8679
  _load(source: any): OP;
8619
- protected _doApply(op: OP): void;
8680
+ protected _doApply(op: AxisOptions): void;
8620
8681
  protected _setMinMax(min: number, max: number): void;
8621
8682
  protected abstract _createGrid(): AxisGrid;
8622
8683
  _connect(series: IPlottingItem): void;
@@ -8716,12 +8777,24 @@ interface AxisTitleOptions extends AxisItemOptions {
8716
8777
  */
8717
8778
  backgroundStyle?: SVGStyleOrClass;
8718
8779
  /**
8719
- * 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
8780
+ * 텍스트 행의 높이를 계산되는 높이와 다르게 표시되도록 지정한다.<br/>
8781
+ * 1이면 계산된 높이와 동일하게 표시된다.
8782
+ * 지정하지 않으면 계산된 값.
8783
+ */
8784
+ lineHeight?: number;
8785
+ /**
8786
+ * 타이틀을 가로 또는 세로로 배치할지 여부와 블록의 진행 방향을 지정한다.<br/>
8787
+ * 'vertical-lr' 또는 'vertical-rl'로 설정하면 수직 쓰기가 적용되며,
8788
+ * 이때 한글 등 동아시아 문자는 글자 단위, 영문 등 기타 문자는 단어 단위로 배치된다.
8789
+ * {@link textOrinetation}을 'upright'로 지정하면 영문도 글자 단위로 세로 배치되지만,
8790
+ * writingMode를 지원하지 않는 브라우저에서도 모든 문자를 글자 단위로 일관되게 세로 표시하고자 할 때는
8791
+ * 신규 속성인 `vertical`을 사용할 수 있다. 단, `vertical` 속성에서는 `<br>`과 같은 줄바꿈 기능이 적용되지 않는다.
8720
8792
  */
8721
8793
  writingMode?: WritingMode;
8722
8794
  /**
8723
8795
  * 텍스트 문자 방향을 지정한다.
8724
- * 세로 모드의 텍스트에만 적용된다.
8796
+ * {@link writingMode 세로 모드}의 텍스트에만 적용된다.
8797
+ * 특히, 영문을 한글처럼 세워서 표시하려 할 때 'upright'로 설정한다.
8725
8798
  */
8726
8799
  textOrientation?: TextOrientation;
8727
8800
  }
@@ -9302,16 +9375,17 @@ interface AxisGuideOptions extends AxisItemOptions {
9302
9375
  * 가이드 영역의 끝 값.<br/>
9303
9376
  */
9304
9377
  endValue?: number;
9378
+ otherRange?: [number, number];
9305
9379
  }
9306
9380
  declare const AxisLineGuideType = "line";
9307
9381
  /**
9308
9382
  * 축 위의 특정한 값에 선분을 표시한다.<br/>
9309
9383
  */
9310
9384
  interface AxisLineGuideOptions extends AxisGuideOptions {
9311
- /**
9312
- */
9385
+ /** @dummy */
9313
9386
  type?: typeof AxisLineGuideType;
9314
9387
  /**
9388
+ * 가이드 선이 표시될 축 상의 위치에 해당하는 값.<br/>
9315
9389
  */
9316
9390
  value: number;
9317
9391
  }
@@ -9321,13 +9395,14 @@ declare const AxisRangeGuideType = "range";
9321
9395
  * [주의] realchart-style.css에 fill-opacity가 0.2로 설정되어 있다.
9322
9396
  */
9323
9397
  interface AxisRangeGuideOptions extends AxisGuideOptions {
9324
- /**
9325
- */
9398
+ /** @dummy */
9326
9399
  type: typeof AxisRangeGuideType;
9327
9400
  /**
9401
+ * 가이드 영역의 시작 값.<br/>
9328
9402
  */
9329
9403
  startValue: number;
9330
9404
  /**
9405
+ * 가이드 영역의 끝 값.<br/>
9331
9406
  */
9332
9407
  endValue: number;
9333
9408
  }
@@ -9953,8 +10028,9 @@ interface CategoryAxisOptions extends AxisOptions {
9953
10028
  categoryPadding?: number;
9954
10029
  /**
9955
10030
  * polar 축일 때 시작 위치 간격.<br/>
9956
- * 첫번째 카테고리 너비(각도)에 대한 상대값으로 0~1 사이의 값을 지정한다.
9957
- * ex) 0.5로 지정하면 bar 시리즈의 째 bar가 12시 위치에 표시된다.
10031
+ * 첫번째 카테고리 너비(각도)에 대한 상대값 만큼 반대 방향으로 옮겨서 시작한다.
10032
+ * 0 ~ 1 사이의 값으로 지정한다.<br/>
10033
+ * ex) 0.5로 지정하면 bar 시리즈의 첫 째 bar 가운데, 또는 line 시리즈의 첫 째 포인트가 12시 위치에 표시된다.
9958
10034
  *
9959
10035
  * @default 0
9960
10036
  */
@@ -10083,7 +10159,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10083
10159
  * {@link minPadding}, {@link maxPadding}이 설정되지 않았을 때 적용되는 기본값이다.<br/>
10084
10160
  * [plot크기, padding] 목록으로 지정한다. 단일 값으로 지정하면 [[Infiniy, padding]]으로 설정된다.
10085
10161
  * plot 영역의 크기가 첫번째 값 이하면 두번째로 지정한 값만큼 padding을 적용한다.<br/>
10086
- * 지정하지 않거나 잘못 지정하면 아래 목록이 기본 적용된다.<br/>
10162
+ * 지정하지 않거나 잘못 지정하면 아래 목록이 기본 적용된다.
10163
+ * 또, polar이고 x축이면 0으로 적용된다.<br/>
10087
10164
  * `[[170, 0.2], [340, 0.1], [700, 0.05], [Infinity, 0.03]]`<br/>
10088
10165
  * 또, 숫자와 'px'로 끝나는 문자열로 지정하면 위 설정을 무시하고,
10089
10166
  * 적어도 지정한 pixel 정도의 여백이 생길 수 있도록 조정된다.<br/>
@@ -10127,7 +10204,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10127
10204
  /**
10128
10205
  * 축 시작 위치에 tick 표시 여부.<br/>
10129
10206
  * paddingd이나 base 설정 등은 반영된 상태에서 적용된다.
10130
- * {@link strictMin}가 설정되면 'value'로 적용된다.
10207
+ * {@link strictMin}가 설정되면 'value'로 적용된다.<br/>
10208
+ * 'default'이면 x축이고 polar가 아니면 'value', 그렇지 않은 경우 'tick'으로 적용된다.
10131
10209
  *
10132
10210
  * @default 'default'
10133
10211
  */
@@ -10135,7 +10213,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10135
10213
  /**
10136
10214
  * 축 끝 위치에 tick 표시 여부.<br/>
10137
10215
  * paddingd이나 base 설정 등은 반영된 상태에서 적용된다.
10138
- * {@link strictMax}가 설정되면 무시되고 'value'로 적용된다.
10216
+ * {@link strictMax}가 설정되면 무시되고 'value'로 적용된다.<br/>
10217
+ * 'default'이면 x축이고 polar가 아니면 'value', 그렇지 않은 경우 'tick'으로 적용된다.
10139
10218
  *
10140
10219
  * @default 'default'
10141
10220
  */
@@ -11944,6 +12023,9 @@ interface IPolar {
11944
12023
  cx: number;
11945
12024
  cy: number;
11946
12025
  rd: number;
12026
+ cyclic: boolean;
12027
+ min?: number;
12028
+ max?: number;
11947
12029
  }
11948
12030
  declare class BodyDepthLine extends ChartItem<BodyDepthLineOptions> {
11949
12031
  static defaults: BodyDepthLineOptions;
@@ -13098,6 +13180,13 @@ declare abstract class BoundableElement<T extends ChartItem> extends ChartElemen
13098
13180
  protected _resetBackBounds(): boolean;
13099
13181
  protected _getBackOffset(): number;
13100
13182
  protected _deflatePaddings(size: Size): void;
13183
+ protected _inflaePaddings(size: {
13184
+ width: number;
13185
+ height: number;
13186
+ }): {
13187
+ width: number;
13188
+ height: number;
13189
+ };
13101
13190
  }
13102
13191
  /**
13103
13192
  * @private
@@ -13148,6 +13237,19 @@ declare abstract class AnnotationView<T extends Annotation = Annotation> extends
13148
13237
  protected _doLayout(p: Point): void;
13149
13238
  }
13150
13239
 
13240
+ declare class ImageElement extends RcElement {
13241
+ private _bounds;
13242
+ private _proxy;
13243
+ onloadProxy: () => void;
13244
+ constructor(doc: Document, full: boolean, styleName?: string);
13245
+ /** image url */
13246
+ get url(): string;
13247
+ set url(value: string);
13248
+ setImage(url: string, width: number, height: number): void;
13249
+ getBBox(): IRect;
13250
+ resize(width: number, height: number, attr?: boolean): boolean;
13251
+ }
13252
+
13151
13253
  /**
13152
13254
  * 연속축의 그리드 모델.<br/>
13153
13255
  * {@link options} 모델은 {@link https://realchart.co.kr/docs/api/options/ContinuousAxisGridOptions ContinuousAxisGridOptions}이다.
@@ -13352,31 +13454,6 @@ declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
13352
13454
  };
13353
13455
  }
13354
13456
 
13355
- declare class ImageElement extends RcElement {
13356
- /**
13357
- * onload 처리 이후 false로 변경한다.
13358
- */
13359
- private _dirty;
13360
- private _bounds;
13361
- private _isImageLoaded;
13362
- /**
13363
- * @IE11 not support SVGImageElement onload
13364
- * 사이즈를 알기위해서 이벤트만 사용한다.
13365
- */
13366
- private _proxy;
13367
- /**
13368
- * @IE11 image proxy onload event
13369
- */
13370
- onloadProxy: () => void;
13371
- constructor(doc: Document, full: boolean, styleName?: string);
13372
- /** image url */
13373
- get url(): string;
13374
- set url(value: string);
13375
- setImage(url: string, width: number, height: number): boolean;
13376
- getBBox(): IRect;
13377
- resize(width: number, height: number, attr?: boolean): boolean;
13378
- }
13379
-
13380
13457
  /**
13381
13458
  * ChartText를 표시하는 텍스트 view.
13382
13459
  */
@@ -13401,16 +13478,14 @@ declare class ChartTextElement extends GroupElement {
13401
13478
  type Visitor<T extends RcElement> = (element: T, index?: number, count?: number) => void;
13402
13479
  /** @private */
13403
13480
  declare class ElementPool<T extends RcElement> extends RcObject {
13404
- removeDelay: number;
13405
13481
  private _owner;
13406
13482
  private _creator;
13407
13483
  private _pool;
13408
13484
  private _views;
13409
- private _removes;
13410
13485
  private _styleName;
13411
13486
  constructor(owner: RcElement, creator: {
13412
13487
  new (doc: Document, styleName?: string): T;
13413
- }, styleName?: string, removeDelay?: number);
13488
+ }, styleName?: string);
13414
13489
  protected _doDestroy(): void;
13415
13490
  get isEmpty(): boolean;
13416
13491
  get count(): number;
@@ -13422,8 +13497,6 @@ declare class ElementPool<T extends RcElement> extends RcObject {
13422
13497
  _internalItems(): T[];
13423
13498
  elementOf(dom: Element): T;
13424
13499
  find(matcher: (v: T) => boolean): T;
13425
- setRemoveDelay(v: number): ElementPool<T>;
13426
- removeLater(v: RcElement, duration: number): void;
13427
13500
  private $_create;
13428
13501
  prepare(count: number, visitor?: Visitor<T>, initor?: Visitor<T>): ElementPool<T>;
13429
13502
  /**
@@ -13458,6 +13531,7 @@ declare class PathBuilder {
13458
13531
  reset(x: number | Point, y?: number): PathBuilder;
13459
13532
  end(close?: boolean): string;
13460
13533
  close(clear: boolean): string;
13534
+ push(...list: (string | number | Point)[]): PathBuilder;
13461
13535
  move(x: number | Point, y?: number): PathBuilder;
13462
13536
  moveBy(x: number | Point, y?: number): PathBuilder;
13463
13537
  line(x: number | Point, y?: number): PathBuilder;
@@ -13470,6 +13544,7 @@ declare class PathBuilder {
13470
13544
  lines(...pts: (number | Point)[]): PathBuilder;
13471
13545
  polygon(...pts: (number | Point)[]): PathBuilder;
13472
13546
  circle(cx: number, cy: number, rd: number): PathBuilder;
13547
+ donut(cx: number, cy: number, rd: number, rdInner: number): PathBuilder;
13473
13548
  getMove(p?: number, remove?: boolean): Point;
13474
13549
  getLine(p?: number, remove?: boolean): Point;
13475
13550
  getQuad(p?: number, remove?: boolean): IPoint2;
@@ -13491,6 +13566,27 @@ declare class LegendItemView extends ChartElement<LegendItem> {
13491
13566
  protected _doMeasure(doc: Document, model: LegendItem, hintWidth: number, hintHeight: number, phase: number): Size;
13492
13567
  protected _doLayout(wMarker: number): void;
13493
13568
  }
13569
+ /**
13570
+ * @private
13571
+ */
13572
+ declare class LegendView extends BoundableElement<Legend> {
13573
+ static readonly LEGEND_CLASS = "rct-legend";
13574
+ private _itemViews;
13575
+ private _vertical;
13576
+ private _rowViews;
13577
+ private _sizes;
13578
+ private _wMarkers;
13579
+ _gap: number;
13580
+ _ipr: number;
13581
+ constructor(doc: Document);
13582
+ legendByDom(dom: Element): LegendItem;
13583
+ legendOfSeries(series: Series): LegendItemView;
13584
+ protected _setBackgroundStyle(back: RectElement): void;
13585
+ protected _doMeasure(doc: Document, model: Legend, hintWidth: number, hintHeight: number, phase: number): Size;
13586
+ protected _doLayout(): void;
13587
+ private $_prepareItems;
13588
+ private $_measure;
13589
+ }
13494
13590
 
13495
13591
  declare class MarkerHoverAnimation extends RcAnimation {
13496
13592
  private _sv;
@@ -13521,7 +13617,6 @@ declare class PointLabelContainer extends LayerElement {
13521
13617
  prepareLabel(doc: Document, view: PointLabelView, index: number, p: DataPoint, series: Series, model: DataPointLabel): void;
13522
13618
  prepare(doc: Document, owner: SeriesView<Series>): void;
13523
13619
  get(point: DataPoint, index: number): PointLabelView;
13524
- removePoint(p: DataPoint, delay: number): void;
13525
13620
  private $_checkIntersects;
13526
13621
  dedupe(views: PointLabelView[], lines: PointLabelLineContainer, mode: PointLabelDedupeMode): void;
13527
13622
  /**
@@ -13596,9 +13691,12 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13596
13691
  protected _pointContainer: PointContainer;
13597
13692
  _labelContainer: PointLabelContainer;
13598
13693
  private _trendLineView;
13694
+ protected _yReversed: boolean;
13599
13695
  protected _depthExt: IBodyDepthExtents;
13600
13696
  protected _legendMarker: RcElement;
13601
13697
  protected _visPoints: DataPoint[];
13698
+ private _colorByPoint;
13699
+ private _randomPalette;
13602
13700
  private _growRate;
13603
13701
  private _posRate;
13604
13702
  protected _prevRate: number;
@@ -13628,6 +13726,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13628
13726
  protected _doPointClicked(view: IPointView): void;
13629
13727
  protected _getPointColors(): string;
13630
13728
  _setDepth(depth: IBodyDepthExtents): void;
13729
+ setCircular(circular: boolean): void;
13631
13730
  prepareSeries(doc: Document, model: T, polar: boolean, depth: BodyDepth): void;
13632
13731
  protected _setModelColor(color: string): void;
13633
13732
  protected _legendColorProp(): string;
@@ -13668,6 +13767,10 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13668
13767
  px: number;
13669
13768
  py: number;
13670
13769
  }[], start: number, end: number, sb: PathBuilder): void;
13770
+ protected _drawClosedSpline(pts: {
13771
+ px: number;
13772
+ py: number;
13773
+ }[], sb: PathBuilder, close: boolean): void;
13671
13774
  private $_renderTrendline;
13672
13775
  protected _layoutLabel(model: DataPointLabel, info: LabelLayoutInfo, w: number, h: number): void;
13673
13776
  protected _checkLabelOverlap(lv: PointLabelView, r: IRect, px: number, py: number, pw: number, ph: number, x: number, y: number, inner: boolean, target: Element): boolean;
@@ -13735,7 +13838,6 @@ declare abstract class ClusterableSeriesView<T extends Series = Series> extends
13735
13838
  declare abstract class BasedSeriesView<T extends BasedSeries> extends ClusterableSeriesView<T> {
13736
13839
  private _labelLineContainer;
13737
13840
  protected _pointOff: number;
13738
- protected _reversed: boolean;
13739
13841
  protected _yLen: number;
13740
13842
  protected _baseVal: number;
13741
13843
  protected _yBase: number;
@@ -13797,7 +13899,7 @@ declare abstract class WidgetSeriesView<T extends WidgetSeries> extends SeriesVi
13797
13899
  protected _collectVisPoints(model: T): DataPoint[];
13798
13900
  protected _prepareSeries(doc: Document, model: T): void;
13799
13901
  protected _getPointColors(): string;
13800
- _resizeZombie(): void;
13902
+ abstract _refreshZombie(): void;
13801
13903
  protected _createPointLegendMarker(doc: Document, p: DataPoint, size: number): RcElement;
13802
13904
  protected _preparePoint(doc: Document, model: T, p: WidgetSeriesPoint, pv: RcElement): void;
13803
13905
  }
@@ -13853,9 +13955,9 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
13853
13955
  private _owner;
13854
13956
  private _polar;
13855
13957
  private _hitTester;
13856
- private _background;
13958
+ protected _background: PathElement;
13857
13959
  private _depthLayer;
13858
- private _image;
13960
+ protected _image: ImageElement;
13859
13961
  private _emptyView;
13860
13962
  _gridRowContainer: AxisGridRowContainer;
13861
13963
  private _gridContainer;
@@ -13924,7 +14026,8 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
13924
14026
  getBounds(): DOMRect;
13925
14027
  protected _doMeasure(doc: Document, model: Body, hintWidth: number, hintHeight: number, phase: number): Size;
13926
14028
  protected _clipSeries(view: RcElement, view2: RcElement, invertable: boolean): void;
13927
- protected _setImage(w: number, h: number): void;
14029
+ protected _renderBackground(elt: PathElement, width: number, height: number): void;
14030
+ protected _setImage(model: BackgroundImage, img: ImageElement, width: number, height: number): boolean;
13928
14031
  protected _doLayout(): void;
13929
14032
  private $_isEmptyVisible;
13930
14033
  private $_createGaugeView;
@@ -14322,6 +14425,7 @@ interface IPointPos {
14322
14425
  }
14323
14426
  type PointLine = IPointPos[];
14324
14427
  declare class LineSeriesPoint extends DataPoint {
14428
+ angle: number;
14325
14429
  radius: number;
14326
14430
  shape: Shape;
14327
14431
  px: number;
@@ -14361,7 +14465,7 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
14361
14465
  /**
14362
14466
  * null, ranges를 모두 고려해야 한다.
14363
14467
  */
14364
- prepareLines(pts: LineSeriesPoint[]): void;
14468
+ buildLines(pts: LineSeriesPoint[]): PointLine[];
14365
14469
  get pointLabel(): LinePointLabel;
14366
14470
  protected _createLabel(chart: IChart): LinePointLabel;
14367
14471
  protected _createPoint(source: any): LineSeriesPoint;
@@ -14373,9 +14477,10 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
14373
14477
  _defViewRangeValue(): "x" | "y" | "z";
14374
14478
  protected _createLegendMarker(doc: Document, size: number): RcElement;
14375
14479
  legendMarker(doc: Document, size: number): RcElement;
14480
+ protected _doPrepareRender(): void;
14376
14481
  abstract getLineType(): LineType;
14377
14482
  protected _connectNulls(): boolean;
14378
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14483
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14379
14484
  }
14380
14485
  /**
14381
14486
  * Line 시리즈의 마지막 데이터포인트 옆에 표시되는 아이콘과 텍스트 설정 모델.<br/>
@@ -14401,6 +14506,7 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
14401
14506
  protected _doInit(op: OP): void;
14402
14507
  get flag(): LineSeriesFlag;
14403
14508
  backDir(): LineStepDirection;
14509
+ isConnectEnds(based: boolean, cyclic: boolean): boolean;
14404
14510
  isMarker(): boolean;
14405
14511
  get canPolar(): boolean;
14406
14512
  getLineType(): LineType;
@@ -14443,7 +14549,7 @@ declare class AreaSeries<OP extends AreaSeriesOptions = AreaSeriesOptions> exten
14443
14549
  protected _createLegendMarker(doc: Document, size: number): RcElement;
14444
14550
  protected _createPoint(source: any): AreaSeriesPoint;
14445
14551
  isBased(axis: IAxis): boolean;
14446
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14552
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14447
14553
  }
14448
14554
  /**
14449
14555
  * [low, high|y]
@@ -14482,7 +14588,7 @@ declare class AreaRangeSeries extends LineSeriesBase<AreaRangeSeriesOptions> {
14482
14588
  protected _createPoint(source: any): AreaRangeSeriesPoint;
14483
14589
  getLineType(): LineType;
14484
14590
  collectValues(axis: IAxis, vals: number[]): void;
14485
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14591
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14486
14592
  }
14487
14593
  /**
14488
14594
  * Line 시리즈그룹 모델.<br/>
@@ -14595,6 +14701,7 @@ declare class BellCurveSeries extends AreaSeries<BellCurveSeriesOptions> {
14595
14701
  static readonly type = "bellcurve";
14596
14702
  static defaults: BellCurveSeriesOptions;
14597
14703
  private _refer;
14704
+ get canPolar(): boolean;
14598
14705
  isEmpty(): boolean;
14599
14706
  getLineType(): LineType;
14600
14707
  protected _createPoint(source: any): BellCurveSeriesPoint;
@@ -15094,6 +15201,7 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
15094
15201
  private _numberFormat;
15095
15202
  private _timeFormat;
15096
15203
  _domain: IRichTextDomain;
15204
+ getTextOrientation(): TextOrientation;
15097
15205
  protected _isVisible(): boolean;
15098
15206
  protected _doSetSimple(src: any): boolean;
15099
15207
  protected _doApply(options: TextAnnotationOptions): void;
@@ -15136,6 +15244,7 @@ declare class Color {
15136
15244
  static isBright(color: string): boolean;
15137
15245
  static getContrast(color: string, darkColor?: string, brightColor?: string): string;
15138
15246
  static interpolate(color1: string, color2: string, ratio: number): string;
15247
+ static toColor(color: string): string;
15139
15248
  private r;
15140
15249
  private g;
15141
15250
  private b;
@@ -15164,6 +15273,7 @@ declare class Dom {
15164
15273
  static getPadding(dom: HTMLElement | SVGElement): ISides;
15165
15274
  static hasFill(path: Element): boolean;
15166
15275
  static setVisible(dom: HTMLElement | SVGElement, visible: boolean, style?: string): boolean;
15276
+ static isHidden(dom: HTMLElement | SVGElement): boolean;
15167
15277
  static setClipPath(dom: Element, clip: string | SVGClipPathElement): void;
15168
15278
  static createClipRect(doc: Document, id: string): SVGClipPathElement;
15169
15279
  static setRect(dom: Element, r: IRect): Element;
@@ -15171,11 +15281,13 @@ declare class Dom {
15171
15281
  }
15172
15282
 
15173
15283
  declare abstract class BarSeriesViewBase<T extends BarSeriesBase> extends BasedSeriesView<T> {
15284
+ private _polar;
15174
15285
  private _deep;
15175
15286
  private _bars;
15176
15287
  private _sectors;
15177
15288
  protected _labelInfo: LabelLayoutInfo;
15178
15289
  protected _getPointPool(): ElementPool<RcElement>;
15290
+ protected _prepareSeries(doc: Document, model: T, polar: boolean, depth: BodyDepth): void;
15179
15291
  protected _preparePoints(doc: Document, model: T, points: DataPoint[], deep: boolean): void;
15180
15292
  protected _setPointStyle(v: RcElement, model: T, p: DataPoint): void;
15181
15293
  protected _layoutPoints(width: number, height: number): void;
@@ -15214,14 +15326,21 @@ declare class LineContainer extends PointContainer {
15214
15326
  declare abstract class LineSeriesBaseView<T extends LineSeriesBase = LineSeriesBase> extends SeriesView<T> implements IMarkerSeriesView {
15215
15327
  protected _lineContainer: LineContainer;
15216
15328
  private _line;
15329
+ protected _based: boolean;
15217
15330
  protected _needBelow: boolean;
15218
15331
  private _lowLine;
15219
- protected _upperClip: ClipElement;
15220
- protected _lowerClip: ClipElement;
15332
+ protected _upperClip: ClipRectElement;
15333
+ protected _lowerClip: ClipRectElement;
15334
+ protected _innerClip: ClipPathElement;
15335
+ protected _outerClip: ClipPathElement;
15336
+ protected _innerLineClip: ClipPathElement;
15337
+ protected _outerLineClip: ClipPathElement;
15338
+ protected _reverseClip: ClipDonutElement;
15221
15339
  protected _markers: ElementPool<LineMarkerView>;
15222
15340
  private _rangeLines;
15223
15341
  private _rangeClips;
15224
15342
  protected _polar: IPolar;
15343
+ _tester: PathElement;
15225
15344
  constructor(doc: Document, styleName: string);
15226
15345
  getClipContainer(): RcElement;
15227
15346
  protected _getPointPool(): ElementPool<RcElement>;
@@ -15245,23 +15364,22 @@ declare abstract class LineSeriesBaseView<T extends LineSeriesBase = LineSeriesB
15245
15364
  getHintDistance(): number;
15246
15365
  canHover(dist: number, pv: LineMarkerView, hint: number): boolean;
15247
15366
  protected _markersPerPoint(): number;
15248
- protected _prepareBelow(series: LineSeries, polar: boolean): boolean;
15367
+ protected _prepareBelow(polar: boolean): boolean;
15249
15368
  protected _prepareRanges(model: T, ranges: ValueRange[]): void;
15250
15369
  private $_resetClips;
15251
15370
  private $_prepareMarkers;
15252
15371
  protected _prepareMakrer(mv: LineMarkerView): void;
15253
15372
  protected _layoutMarker(mv: LineMarkerView, markerStyle: SVGStyleOrClass, x: number, y: number): void;
15254
15373
  protected _layoutMarkers(pts: LineSeriesPoint[], width: number, height: number): void;
15255
- protected _layoutLines(polar: boolean): void;
15256
- protected _buildLine2(line: PointLine, t: LineType, connected: boolean, sb: PathBuilder): void;
15257
- protected _buildLines2(lines: PointLine[]): string;
15258
- private _drawLine2;
15374
+ protected _layoutLines(polar: IPolar): void;
15375
+ protected _buildLine(line: PointLine, t: LineType, connected: boolean, sb: PathBuilder): void;
15376
+ protected _buildLines(polar: IPolar, lines: PointLine[]): string;
15377
+ private $_drawLine;
15259
15378
  private _drawLines;
15260
- private _drawStep2;
15379
+ private _drawStep;
15261
15380
  private _drawSteps;
15262
- private _drawCurve2;
15263
- private _drawCurves;
15264
- protected _drawCurve(pts: IPointPos[], from: number, sb: PathBuilder): void;
15381
+ protected _drawCurve(pts: PointLine, connected: boolean, sb: PathBuilder): void;
15382
+ protected _drawCurves(polar: IPolar, lines: PointLine[], sb: PathBuilder): void;
15265
15383
  protected _buildAreas(lines: PointLine[], t1: LineType, t2?: LineType): string;
15266
15384
  setHoverStyle(pv: RcElement): void;
15267
15385
  }
@@ -15307,8 +15425,6 @@ interface ISectorShape {
15307
15425
  depth?: number;
15308
15426
  }
15309
15427
  declare class SectorElement extends PathElement {
15310
- static create(doc: Document, styleName: string, x: number, y: number, rx: number, ry: number, start: number, angle: number, clockwise?: boolean): SectorElement;
15311
- static createInner(doc: Document, styleName: string, x: number, y: number, rx: number, ry: number, innerRadius: number, start: number, angle: number, clockwise?: boolean): SectorElement;
15312
15428
  constructor(doc: Document, styleName?: string, shape?: ISectorShape);
15313
15429
  /**
15314
15430
  * 중심 x.
@@ -15419,7 +15535,6 @@ declare abstract class GaugeView<T extends GaugeBase = GaugeBase> extends Conten
15419
15535
  declare abstract class ValueGaugeView<T extends ValueGauge> extends GaugeView<T> {
15420
15536
  valueOf: (target: any, param: string, format: string) => any;
15421
15537
  private _valueRate;
15422
- private _ani;
15423
15538
  _setValueRate(rate: number): void;
15424
15539
  protected _prepareStyleOrClass(model: T): void;
15425
15540
  protected _doLayout(): void;
@@ -15453,6 +15568,7 @@ declare abstract class GaugeGroupView<T extends GaugeGroup = GaugeGroup, GV exte
15453
15568
  protected _doPrepareGauges(doc: Document, model: T, views: ElementPool<GV>): void;
15454
15569
  }
15455
15570
 
15571
+ declare const isIE: boolean;
15456
15572
  /**
15457
15573
  * @private
15458
15574
  *
@@ -15535,6 +15651,7 @@ declare class Utils {
15535
15651
  * @returns
15536
15652
  */
15537
15653
  static randomLike(i: number): number;
15654
+ static diffAngle(rad1: number, rad2: number): number;
15538
15655
  }
15539
15656
 
15540
15657
  declare const getVersion: typeof Globals.getVersion;
@@ -15546,4 +15663,4 @@ declare const createChart: typeof Globals.createChart;
15546
15663
  declare const createData: typeof Globals.createData;
15547
15664
  declare const setLicenseKey: typeof Globals.setLicenseKey;
15548
15665
 
15549
- export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, ArcElement, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, ArrowHead, AssetCollection, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisCollection, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisScrollView, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, AxisView, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BarSeriesPoint, BarSeriesView, BarSeriesViewBase, BasedSeries, BasedSeriesOptions, BasedSeriesView, BellCurveSeries, BellCurveSeriesOptions, Body, BodyDepth, BodyOptions, BodyView, BoxPlotSeries, BoxPlotSeriesOptions, BoxPointElementEx, BubbleSeries, BubbleSeriesOptions, BulletGaugeBandOptions, BulletGaugeGroupOptions, BulletGaugeGroupType, BulletGaugeOptions, BulletGaugeType, BulletTargetBarOptions, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartControl, ChartData, ChartDataCollection, ChartDataOptions, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptions, ChartOptionsOptions, ChartPoint, ChartText, ChartTextOptions, ChartView, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleElement, CircleGaugeGroupOptions, CircleGaugeGroupType, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePinOptions, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScaleOptions, CircleGaugeType, CircleGaugeValueMarkerOptions, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGaugeHandOptions, ClockGaugeLabelOptions, ClockGaugeOptions, ClockGaugePinOptions, ClockGaugeRimOptions, ClockGaugeSecondHandOptions, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClockGaugeType, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, Color, ColorListOptions, ConnectableSeries, ConnectableSeriesOptions, ConstraintSeriesGroup, ContentView, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, Dom, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, ElementPool, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, ExporterOptions, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeGroupView, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GaugeView, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HistogramSeries, HistogramSeriesOptions, IAxis, IAxisTick, IChart, ICircularGaugeExtents, IMinMax, IPercentSize, IPlottingItem, IPlottingOwner, IPointView, IRect, ISeries, ISplit, IconedText, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageElement, ImageListOptions, ImageOptions, LayerElement, Legend, LegendOptions, LineElement, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesBaseView, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGaugeBaseOptions, LinearGaugeChildLabelOptions, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeGroupType, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScaleOptions, LinearGaugeType, LinearGradientOptions, LinearValueBarOptions, LoadCallbackArgs, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, ORG_ANGLE, OhlcSeries, OhlcSeriesOptions, OthersGroup, OthersGroupOptions, PI_2, PaneBodyOptions, PaneContainer, PaneOptions, ParetoSeries, ParetoSeriesOptions, PathBuilder, PathElement, PatternOptions, PercentSize, PictogramSeriesOptions, PictogramSeriesType, PictorialBarMode, PictorialBarSeriesOptions, PictorialBarSeriesType, PictorialSeriesLabelOptions, PictorialSeriesOptions, PictorialSeriesType, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, Point, PointElement, PointHovering, PointHoveringOptions, PointLabelLineContainer, PointLabelLineView, PointLabelView, RAD_DEG, RaceBarSeriesOptions, RaceBarSeriesType, RaceCallbackArgs, RaceLineSeriesOptions, RaceLineSeriesType, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcAnimation, RcControl, RcElement, RcObject, RectElement, SVGNS, SVGStyleOrClass, SVGStyles, ScaleView, ScatterSeries, ScatterSeriesOptions, SectionView, SectorElement, Series, SeriesAnimation, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, Size, SplineSeries, SplineSeriesOptions, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, SvgShapes, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeriesOptions, TreemapSeriesType, Trendline, TrendlineOptions, Utils, ValueGauge, ValueGaugeOptions, ValueGaugeView, ValueRange, ValueRangeList, VectorSeriesOptions, VectorSeriesType, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesConnector, WidgetSeriesLabel, WidgetSeriesOptions, WidgetSeriesPoint, WidgetSeriesView, WordCloudSeriesOptions, WordCloudSeriesType, ZValuePoint, ZoomButtonOptions, ZoomCallbackArgs, absv, assignObj, buildValueRanges, calcPercent, configure, copyObj, cos, createChart, createData, createRect, extend, fixnum, getVersion, incv, isArray, isEmptyRect, isNumber, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, rectToSize, setAnimatable, setDebugging, setLicenseKey, setLogging, sin, toStr };
15666
+ export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, ArcElement, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, ArrowHead, AssetCollection, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisCollection, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisScrollView, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, AxisView, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BarSeriesPoint, BarSeriesView, BarSeriesViewBase, BasedSeries, BasedSeriesOptions, BasedSeriesView, BellCurveSeries, BellCurveSeriesOptions, Body, BodyDepth, BodyOptions, BodyView, BoxPlotSeries, BoxPlotSeriesOptions, BoxPointElementEx, BubbleSeries, BubbleSeriesOptions, BulletGaugeBandOptions, BulletGaugeGroupOptions, BulletGaugeGroupType, BulletGaugeOptions, BulletGaugeType, BulletTargetBarOptions, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartControl, ChartData, ChartDataCollection, ChartDataOptions, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptions, ChartOptionsOptions, ChartPoint, ChartText, ChartTextOptions, ChartView, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleElement, CircleGaugeGroupOptions, CircleGaugeGroupType, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePinOptions, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScaleOptions, CircleGaugeType, CircleGaugeValueMarkerOptions, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGaugeHandOptions, ClockGaugeLabelOptions, ClockGaugeOptions, ClockGaugePinOptions, ClockGaugeRimOptions, ClockGaugeSecondHandOptions, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClockGaugeType, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, Color, ColorListOptions, ConnectableSeries, ConnectableSeriesOptions, ConstraintSeriesGroup, ContentView, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, Dom, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, ElementPool, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, ExporterOptions, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeGroupView, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GaugeView, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HistogramSeries, HistogramSeriesOptions, IAxis, IAxisTick, IChart, ICircularGaugeExtents, ILegendSource, IMinMax, IPercentSize, IPlottingItem, IPlottingOwner, IPointView, IRect, ISeries, ISplit, IconedText, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageElement, ImageListOptions, ImageOptions, LayerElement, Legend, LegendItem, LegendItemView, LegendOptions, LegendView, LineElement, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesBaseView, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGaugeBaseOptions, LinearGaugeChildLabelOptions, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeGroupType, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScaleOptions, LinearGaugeType, LinearGradientOptions, LinearValueBarOptions, LoadCallbackArgs, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, ORG_ANGLE, OhlcSeries, OhlcSeriesOptions, OthersGroup, OthersGroupOptions, PI_2, PaneBodyOptions, PaneContainer, PaneOptions, ParetoSeries, ParetoSeriesOptions, PathBuilder, PathElement, PatternOptions, PercentSize, PictogramSeriesOptions, PictogramSeriesType, PictorialBarMode, PictorialBarSeriesOptions, PictorialBarSeriesType, PictorialSeriesLabelOptions, PictorialSeriesOptions, PictorialSeriesType, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, Point, PointElement, PointHovering, PointHoveringOptions, PointLabelLineContainer, PointLabelLineView, PointLabelView, RAD_DEG, RaceBarSeriesOptions, RaceBarSeriesType, RaceCallbackArgs, RaceLineSeriesOptions, RaceLineSeriesType, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcAnimation, RcControl, RcElement, RcObject, RectElement, SVGNS, SVGStyleOrClass, SVGStyles, ScaleView, ScatterSeries, ScatterSeriesOptions, SectionView, SectorElement, Series, SeriesAnimation, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, Size, SplineSeries, SplineSeriesOptions, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, SvgShapes, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeriesOptions, TreemapSeriesType, Trendline, TrendlineOptions, Utils, ValueGauge, ValueGaugeOptions, ValueGaugeView, ValueRange, ValueRangeList, VectorSeriesOptions, VectorSeriesType, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesConnector, WidgetSeriesLabel, WidgetSeriesOptions, WidgetSeriesPoint, WidgetSeriesView, WordCloudSeriesOptions, WordCloudSeriesType, ZValuePoint, ZoomButtonOptions, ZoomCallbackArgs, absv, assignObj, buildValueRanges, calcPercent, configure, copyObj, cos, createChart, createData, createRect, extend, fixnum, getVersion, incv, isArray, isEmptyRect, isIE, isNumber, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, rectToSize, setAnimatable, setDebugging, setLicenseKey, setLogging, sin, toStr };