realchart 1.3.5 → 1.3.7

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/gauge.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Gauge v1.3.5
3
+ * RealChart Gauge v1.3.7
4
4
  * Copyright (C) 2023-2025 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/gauge.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Gauge v1.3.5
3
+ * RealChart Gauge v1.3.7
4
4
  * Copyright (C) 2023-2025 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/heatmap.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Heatmap v1.3.5
3
+ * RealChart Heatmap v1.3.7
4
4
  * Copyright (C) 2023-2025 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/heatmap.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Heatmap v1.3.5
3
+ * RealChart Heatmap v1.3.7
4
4
  * Copyright (C) 2023-2025 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/index.d.ts CHANGED
@@ -243,6 +243,10 @@ declare const _VerticalAlign: {
243
243
  readonly BOTTOM: "bottom";
244
244
  };
245
245
  type VerticalAlign = typeof _VerticalAlign[keyof typeof _VerticalAlign];
246
+ /**
247
+ * SVG 스타일 속성.<br/>
248
+ * {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute SVG 속성}을 참조한다.<br/>
249
+ */
246
250
  interface SVGStyles {
247
251
  /**
248
252
  * SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill fill} 스타일 속성.<br/>
@@ -680,7 +684,7 @@ interface AnnotationOptions extends ChartItemOptions {
680
684
  name?: string;
681
685
  /**
682
686
  * 어노테이션 배치 기준이 되는 차트 구성 요소.<br/>
683
- * 현재, 같은 영역(body 혹은 chart)에 포함된 {@page config.base.gauge 게이지} 다른 어노테이션의 {@page name 이름}을 지정할 수 있다.
687
+ * 현재, 같은 영역(body 혹은 chart)에 포함된 다른 어노테이션이나 {@page config.base.gauge 게이지} {@page name 이름}을 지정할 수 있다.
684
688
  */
685
689
  anchor?: string;
686
690
  /**
@@ -1540,6 +1544,7 @@ interface SeriesOptions extends ChartItemOptions {
1540
1544
  colorField?: string;
1541
1545
  /**
1542
1546
  * 데이터포인터들을 생성하는 데 사용되는 값 목록.
1547
+ * 단일 값을 지정할 경우 배열로 처리됩니다. 단, string 타입은 향후 버전에서 사용할 예정이며, 현재는 data를 지정하지 않은 경우와 동일하게 동작한다.
1543
1548
  */
1544
1549
  data?: any;
1545
1550
  /**
@@ -3442,6 +3447,8 @@ declare const WaterfallSeriesType = "waterfall";
3442
3447
  * |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
3443
3448
  * |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
3444
3449
  * |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
3450
+ * |isSum|이 속성이 true이면, 해당 포인트는 이전 값들의 전체 합계를 나타낸다.|
3451
+ * |isMid|이 속성이 true이면, 해당 포인트는 시리즈 시작부터 또는 이전 중간 합계 이후의 누적 합계를 나타낸다.|
3445
3452
  *
3446
3453
  * @config chart.series[type=waterfall]
3447
3454
  */
@@ -3453,6 +3460,14 @@ interface WaterfallSeriesOptions extends ClusterableSeriesOptions {
3453
3460
  *
3454
3461
  */
3455
3462
  cornerRadius?: number;
3463
+ /**
3464
+ * y 값이 0보다 작은 데이터 포인트에 적용되는 color 값
3465
+ */
3466
+ negativeColor?: string;
3467
+ /**
3468
+ * isSum을 true로 지정한 데이터 포인트에 적용되는 color 값
3469
+ */
3470
+ sumColor?: string;
3456
3471
  }
3457
3472
  /**
3458
3473
  * @enum
@@ -4899,6 +4914,8 @@ declare enum TextOverflow {
4899
4914
  ELLIPSIS = "ellipsis"
4900
4915
  }
4901
4916
  /**
4917
+ * @private
4918
+ *
4902
4919
  * Background, padding 등을 이용하려면 HtmlTextElement를 사용한다.
4903
4920
  *
4904
4921
  * // TODO: wrap
@@ -6336,8 +6353,8 @@ declare abstract class DataPoint {
6336
6353
  getPointLabel(index: number): any;
6337
6354
  getPointText(index: number): string;
6338
6355
  swap(): void;
6356
+ getParam(param: string): any;
6339
6357
  updateValues(series: ISeries, values: any): any;
6340
- getTooltip(param: string): any;
6341
6358
  initValues(): void;
6342
6359
  /**
6343
6360
  * @internal
@@ -6900,6 +6917,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
6900
6917
  collectValues(): void;
6901
6918
  collectRanges(): void;
6902
6919
  collectReferentsValues(): void;
6920
+ private $_checkEmpty;
6903
6921
  _prepare(): void;
6904
6922
  _prepareRender(): void;
6905
6923
  afterRender(): void;
@@ -9990,6 +10008,9 @@ declare class Subtitle extends Title<SubtitleOptions> {
9990
10008
  static defaults: SubtitleOptions;
9991
10009
  }
9992
10010
 
10011
+ /**
10012
+ * @internal
10013
+ */
9993
10014
  interface ISplit extends ChartItem<SplitOptions> {
9994
10015
  getAnnotation(name: string): Annotation;
9995
10016
  prepareRender(xAxes: AxisCollection, yAxes: AxisCollection): void;
@@ -11347,7 +11368,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
11347
11368
  protected abstract _prepareSeries(doc: Document, model: T, polar: boolean): void;
11348
11369
  protected abstract _renderSeries(width: number, height: number): void;
11349
11370
  protected _collectVisPoints(model: T): DataPoint[];
11350
- private $_setColorIndex;
11371
+ protected _setColorIndex(v: RcElement, p: DataPoint): void;
11351
11372
  protected _setPointColor(v: RcElement, color: string): void;
11352
11373
  protected _setPointStyle(v: RcElement, model: T, p: DataPoint, styles?: any[]): void;
11353
11374
  protected _labelViews(): PointLabelContainer;
@@ -12664,10 +12685,12 @@ declare class ScatterSeries extends MarkerSeries<ScatterSeriesOptions> {
12664
12685
 
12665
12686
  declare class WaterfallSeriesPoint extends DataPoint {
12666
12687
  _isSum: boolean;
12667
- _intermediate: boolean;
12688
+ _isMid: boolean;
12689
+ y1: number;
12690
+ y2: number;
12668
12691
  save: number;
12669
- low: number;
12670
12692
  parse(series: WaterfallSeries): void;
12693
+ getPointLabel(index: number): any;
12671
12694
  }
12672
12695
  /**
12673
12696
  * 폭포(Waterfall) 시리즈 모델.<br/>
@@ -12678,6 +12701,7 @@ declare class WaterfallSeries extends RangedSeries<WaterfallSeriesOptions> {
12678
12701
  static readonly type = "waterfall";
12679
12702
  canCategorized(): boolean;
12680
12703
  getBaseValue(axis: IAxis): number;
12704
+ protected _createLabel(chart: IChart): DataPointLabel;
12681
12705
  protected _createPoint(source: any): DataPoint;
12682
12706
  protected _createLegendMarker(doc: Document, size: number): RcElement;
12683
12707
  protected _doPrepareRender(): void;
@@ -12848,18 +12872,25 @@ declare class ArcElement extends PathElement {
12848
12872
  }
12849
12873
 
12850
12874
  declare const isObject: (v: any) => boolean;
12875
+ /** @internal */
12851
12876
  declare const isArray: (arg: any) => arg is any[];
12852
12877
  declare const isString: (v: any) => v is string;
12878
+ /** @internal */
12853
12879
  declare const assignObj: {
12854
12880
  <T extends {}, U>(target: T, source: U): T & U;
12855
12881
  <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
12856
12882
  <T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
12857
12883
  (target: object, ...sources: any[]): any;
12858
12884
  };
12885
+ /** @internal */
12859
12886
  declare const cos: (x: number) => number;
12887
+ /** @internal */
12860
12888
  declare const sin: (x: number) => number;
12889
+ /** @internal */
12861
12890
  declare const minv: (...values: number[]) => number;
12891
+ /** @internal */
12862
12892
  declare const maxv: (...values: number[]) => number;
12893
+ /** @internal */
12863
12894
  declare const absv: (x: number) => number;
12864
12895
  declare const pickNum: (v1: any, v2: any) => number;
12865
12896
  declare const pickProp: (v1: any, v2: any) => any;