realchart 1.4.21 → 1.4.23

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Pictogram v1.4.21
3
+ * RealChart Pictogram v1.4.23
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/ie/split.ie.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Split v1.4.21
3
+ * RealChart Split v1.4.23
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/ie/treemap.ie.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Treemap v1.4.21
3
+ * RealChart Treemap v1.4.23
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/ie/vector.ie.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Vector v1.4.21
3
+ * RealChart Vector v1.4.23
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Wordcloud v1.4.21
3
+ * RealChart Wordcloud v1.4.23
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/index.d.ts CHANGED
@@ -1491,7 +1491,7 @@ interface TrendlineAreaOptions extends ChartItemOptions {
1491
1491
  /**
1492
1492
  * 추세선 라벨 옵션.<br/>
1493
1493
  */
1494
- interface TrendlineLabelOptions extends IconedTextOptions {
1494
+ interface TrendlineLabelOptions extends Omit<IconedTextOptions, 'numberFormat' | 'numberSymbols'> {
1495
1495
  /**
1496
1496
  * @default false
1497
1497
  */
@@ -2692,12 +2692,14 @@ interface BarSeriesOptions extends BarSeriesBaseOptions {
2692
2692
  type?: BarSeriesTypes;
2693
2693
  /**
2694
2694
  * 지정한 반지름 크기로 데이터포인트 bar의 위쪽 모서리를 둥글게 표시한다.<br/>
2695
- * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.
2695
+ * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.<br/>
2696
+ * polar 차트에서는 동작하지 않는다.
2696
2697
  */
2697
2698
  topRadius?: number;
2698
2699
  /**
2699
2700
  * 지정한 반지름 크기로 데이터포인트 bar의 아래쪽 모서리를 둥글게 표시한다.<br/>
2700
- * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.
2701
+ * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.<br/>
2702
+ * polar 차트에서는 동작하지 않는다.
2701
2703
  */
2702
2704
  bottomRadius?: number;
2703
2705
  shape?: 'default' | 'cylinder';
@@ -2786,7 +2788,7 @@ type LineType = typeof _LineType[keyof typeof _LineType];
2786
2788
  * Line 시리즈의 마지막 데이터포인트 옆에 표시되는 아이콘과 텍스트 설정 모델.<br/>
2787
2789
  * 마지막 포인트와의 간격은 {@link offset} 속성으로 지정한다.
2788
2790
  */
2789
- interface LineSeriesFlagOptions extends IconedTextOptions {
2791
+ interface LineSeriesFlagOptions extends Omit<IconedTextOptions, 'numberFormat' | 'numberSymbols'> {
2790
2792
  /**
2791
2793
  * @append
2792
2794
  *
@@ -4777,12 +4779,14 @@ interface PictorialBarSeriesOptions extends BarSeriesBaseOptions {
4777
4779
  figureGap?: number;
4778
4780
  /**
4779
4781
  * 지정한 반지름 크기로 데이터포인트 bar의 위쪽 모서리를 둥글게 표시한다.<br/>
4780
- * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.
4782
+ * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.<br/>
4783
+ * polar 차트에서는 동작하지 않는다.
4781
4784
  */
4782
4785
  topRadius?: number;
4783
4786
  /**
4784
4787
  * 지정한 반지름 크기로 데이터포인트 bar의 아래쪽 모서리를 둥글게 표시한다.<br/>
4785
- * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.
4788
+ * 최대값이 bar 폭으로 절반으로 제한되므로 아주 큰 값을 지정하면 반원으로 표시된다.<br/>
4789
+ * polar 차트에서는 동작하지 않는다.
4786
4790
  */
4787
4791
  bottomRadius?: number;
4788
4792
  }
@@ -5381,6 +5385,20 @@ interface ChartOptionsOptions extends ChartItemOptions {
5381
5385
  * @default true
5382
5386
  */
5383
5387
  animatable?: boolean;
5388
+ /**
5389
+ * false로 지정하면 차트 전체에서 마우스 hover 상호작용을 비활성화한다.<br/>
5390
+ * tooltip, pointHovering, seriesHovering, crosshair 등 hover 기반 기능이 모두 작동하지 않는다.<br/>
5391
+ *
5392
+ * @default true
5393
+ */
5394
+ hoverable?: boolean;
5395
+ /**
5396
+ * false로 지정하면 차트 전체에서 마우스 click 상호작용을 비활성화한다.<br/>
5397
+ * onPointClick, 범례 클릭, annotation 클릭 등 클릭 기반 기능이 모두 작동하지 않는다.<br/>
5398
+ *
5399
+ * @default true
5400
+ */
5401
+ clickable?: boolean;
5384
5402
  /**
5385
5403
  * javascript에서 숫자 단위로 전달되는 날짜값은 기본적으로 local이 아니라 new Date 기준이다.<br/>
5386
5404
  * 그러므로 보통 숫자로 지정된 날짜값은 utc 값이다.
@@ -7655,7 +7673,7 @@ type ClockGaugeLabelPosition = typeof _ClockGaugeLabelPosition[keyof typeof _Clo
7655
7673
  /**
7656
7674
  * Clock 게이지 내부에 표시되는 라벨 설정 모델.<br/>
7657
7675
  */
7658
- interface ClockGaugeLabelOptions extends ChartTextOptions {
7676
+ interface ClockGaugeLabelOptions extends Omit<ChartTextOptions, 'numberFormat' | 'numberSymbols'> {
7659
7677
  /**
7660
7678
  * 라벨 표시 위치.
7661
7679
  *
@@ -10267,6 +10285,8 @@ interface IChart {
10267
10285
  isSplitted(): boolean;
10268
10286
  animatable(): boolean;
10269
10287
  loadAnimatable(): boolean;
10288
+ hoverable(): boolean;
10289
+ clickable(): boolean;
10270
10290
  _needAxes(): boolean;
10271
10291
  seriesByName(series: string): Series;
10272
10292
  axisByName(axis: string): Axis;
@@ -10413,6 +10433,8 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
10413
10433
  _createChart(config: any): IChart;
10414
10434
  animatable(): boolean;
10415
10435
  loadAnimatable(): boolean;
10436
+ hoverable(): boolean;
10437
+ clickable(): boolean;
10416
10438
  getAxisOf(annotation: Annotation, isX: boolean): IAxis;
10417
10439
  isValidAxis(axis: IAxis): boolean;
10418
10440
  getTooltipContext(scope: TooltipScope, series: ISeries, point: DataPoint): ITooltipContext;
@@ -11728,7 +11750,7 @@ type GuideLabelPosition = typeof _GuideLabelPosition[keyof typeof _GuideLabelPos
11728
11750
  * 축 가이드 label 설정 모델.
11729
11751
  *
11730
11752
  */
11731
- interface AxisGuideLabelOptions extends IconedTextOptions {
11753
+ interface AxisGuideLabelOptions extends Omit<IconedTextOptions, 'numberFormat' | 'numberSymbols'> {
11732
11754
  /**
11733
11755
  * body 영역 기준, 표시 위치.
11734
11756
  *
@@ -12320,13 +12342,15 @@ interface CategoryAxisTickOptions extends AxisTickOptions {
12320
12342
  */
12321
12343
  interface CategoryAxisLabelOptions extends AxisLabelOptions {
12322
12344
  /**
12323
- * {@link fillToCategory}가 true이고 수직 label의 수평 정렬.<br/>
12345
+ * {@link fillToCategory}가 true 카테고리 블록 label의 수평 정렬.<br/>
12346
+ * 수직 축에서는 블록 높이 내 수평 위치, 수평 축에서는 블록 너비 내 수평 위치를 제어한다.
12324
12347
  *
12325
12348
  * @default 'center'
12326
12349
  */
12327
12350
  align?: Align;
12328
12351
  /**
12329
- * {@link fillToCategory}가 true이고 수직 label의 수직 정렬.<br/>
12352
+ * {@link fillToCategory}가 true 카테고리 블록 label의 수직 정렬.<br/>
12353
+ * 수직 축에서는 블록 높이 내 수직 위치를 제어한다.
12330
12354
  *
12331
12355
  * @default 'middle'
12332
12356
  */
@@ -12480,7 +12504,7 @@ interface AxisBaseLineOptions extends AxisLineOptions {
12480
12504
  interface AxisBreakOptions extends AxisItemOptions {
12481
12505
  /**
12482
12506
  * break 적용 시작 값.<br/>
12483
- * 0보다 값을 지정해야 한다.
12507
+ * `to`보다 작은 값을 지정해야 하며, 음수도 허용된다.
12484
12508
  */
12485
12509
  from?: number;
12486
12510
  /**
@@ -12568,12 +12592,6 @@ interface ContinuousAxisOptions extends AxisOptions {
12568
12592
  * 계산값과 무관하게 최대값을 지정하려면 {@link strictMax}을 사용한다.
12569
12593
  */
12570
12594
  maxValue?: number;
12571
- /**
12572
- * data point의 이 축 값이 NaN일 때도 point를 표시할 지 여부.
12573
- *
12574
- * @default true
12575
- */
12576
- nullable?: boolean;
12577
12595
  /**
12578
12596
  * y축 기준값이 필요한 시리즈들({@link https://realchart.co.kr/config/config/series/bar bar} 계열,
12579
12597
  * {@link https://realchart.co.kr/config/config/series/area area})의 {@link https://realchart.co.kr/config/config/series/bar#basevalue baseValue}가
@@ -12863,13 +12881,15 @@ interface ChartTextOptions extends ChartItemOptions {
12863
12881
  */
12864
12882
  effect?: ChartTextEffect;
12865
12883
  /**
12866
- * {@link autoContrast}가 true이고 밝게 표시할 때 적용되는
12884
+ * {@link autoContrast}가 true이고 배경이 어두울 때 적용되는
12867
12885
  * {@link it.SVGStyles 스타일셋} 또는 css {@link https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
12886
+ * 지정하지 않으면 'rct-label-light' 클래스 셀렉터가 기본 적용된다.
12868
12887
  */
12869
12888
  lightStyle?: SVGStyleOrClass;
12870
12889
  /**
12871
- * {@link autoContrast}가 true이고 어둡게 표시할 때 적용되는
12890
+ * {@link autoContrast}가 true이고 배경이 밝을 때 적용되는
12872
12891
  * {@link it.SVGStyles 스타일셋} 또는 css {@link https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
12892
+ * 지정하지 않으면 'rct-label-dark' 클래스 셀렉터가 기본 적용된다.
12873
12893
  */
12874
12894
  darkStyle?: SVGStyleOrClass;
12875
12895
  /**
@@ -12878,11 +12898,12 @@ interface ChartTextOptions extends ChartItemOptions {
12878
12898
  */
12879
12899
  backgroundStyle?: SVGStyleOrClass;
12880
12900
  /**
12881
- * 텍스트가 data point 내부에 표시되는 경우 포인트 배경 색상과 대조되도록 표시한다.<br/>
12882
- * 밝게 표시할 때는 {@link lightStyle}을 적용하고,
12883
- * 어둡게 표시할 때는 {@link darkStyle}이 적용된다.
12884
- * lightStyle이 지정되지 않으면 'rct-text-light' 클래스 셀렉터가,
12885
- * darkStyle이 지정되지 않으면 'rct-text-dark' 클래스 셀렉터가 기본 적용된다.
12901
+ * 텍스트 색상을 배경 색상과 대조되도록 자동 조정한다.<br/>
12902
+ * 배경이 어두우면 {@link lightStyle}을, 배경이 밝으면 {@link darkStyle}적용한다.<br/>
12903
+ * 배경 기준 우선순위:<br/>
12904
+ * 1. {@link effect}가 'background' 경우 → {@link backgroundStyle}의 배경색 기준<br/>
12905
+ * 2. 텍스트가 data point 내부에 표시되는 경우 → 포인트 배경색 기준<br/>
12906
+ * 위 조건에 해당하지 않으면 적용되지 않는다.
12886
12907
  *
12887
12908
  * @default true
12888
12909
  */
@@ -14399,10 +14420,10 @@ declare class ChartTextElement extends GroupElement {
14399
14420
  /** text */
14400
14421
  get text(): string;
14401
14422
  setText(s: string): ChartTextElement;
14402
- setModel(doc: Document, model: IconedText, icon: string, dynStyle: SVGStyleOrClass): ChartTextElement;
14423
+ setModel<OP extends ChartTextOptions>(doc: Document, model: IconedText<OP>, icon: string, dynStyle: SVGStyleOrClass): ChartTextElement;
14403
14424
  setContrast(target: Element): ChartTextElement;
14404
14425
  layout(align: Align): ChartTextElement;
14405
- setOutline(model: IconedText): void;
14426
+ setOutline<OP extends ChartTextOptions>(model: IconedText<OP>): void;
14406
14427
  getBBox(): IRect;
14407
14428
  }
14408
14429