realchart 1.4.7 → 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
@@ -1350,12 +1350,13 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
1350
1350
  contentWidth(): number;
1351
1351
  contentHeight(): number;
1352
1352
  contentRight(): number;
1353
- clipContainer(): SVGElement;
1354
1353
  canvasCtx(): CanvasRenderingContext2D;
1355
1354
  setData(data: string, value: any, container?: boolean): void;
1355
+ addClip<T extends ClipElement>(clip: T): T;
1356
1356
  clearDefs(): void;
1357
1357
  private $_clearDefs;
1358
1358
  clearAssetDefs(): void;
1359
+ clearClipDefs(): void;
1359
1360
  clearTemporaryDefs(): void;
1360
1361
  appendDom<T extends HTMLElement>(elt: T): T;
1361
1362
  addElement<T extends RcElement>(elt: T): T;
@@ -1376,6 +1377,8 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
1376
1377
  */
1377
1378
  clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipRectElement;
1378
1379
  clipCircle(): ClipCircleElement;
1380
+ clipDonut(): ClipDonutElement;
1381
+ clipPath(): ClipPathElement;
1379
1382
  addDef(element: Element): void;
1380
1383
  removeDef(element: Element | string): void;
1381
1384
  containerToElement(element: RcElement, x: number, y: number): Point;
@@ -1425,6 +1428,7 @@ declare class RcElement extends RcObject {
1425
1428
  static DEBUGGING: boolean;
1426
1429
  static TESTING: boolean;
1427
1430
  static ASSET_KEY: string;
1431
+ static CLIP_KEY: string;
1428
1432
  static TEMP_KEY: string;
1429
1433
  private _visible;
1430
1434
  private _x;
@@ -1566,6 +1570,7 @@ declare class RcElement extends RcObject {
1566
1570
  stopAni(): this;
1567
1571
  removeLater(delay: number, callback?: (v: RcElement) => void): RcElement;
1568
1572
  hide(delay: number): RcElement;
1573
+ isClip(clip: ClipElement): HTMLElement;
1569
1574
  clipRect(x: number, y: number, width: number, height: number, rd?: number): ClipRectElement;
1570
1575
  setClip(cr?: ClipElement | string): void;
1571
1576
  setTemporary(): RcElement;
@@ -1613,11 +1618,22 @@ declare class PathElement extends RcElement {
1613
1618
  get path(): string;
1614
1619
  setPath(path: Path): PathElement;
1615
1620
  }
1621
+ declare class ClipPathElement extends ClipElement {
1622
+ private _path;
1623
+ constructor(doc: Document);
1624
+ getPath(): string;
1625
+ setPath(path: Path): void;
1626
+ }
1616
1627
  declare class ClipCircleElement extends ClipElement {
1617
1628
  private _circle;
1618
1629
  constructor(doc: Document);
1619
1630
  setCircle(cx: number, cy: number, radius: number): void;
1620
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
+ }
1621
1637
 
1622
1638
  /**
1623
1639
  * @enum
@@ -1673,6 +1689,7 @@ declare class SvgShapes {
1673
1689
  static isCircled(angle: number): boolean;
1674
1690
  static arc(cx: number, cy: number, rx: number, ry: number, start: number, end: number, clockwise: boolean, close?: boolean): PathValue[];
1675
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[];
1676
1693
  static arc3d(cx: number, cy: number, rx: number, ry: number, depth: number, start: number, end: number, clockwise: boolean, ret?: {
1677
1694
  x1: number;
1678
1695
  y1: number;
@@ -3062,6 +3079,14 @@ interface LineSeriesOptions extends LineSeriesBaseOptions {
3062
3079
  *
3063
3080
  */
3064
3081
  flag?: LineSeriesFlagOptions;
3082
+ /**
3083
+ * polar 좌표계이고, x축의 totalAngle이 360도이 경우,
3084
+ * 양끝 데이터포인터를 이어서 표시할 지 여부.<br/>
3085
+ * 그 외에는 무조건 연결하지 않는다.
3086
+ *
3087
+ * @default base 라인이 존재하지 않거나 'spline'이면 true, 아니면 false.
3088
+ */
3089
+ connectEnds?: boolean;
3065
3090
  }
3066
3091
  declare const SplineSeriesType = "spline";
3067
3092
  /**
@@ -6769,7 +6794,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
6769
6794
  /** @private */
6770
6795
  protected _setDims(options: OP, ...props: string[]): void;
6771
6796
  /** @private */
6772
- protected _doApply(op: OP): void;
6797
+ protected _doApply(op: ChartItemOptions): void;
6773
6798
  /** @private */
6774
6799
  protected _doPrepareRender(chart: IChart): void;
6775
6800
  }
@@ -7016,7 +7041,6 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
7016
7041
  _type(): string;
7017
7042
  unitPad(): number;
7018
7043
  continuous(): boolean;
7019
- polarOff(): number;
7020
7044
  _prepareZoom(): AxisZoom;
7021
7045
  protected _createGrid(): CategoryAxisGrid;
7022
7046
  protected _createTickModel(): CategoryAxisTick;
@@ -7528,7 +7552,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
7528
7552
  */
7529
7553
  removePoints(pts: (DataPoint | string | number)[]): number;
7530
7554
  followPointer(): boolean;
7531
- protected _doApply(op: OP): void;
7555
+ protected _doApply(op: SeriesOptions): void;
7532
7556
  _setIndex(index: number, seriesIndex?: number): void;
7533
7557
  protected _createLabel(chart: IChart): DataPointLabel;
7534
7558
  protected _createPoint(source: any): DataPoint;
@@ -8142,10 +8166,11 @@ interface IAxis {
8142
8166
  * 값에 따라 크기가 다를 수도 있다.
8143
8167
  */
8144
8168
  getUnitLen(length: number, value: number): number;
8145
- polarOff(): number;
8146
8169
  value2Tooltip(value: number): any;
8147
8170
  hasBreak(): boolean;
8148
8171
  isBreak(pos: number): boolean;
8172
+ isArced(): boolean;
8173
+ isAnimating(): boolean;
8149
8174
  }
8150
8175
  /**
8151
8176
  * 축 {@link AxisTitle 타이틀}, {@link AxisLink line}, {@link AxisTick tick} 등,
@@ -8489,6 +8514,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8489
8514
  _labelArgs: AxisLabelArgs;
8490
8515
  _prevSeries: IPlottingItem[];
8491
8516
  _seriesChanged: boolean;
8517
+ _prevSize: number;
8492
8518
  _prevRate: number;
8493
8519
  _zooming: boolean;
8494
8520
  readonly guides: AxisGuide[];
@@ -8616,7 +8642,6 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8616
8642
  */
8617
8643
  abstract getPos(length: number, value: number): number;
8618
8644
  abstract getUnitLen(length: number, value: number): number;
8619
- polarOff(): number;
8620
8645
  getLabelLength(length: number, value: number): number;
8621
8646
  getValue(value: any): number;
8622
8647
  incStep(value: number, step: any): number;
@@ -8646,12 +8671,13 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
8646
8671
  isBreak(pos: number): boolean;
8647
8672
  getTickLabelArgs(index: number, value: any): AxisLabelArgs;
8648
8673
  getXLabel(value: number): any;
8649
- setPrevRate(rate: number): void;
8674
+ setPrevRate(size: number, rate: number): void;
8650
8675
  prev(pos: number): number;
8676
+ isAnimating(): boolean;
8651
8677
  abstract xValueAt(pos: number): number;
8652
8678
  _posValue(): 0 | 1 | -1;
8653
8679
  _load(source: any): OP;
8654
- protected _doApply(op: OP): void;
8680
+ protected _doApply(op: AxisOptions): void;
8655
8681
  protected _setMinMax(min: number, max: number): void;
8656
8682
  protected abstract _createGrid(): AxisGrid;
8657
8683
  _connect(series: IPlottingItem): void;
@@ -9349,16 +9375,17 @@ interface AxisGuideOptions extends AxisItemOptions {
9349
9375
  * 가이드 영역의 끝 값.<br/>
9350
9376
  */
9351
9377
  endValue?: number;
9378
+ otherRange?: [number, number];
9352
9379
  }
9353
9380
  declare const AxisLineGuideType = "line";
9354
9381
  /**
9355
9382
  * 축 위의 특정한 값에 선분을 표시한다.<br/>
9356
9383
  */
9357
9384
  interface AxisLineGuideOptions extends AxisGuideOptions {
9358
- /**
9359
- */
9385
+ /** @dummy */
9360
9386
  type?: typeof AxisLineGuideType;
9361
9387
  /**
9388
+ * 가이드 선이 표시될 축 상의 위치에 해당하는 값.<br/>
9362
9389
  */
9363
9390
  value: number;
9364
9391
  }
@@ -9368,13 +9395,14 @@ declare const AxisRangeGuideType = "range";
9368
9395
  * [주의] realchart-style.css에 fill-opacity가 0.2로 설정되어 있다.
9369
9396
  */
9370
9397
  interface AxisRangeGuideOptions extends AxisGuideOptions {
9371
- /**
9372
- */
9398
+ /** @dummy */
9373
9399
  type: typeof AxisRangeGuideType;
9374
9400
  /**
9401
+ * 가이드 영역의 시작 값.<br/>
9375
9402
  */
9376
9403
  startValue: number;
9377
9404
  /**
9405
+ * 가이드 영역의 끝 값.<br/>
9378
9406
  */
9379
9407
  endValue: number;
9380
9408
  }
@@ -10000,8 +10028,9 @@ interface CategoryAxisOptions extends AxisOptions {
10000
10028
  categoryPadding?: number;
10001
10029
  /**
10002
10030
  * polar 축일 때 시작 위치 간격.<br/>
10003
- * 첫번째 카테고리 너비(각도)에 대한 상대값으로 0~1 사이의 값을 지정한다.
10004
- * ex) 0.5로 지정하면 bar 시리즈의 째 bar가 12시 위치에 표시된다.
10031
+ * 첫번째 카테고리 너비(각도)에 대한 상대값 만큼 반대 방향으로 옮겨서 시작한다.
10032
+ * 0 ~ 1 사이의 값으로 지정한다.<br/>
10033
+ * ex) 0.5로 지정하면 bar 시리즈의 첫 째 bar 가운데, 또는 line 시리즈의 첫 째 포인트가 12시 위치에 표시된다.
10005
10034
  *
10006
10035
  * @default 0
10007
10036
  */
@@ -10130,7 +10159,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10130
10159
  * {@link minPadding}, {@link maxPadding}이 설정되지 않았을 때 적용되는 기본값이다.<br/>
10131
10160
  * [plot크기, padding] 목록으로 지정한다. 단일 값으로 지정하면 [[Infiniy, padding]]으로 설정된다.
10132
10161
  * plot 영역의 크기가 첫번째 값 이하면 두번째로 지정한 값만큼 padding을 적용한다.<br/>
10133
- * 지정하지 않거나 잘못 지정하면 아래 목록이 기본 적용된다.<br/>
10162
+ * 지정하지 않거나 잘못 지정하면 아래 목록이 기본 적용된다.
10163
+ * 또, polar이고 x축이면 0으로 적용된다.<br/>
10134
10164
  * `[[170, 0.2], [340, 0.1], [700, 0.05], [Infinity, 0.03]]`<br/>
10135
10165
  * 또, 숫자와 'px'로 끝나는 문자열로 지정하면 위 설정을 무시하고,
10136
10166
  * 적어도 지정한 pixel 정도의 여백이 생길 수 있도록 조정된다.<br/>
@@ -10174,7 +10204,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10174
10204
  /**
10175
10205
  * 축 시작 위치에 tick 표시 여부.<br/>
10176
10206
  * paddingd이나 base 설정 등은 반영된 상태에서 적용된다.
10177
- * {@link strictMin}가 설정되면 'value'로 적용된다.
10207
+ * {@link strictMin}가 설정되면 'value'로 적용된다.<br/>
10208
+ * 'default'이면 x축이고 polar가 아니면 'value', 그렇지 않은 경우 'tick'으로 적용된다.
10178
10209
  *
10179
10210
  * @default 'default'
10180
10211
  */
@@ -10182,7 +10213,8 @@ interface ContinuousAxisOptions extends AxisOptions {
10182
10213
  /**
10183
10214
  * 축 끝 위치에 tick 표시 여부.<br/>
10184
10215
  * paddingd이나 base 설정 등은 반영된 상태에서 적용된다.
10185
- * {@link strictMax}가 설정되면 무시되고 'value'로 적용된다.
10216
+ * {@link strictMax}가 설정되면 무시되고 'value'로 적용된다.<br/>
10217
+ * 'default'이면 x축이고 polar가 아니면 'value', 그렇지 않은 경우 'tick'으로 적용된다.
10186
10218
  *
10187
10219
  * @default 'default'
10188
10220
  */
@@ -11991,6 +12023,9 @@ interface IPolar {
11991
12023
  cx: number;
11992
12024
  cy: number;
11993
12025
  rd: number;
12026
+ cyclic: boolean;
12027
+ min?: number;
12028
+ max?: number;
11994
12029
  }
11995
12030
  declare class BodyDepthLine extends ChartItem<BodyDepthLineOptions> {
11996
12031
  static defaults: BodyDepthLineOptions;
@@ -13202,6 +13237,19 @@ declare abstract class AnnotationView<T extends Annotation = Annotation> extends
13202
13237
  protected _doLayout(p: Point): void;
13203
13238
  }
13204
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
+
13205
13253
  /**
13206
13254
  * 연속축의 그리드 모델.<br/>
13207
13255
  * {@link options} 모델은 {@link https://realchart.co.kr/docs/api/options/ContinuousAxisGridOptions ContinuousAxisGridOptions}이다.
@@ -13406,19 +13454,6 @@ declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
13406
13454
  };
13407
13455
  }
13408
13456
 
13409
- declare class ImageElement extends RcElement {
13410
- private _bounds;
13411
- private _proxy;
13412
- onloadProxy: () => void;
13413
- constructor(doc: Document, full: boolean, styleName?: string);
13414
- /** image url */
13415
- get url(): string;
13416
- set url(value: string);
13417
- setImage(url: string, width: number, height: number): void;
13418
- getBBox(): IRect;
13419
- resize(width: number, height: number, attr?: boolean): boolean;
13420
- }
13421
-
13422
13457
  /**
13423
13458
  * ChartText를 표시하는 텍스트 view.
13424
13459
  */
@@ -13496,6 +13531,7 @@ declare class PathBuilder {
13496
13531
  reset(x: number | Point, y?: number): PathBuilder;
13497
13532
  end(close?: boolean): string;
13498
13533
  close(clear: boolean): string;
13534
+ push(...list: (string | number | Point)[]): PathBuilder;
13499
13535
  move(x: number | Point, y?: number): PathBuilder;
13500
13536
  moveBy(x: number | Point, y?: number): PathBuilder;
13501
13537
  line(x: number | Point, y?: number): PathBuilder;
@@ -13508,6 +13544,7 @@ declare class PathBuilder {
13508
13544
  lines(...pts: (number | Point)[]): PathBuilder;
13509
13545
  polygon(...pts: (number | Point)[]): PathBuilder;
13510
13546
  circle(cx: number, cy: number, rd: number): PathBuilder;
13547
+ donut(cx: number, cy: number, rd: number, rdInner: number): PathBuilder;
13511
13548
  getMove(p?: number, remove?: boolean): Point;
13512
13549
  getLine(p?: number, remove?: boolean): Point;
13513
13550
  getQuad(p?: number, remove?: boolean): IPoint2;
@@ -13654,9 +13691,12 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13654
13691
  protected _pointContainer: PointContainer;
13655
13692
  _labelContainer: PointLabelContainer;
13656
13693
  private _trendLineView;
13694
+ protected _yReversed: boolean;
13657
13695
  protected _depthExt: IBodyDepthExtents;
13658
13696
  protected _legendMarker: RcElement;
13659
13697
  protected _visPoints: DataPoint[];
13698
+ private _colorByPoint;
13699
+ private _randomPalette;
13660
13700
  private _growRate;
13661
13701
  private _posRate;
13662
13702
  protected _prevRate: number;
@@ -13686,6 +13726,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13686
13726
  protected _doPointClicked(view: IPointView): void;
13687
13727
  protected _getPointColors(): string;
13688
13728
  _setDepth(depth: IBodyDepthExtents): void;
13729
+ setCircular(circular: boolean): void;
13689
13730
  prepareSeries(doc: Document, model: T, polar: boolean, depth: BodyDepth): void;
13690
13731
  protected _setModelColor(color: string): void;
13691
13732
  protected _legendColorProp(): string;
@@ -13726,6 +13767,10 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
13726
13767
  px: number;
13727
13768
  py: number;
13728
13769
  }[], start: number, end: number, sb: PathBuilder): void;
13770
+ protected _drawClosedSpline(pts: {
13771
+ px: number;
13772
+ py: number;
13773
+ }[], sb: PathBuilder, close: boolean): void;
13729
13774
  private $_renderTrendline;
13730
13775
  protected _layoutLabel(model: DataPointLabel, info: LabelLayoutInfo, w: number, h: number): void;
13731
13776
  protected _checkLabelOverlap(lv: PointLabelView, r: IRect, px: number, py: number, pw: number, ph: number, x: number, y: number, inner: boolean, target: Element): boolean;
@@ -13793,7 +13838,6 @@ declare abstract class ClusterableSeriesView<T extends Series = Series> extends
13793
13838
  declare abstract class BasedSeriesView<T extends BasedSeries> extends ClusterableSeriesView<T> {
13794
13839
  private _labelLineContainer;
13795
13840
  protected _pointOff: number;
13796
- protected _reversed: boolean;
13797
13841
  protected _yLen: number;
13798
13842
  protected _baseVal: number;
13799
13843
  protected _yBase: number;
@@ -13911,9 +13955,9 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
13911
13955
  private _owner;
13912
13956
  private _polar;
13913
13957
  private _hitTester;
13914
- private _background;
13958
+ protected _background: PathElement;
13915
13959
  private _depthLayer;
13916
- private _image;
13960
+ protected _image: ImageElement;
13917
13961
  private _emptyView;
13918
13962
  _gridRowContainer: AxisGridRowContainer;
13919
13963
  private _gridContainer;
@@ -13982,7 +14026,8 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
13982
14026
  getBounds(): DOMRect;
13983
14027
  protected _doMeasure(doc: Document, model: Body, hintWidth: number, hintHeight: number, phase: number): Size;
13984
14028
  protected _clipSeries(view: RcElement, view2: RcElement, invertable: boolean): void;
13985
- 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;
13986
14031
  protected _doLayout(): void;
13987
14032
  private $_isEmptyVisible;
13988
14033
  private $_createGaugeView;
@@ -14380,6 +14425,7 @@ interface IPointPos {
14380
14425
  }
14381
14426
  type PointLine = IPointPos[];
14382
14427
  declare class LineSeriesPoint extends DataPoint {
14428
+ angle: number;
14383
14429
  radius: number;
14384
14430
  shape: Shape;
14385
14431
  px: number;
@@ -14419,7 +14465,7 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
14419
14465
  /**
14420
14466
  * null, ranges를 모두 고려해야 한다.
14421
14467
  */
14422
- prepareLines(pts: LineSeriesPoint[]): void;
14468
+ buildLines(pts: LineSeriesPoint[]): PointLine[];
14423
14469
  get pointLabel(): LinePointLabel;
14424
14470
  protected _createLabel(chart: IChart): LinePointLabel;
14425
14471
  protected _createPoint(source: any): LineSeriesPoint;
@@ -14431,9 +14477,10 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
14431
14477
  _defViewRangeValue(): "x" | "y" | "z";
14432
14478
  protected _createLegendMarker(doc: Document, size: number): RcElement;
14433
14479
  legendMarker(doc: Document, size: number): RcElement;
14480
+ protected _doPrepareRender(): void;
14434
14481
  abstract getLineType(): LineType;
14435
14482
  protected _connectNulls(): boolean;
14436
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14483
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14437
14484
  }
14438
14485
  /**
14439
14486
  * Line 시리즈의 마지막 데이터포인트 옆에 표시되는 아이콘과 텍스트 설정 모델.<br/>
@@ -14459,6 +14506,7 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
14459
14506
  protected _doInit(op: OP): void;
14460
14507
  get flag(): LineSeriesFlag;
14461
14508
  backDir(): LineStepDirection;
14509
+ isConnectEnds(based: boolean, cyclic: boolean): boolean;
14462
14510
  isMarker(): boolean;
14463
14511
  get canPolar(): boolean;
14464
14512
  getLineType(): LineType;
@@ -14501,7 +14549,7 @@ declare class AreaSeries<OP extends AreaSeriesOptions = AreaSeriesOptions> exten
14501
14549
  protected _createLegendMarker(doc: Document, size: number): RcElement;
14502
14550
  protected _createPoint(source: any): AreaSeriesPoint;
14503
14551
  isBased(axis: IAxis): boolean;
14504
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14552
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14505
14553
  }
14506
14554
  /**
14507
14555
  * [low, high|y]
@@ -14540,7 +14588,7 @@ declare class AreaRangeSeries extends LineSeriesBase<AreaRangeSeriesOptions> {
14540
14588
  protected _createPoint(source: any): AreaRangeSeriesPoint;
14541
14589
  getLineType(): LineType;
14542
14590
  collectValues(axis: IAxis, vals: number[]): void;
14543
- protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
14591
+ protected _doBuildLines(pts: LineSeriesPoint[]): PointLine[];
14544
14592
  }
14545
14593
  /**
14546
14594
  * Line 시리즈그룹 모델.<br/>
@@ -14653,6 +14701,7 @@ declare class BellCurveSeries extends AreaSeries<BellCurveSeriesOptions> {
14653
14701
  static readonly type = "bellcurve";
14654
14702
  static defaults: BellCurveSeriesOptions;
14655
14703
  private _refer;
14704
+ get canPolar(): boolean;
14656
14705
  isEmpty(): boolean;
14657
14706
  getLineType(): LineType;
14658
14707
  protected _createPoint(source: any): BellCurveSeriesPoint;
@@ -15224,6 +15273,7 @@ declare class Dom {
15224
15273
  static getPadding(dom: HTMLElement | SVGElement): ISides;
15225
15274
  static hasFill(path: Element): boolean;
15226
15275
  static setVisible(dom: HTMLElement | SVGElement, visible: boolean, style?: string): boolean;
15276
+ static isHidden(dom: HTMLElement | SVGElement): boolean;
15227
15277
  static setClipPath(dom: Element, clip: string | SVGClipPathElement): void;
15228
15278
  static createClipRect(doc: Document, id: string): SVGClipPathElement;
15229
15279
  static setRect(dom: Element, r: IRect): Element;
@@ -15231,11 +15281,13 @@ declare class Dom {
15231
15281
  }
15232
15282
 
15233
15283
  declare abstract class BarSeriesViewBase<T extends BarSeriesBase> extends BasedSeriesView<T> {
15284
+ private _polar;
15234
15285
  private _deep;
15235
15286
  private _bars;
15236
15287
  private _sectors;
15237
15288
  protected _labelInfo: LabelLayoutInfo;
15238
15289
  protected _getPointPool(): ElementPool<RcElement>;
15290
+ protected _prepareSeries(doc: Document, model: T, polar: boolean, depth: BodyDepth): void;
15239
15291
  protected _preparePoints(doc: Document, model: T, points: DataPoint[], deep: boolean): void;
15240
15292
  protected _setPointStyle(v: RcElement, model: T, p: DataPoint): void;
15241
15293
  protected _layoutPoints(width: number, height: number): void;
@@ -15274,14 +15326,21 @@ declare class LineContainer extends PointContainer {
15274
15326
  declare abstract class LineSeriesBaseView<T extends LineSeriesBase = LineSeriesBase> extends SeriesView<T> implements IMarkerSeriesView {
15275
15327
  protected _lineContainer: LineContainer;
15276
15328
  private _line;
15329
+ protected _based: boolean;
15277
15330
  protected _needBelow: boolean;
15278
15331
  private _lowLine;
15279
- protected _upperClip: ClipElement;
15280
- 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;
15281
15339
  protected _markers: ElementPool<LineMarkerView>;
15282
15340
  private _rangeLines;
15283
15341
  private _rangeClips;
15284
15342
  protected _polar: IPolar;
15343
+ _tester: PathElement;
15285
15344
  constructor(doc: Document, styleName: string);
15286
15345
  getClipContainer(): RcElement;
15287
15346
  protected _getPointPool(): ElementPool<RcElement>;
@@ -15305,23 +15364,22 @@ declare abstract class LineSeriesBaseView<T extends LineSeriesBase = LineSeriesB
15305
15364
  getHintDistance(): number;
15306
15365
  canHover(dist: number, pv: LineMarkerView, hint: number): boolean;
15307
15366
  protected _markersPerPoint(): number;
15308
- protected _prepareBelow(series: LineSeries, polar: boolean): boolean;
15367
+ protected _prepareBelow(polar: boolean): boolean;
15309
15368
  protected _prepareRanges(model: T, ranges: ValueRange[]): void;
15310
15369
  private $_resetClips;
15311
15370
  private $_prepareMarkers;
15312
15371
  protected _prepareMakrer(mv: LineMarkerView): void;
15313
15372
  protected _layoutMarker(mv: LineMarkerView, markerStyle: SVGStyleOrClass, x: number, y: number): void;
15314
15373
  protected _layoutMarkers(pts: LineSeriesPoint[], width: number, height: number): void;
15315
- protected _layoutLines(polar: boolean): void;
15316
- protected _buildLine2(line: PointLine, t: LineType, connected: boolean, sb: PathBuilder): void;
15317
- protected _buildLines2(lines: PointLine[]): string;
15318
- 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;
15319
15378
  private _drawLines;
15320
- private _drawStep2;
15379
+ private _drawStep;
15321
15380
  private _drawSteps;
15322
- private _drawCurve2;
15323
- private _drawCurves;
15324
- 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;
15325
15383
  protected _buildAreas(lines: PointLine[], t1: LineType, t2?: LineType): string;
15326
15384
  setHoverStyle(pv: RcElement): void;
15327
15385
  }
@@ -15367,8 +15425,6 @@ interface ISectorShape {
15367
15425
  depth?: number;
15368
15426
  }
15369
15427
  declare class SectorElement extends PathElement {
15370
- static create(doc: Document, styleName: string, x: number, y: number, rx: number, ry: number, start: number, angle: number, clockwise?: boolean): SectorElement;
15371
- static createInner(doc: Document, styleName: string, x: number, y: number, rx: number, ry: number, innerRadius: number, start: number, angle: number, clockwise?: boolean): SectorElement;
15372
15428
  constructor(doc: Document, styleName?: string, shape?: ISectorShape);
15373
15429
  /**
15374
15430
  * 중심 x.
@@ -15595,6 +15651,7 @@ declare class Utils {
15595
15651
  * @returns
15596
15652
  */
15597
15653
  static randomLike(i: number): number;
15654
+ static diffAngle(rad1: number, rad2: number): number;
15598
15655
  }
15599
15656
 
15600
15657
  declare const getVersion: typeof Globals.getVersion;