@operato/chart 7.0.12 → 7.0.14
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/CHANGELOG.md +19 -0
- package/dist/src/editors/configurer.d.ts +10 -1
- package/dist/src/editors/configurer.js +62 -2
- package/dist/src/editors/configurer.js.map +1 -1
- package/dist/src/editors/input-chart-abstract.d.ts +18 -0
- package/dist/src/editors/input-chart-abstract.js +438 -1
- package/dist/src/editors/input-chart-abstract.js.map +1 -1
- package/dist/src/editors/input-chart-styles.js +18 -9
- package/dist/src/editors/input-chart-styles.js.map +1 -1
- package/dist/src/editors/ox-input-chart-hbar.d.ts +2 -2
- package/dist/src/editors/ox-input-chart-hbar.js +10 -10
- package/dist/src/editors/ox-input-chart-hbar.js.map +1 -1
- package/dist/src/editors/ox-input-chart-mixed.d.ts +2 -2
- package/dist/src/editors/ox-input-chart-mixed.js +3 -3
- package/dist/src/editors/ox-input-chart-mixed.js.map +1 -1
- package/dist/src/editors/ox-input-chart-radar.d.ts +2 -2
- package/dist/src/editors/ox-input-chart-radar.js +3 -3
- package/dist/src/editors/ox-input-chart-radar.js.map +1 -1
- package/dist/src/editors/ox-input-chart-timeseries.d.ts +2 -2
- package/dist/src/editors/ox-input-chart-timeseries.js +6 -4
- package/dist/src/editors/ox-input-chart-timeseries.js.map +1 -1
- package/dist/src/editors/ox-property-editor-chart.d.ts +1 -0
- package/dist/src/editors/ox-property-editor-chart.js +1 -0
- package/dist/src/editors/ox-property-editor-chart.js.map +1 -1
- package/dist/src/scichart/scichart-builder.js +75 -5
- package/dist/src/scichart/scichart-builder.js.map +1 -1
- package/dist/stories/ox-input-chart-timeseries.stories.js +0 -4
- package/dist/stories/ox-input-chart-timeseries.stories.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/editors/configurer.ts +73 -2
- package/src/editors/input-chart-abstract.ts +459 -2
- package/src/editors/input-chart-styles.ts +18 -9
- package/src/editors/ox-input-chart-hbar.ts +10 -10
- package/src/editors/ox-input-chart-mixed.ts +3 -3
- package/src/editors/ox-input-chart-radar.ts +3 -3
- package/src/editors/ox-input-chart-timeseries.ts +6 -4
- package/src/editors/ox-property-editor-chart.ts +1 -0
- package/src/scichart/scichart-builder.ts +89 -4
- package/src/types.d.ts +19 -0
- package/stories/ox-input-chart-timeseries.stories.ts +0 -4
- package/translations/en.json +24 -17
- package/translations/ja.json +25 -18
- package/translations/ko.json +11 -4
- package/translations/ms.json +25 -18
- package/translations/zh.json +30 -23
- package/dist/src/editors/input-chart-multi-series-abstract.d.ts +0 -17
- package/dist/src/editors/input-chart-multi-series-abstract.js +0 -419
- package/dist/src/editors/input-chart-multi-series-abstract.js.map +0 -1
- package/src/editors/input-chart-multi-series-abstract.ts +0 -430
|
@@ -39,6 +39,9 @@ export async function buildSciChart(
|
|
|
39
39
|
DateTimeNumericAxis,
|
|
40
40
|
EAutoRange,
|
|
41
41
|
EAxisAlignment,
|
|
42
|
+
ECoordinateMode,
|
|
43
|
+
EHorizontalAnchorPoint,
|
|
44
|
+
EVerticalAnchorPoint,
|
|
42
45
|
NumberRange,
|
|
43
46
|
MouseWheelZoomModifier,
|
|
44
47
|
RubberBandXyZoomModifier,
|
|
@@ -54,7 +57,12 @@ export async function buildSciChart(
|
|
|
54
57
|
WaveAnimation,
|
|
55
58
|
LegendModifier,
|
|
56
59
|
XAxisDragModifier,
|
|
57
|
-
YAxisDragModifier
|
|
60
|
+
YAxisDragModifier,
|
|
61
|
+
TextAnnotation,
|
|
62
|
+
LineAnnotation,
|
|
63
|
+
BoxAnnotation,
|
|
64
|
+
HorizontalLineAnnotation,
|
|
65
|
+
VerticalLineAnnotation
|
|
58
66
|
} = SciChart
|
|
59
67
|
|
|
60
68
|
const { type: chartType, options, data: fromData } = config
|
|
@@ -68,7 +76,9 @@ export async function buildSciChart(
|
|
|
68
76
|
xGridLine,
|
|
69
77
|
yGridLine,
|
|
70
78
|
y2ndGridLine,
|
|
71
|
-
stacked
|
|
79
|
+
stacked,
|
|
80
|
+
multiAxis,
|
|
81
|
+
annotations
|
|
72
82
|
} = options || {}
|
|
73
83
|
|
|
74
84
|
var baseColor = getBaseColorFromTheme(theme)
|
|
@@ -125,7 +135,7 @@ export async function buildSciChart(
|
|
|
125
135
|
})
|
|
126
136
|
|
|
127
137
|
// Y 축 설정
|
|
128
|
-
yAxes.forEach((axis, index) => {
|
|
138
|
+
;(multiAxis ? yAxes : [yAxes[0]]).forEach((axis, index) => {
|
|
129
139
|
const { axisTitle, ticks } = axis
|
|
130
140
|
const { autoMax, autoMin, min, max, stepSize, beginAtZero } = ticks || {}
|
|
131
141
|
|
|
@@ -159,7 +169,7 @@ export async function buildSciChart(
|
|
|
159
169
|
containsNaN: false
|
|
160
170
|
})
|
|
161
171
|
|
|
162
|
-
const yAxisId = dataset.yAxisID == 'right' ? 'yAxis1' : undefined
|
|
172
|
+
const yAxisId = dataset.yAxisID == 'right' && multiAxis ? 'yAxis1' : undefined
|
|
163
173
|
const stackGroupId = dataset.stack || `__stack${index}__`
|
|
164
174
|
|
|
165
175
|
let series: any
|
|
@@ -313,6 +323,81 @@ export async function buildSciChart(
|
|
|
313
323
|
}
|
|
314
324
|
}
|
|
315
325
|
|
|
326
|
+
if (annotations) {
|
|
327
|
+
annotations.forEach(annotation => {
|
|
328
|
+
let sciAnnotation: any
|
|
329
|
+
let horizontalAnchorPoint =
|
|
330
|
+
annotation.horizontalAnchorPoint == 'Right'
|
|
331
|
+
? EHorizontalAnchorPoint.Right
|
|
332
|
+
: annotation.horizontalAnchorPoint == 'Left'
|
|
333
|
+
? EHorizontalAnchorPoint.Left
|
|
334
|
+
: EHorizontalAnchorPoint.Center
|
|
335
|
+
let verticalAnchorPoint =
|
|
336
|
+
annotation.verticalAnchorPoint == 'Top'
|
|
337
|
+
? EVerticalAnchorPoint.Top
|
|
338
|
+
: annotation.verticalAnchorPoint == 'Bottom'
|
|
339
|
+
? EVerticalAnchorPoint.Bottom
|
|
340
|
+
: EVerticalAnchorPoint.Center
|
|
341
|
+
|
|
342
|
+
switch (annotation.type) {
|
|
343
|
+
case 'text':
|
|
344
|
+
sciAnnotation = new TextAnnotation({
|
|
345
|
+
x1: annotation.x1,
|
|
346
|
+
y1: annotation.y1,
|
|
347
|
+
text: annotation.text,
|
|
348
|
+
horizontalAnchorPoint,
|
|
349
|
+
verticalAnchorPoint,
|
|
350
|
+
fontSize: annotation.fontSize,
|
|
351
|
+
fontFamily: annotation.fontFamily,
|
|
352
|
+
textColor: convertColor(annotation.stroke, fontColor)
|
|
353
|
+
})
|
|
354
|
+
break
|
|
355
|
+
case 'line':
|
|
356
|
+
sciAnnotation = new LineAnnotation({
|
|
357
|
+
x1: annotation.x1,
|
|
358
|
+
y1: annotation.y1,
|
|
359
|
+
x2: annotation.x2,
|
|
360
|
+
y2: annotation.y2,
|
|
361
|
+
stroke: convertColor(annotation.stroke, '#FF0000'),
|
|
362
|
+
strokeThickness: annotation.strokeThickness,
|
|
363
|
+
xCoordinateMode: ECoordinateMode.Relative,
|
|
364
|
+
yCoordinateMode: ECoordinateMode.DataValue
|
|
365
|
+
})
|
|
366
|
+
break
|
|
367
|
+
case 'box':
|
|
368
|
+
sciAnnotation = new BoxAnnotation({
|
|
369
|
+
x1: annotation.x1,
|
|
370
|
+
y1: annotation.y1,
|
|
371
|
+
x2: annotation.x2,
|
|
372
|
+
y2: annotation.y2,
|
|
373
|
+
fill: convertColor(annotation.fill, '#FF0000'),
|
|
374
|
+
stroke: convertColor(annotation.stroke, '#FF0000'),
|
|
375
|
+
strokeThickness: annotation.strokeThickness
|
|
376
|
+
})
|
|
377
|
+
break
|
|
378
|
+
case 'horizontalLine':
|
|
379
|
+
sciAnnotation = new HorizontalLineAnnotation({
|
|
380
|
+
y1: annotation.y1,
|
|
381
|
+
stroke: convertColor(annotation.stroke, '#FF0000'),
|
|
382
|
+
strokeThickness: annotation.strokeThickness
|
|
383
|
+
})
|
|
384
|
+
break
|
|
385
|
+
case 'verticalLine':
|
|
386
|
+
sciAnnotation = new VerticalLineAnnotation({
|
|
387
|
+
x1: annotation.x1,
|
|
388
|
+
stroke: convertColor(annotation.stroke, '#FF0000'),
|
|
389
|
+
strokeThickness: annotation.strokeThickness
|
|
390
|
+
})
|
|
391
|
+
break
|
|
392
|
+
default:
|
|
393
|
+
break
|
|
394
|
+
}
|
|
395
|
+
if (sciAnnotation) {
|
|
396
|
+
sciChartSurface.annotations.add(sciAnnotation)
|
|
397
|
+
}
|
|
398
|
+
})
|
|
399
|
+
}
|
|
400
|
+
|
|
316
401
|
// 줌인/줌아웃 모디파이어 추가
|
|
317
402
|
sciChartSurface.chartModifiers.add(
|
|
318
403
|
// new RubberBandXyZoomModifier(),
|
package/src/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare namespace OperatoChart {
|
|
2
2
|
export type ChartType = 'bar' | 'horizontalBar' | 'line' | 'radar' | 'pie' | 'doughnut' | 'polarArea' | undefined
|
|
3
|
+
|
|
3
4
|
export interface ChartConfig {
|
|
4
5
|
data: ChartData
|
|
5
6
|
options?: ChartOptions
|
|
@@ -56,6 +57,7 @@ declare namespace OperatoChart {
|
|
|
56
57
|
multiAxis?: boolean
|
|
57
58
|
maintainAspectRatio?: boolean
|
|
58
59
|
plugins?: { [plugin: string]: any }
|
|
60
|
+
annotations?: Annotation[]
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
export interface LegendOptions {
|
|
@@ -87,4 +89,21 @@ declare namespace OperatoChart {
|
|
|
87
89
|
color?: string
|
|
88
90
|
textStrokeColor?: string
|
|
89
91
|
}
|
|
92
|
+
|
|
93
|
+
export interface Annotation {
|
|
94
|
+
type: AnnotationType
|
|
95
|
+
x1: number
|
|
96
|
+
y1: number
|
|
97
|
+
x2?: number
|
|
98
|
+
y2?: number
|
|
99
|
+
stroke?: string
|
|
100
|
+
strokeThickness?: number
|
|
101
|
+
fill?: string
|
|
102
|
+
text?: string
|
|
103
|
+
horizontalAnchorPoint?: 'Left' | 'Center' | 'Right'
|
|
104
|
+
verticalAnchorPoint?: 'Top' | 'Center' | 'Bottom'
|
|
105
|
+
[key: string]: any
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type AnnotationType = 'line' | 'text' | 'box' | 'horizontalLine' | 'verticalLine' | 'custom' | undefined
|
|
90
109
|
}
|
package/translations/en.json
CHANGED
|
@@ -1,45 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
+
"label.animation": "animation effect",
|
|
3
|
+
"label.annotation-text": "text",
|
|
2
4
|
"label.axes": "axes",
|
|
3
|
-
"label.axis-max": "
|
|
4
|
-
"label.axis-max-auto": "
|
|
5
|
-
"label.axis-min": "
|
|
6
|
-
"label.axis-min-auto": "
|
|
7
|
-
"label.axis-step-size": "step",
|
|
5
|
+
"label.axis-max": "maximum value",
|
|
6
|
+
"label.axis-max-auto": "maximum value auto",
|
|
7
|
+
"label.axis-min": "minimum value",
|
|
8
|
+
"label.axis-min-auto": "minimum value auto",
|
|
9
|
+
"label.axis-step-size": "step size",
|
|
10
|
+
"label.bar-spacing": "bar spacing",
|
|
8
11
|
"label.border-width": "border width",
|
|
9
12
|
"label.chart": "chart",
|
|
13
|
+
"label.chart-annotation": "annotation",
|
|
14
|
+
"label.chart-annotation-type": "annotation type",
|
|
10
15
|
"label.chart-style": "chart style",
|
|
11
16
|
"label.chart-type": "chart type",
|
|
12
17
|
"label.color": "color",
|
|
13
|
-
"label.data-key": "data
|
|
18
|
+
"label.data-key": "data reference",
|
|
14
19
|
"label.display-tick": "display tick",
|
|
15
20
|
"label.fill": "fill",
|
|
16
21
|
"label.font-color": "font color",
|
|
17
|
-
"label.font-size": "
|
|
22
|
+
"label.font-size": "size",
|
|
18
23
|
"label.grid-line": "grid line",
|
|
24
|
+
"label.horizontal-anchor": "horizontal anchor",
|
|
19
25
|
"label.label": "label",
|
|
20
26
|
"label.legend": "legend",
|
|
21
|
-
"label.line-tension": "
|
|
22
|
-
"label.multi-axis": "
|
|
23
|
-
"label.point-shape": "point
|
|
24
|
-
"label.point-size": "point
|
|
27
|
+
"label.line-tension": "tension",
|
|
28
|
+
"label.multi-axis": "dual axis",
|
|
29
|
+
"label.point-shape": "point shape",
|
|
30
|
+
"label.point-size": "point size",
|
|
25
31
|
"label.position": "position",
|
|
26
32
|
"label.series": "series",
|
|
27
|
-
"label.stack-group": "stack group",
|
|
28
|
-
"label.bar-spacing": "bar spacing",
|
|
29
33
|
"label.series-type": "series type",
|
|
34
|
+
"label.stack-group": "stack group",
|
|
30
35
|
"label.stacked": "stacked",
|
|
36
|
+
"label.stroke-style": "line style",
|
|
37
|
+
"label.stroke-thickness": "line thickness",
|
|
31
38
|
"label.target-axis": "target axis",
|
|
32
39
|
"label.theme": "theme",
|
|
33
40
|
"label.tick-spacing": "tick spacing",
|
|
34
41
|
"label.title": "title",
|
|
35
42
|
"label.tooltip": "tooltip",
|
|
36
|
-
"label.value-display": "display
|
|
43
|
+
"label.value-display": "value display",
|
|
37
44
|
"label.value-format": "value format",
|
|
38
45
|
"label.value-prefix": "value prefix",
|
|
39
46
|
"label.value-suffix": "value suffix",
|
|
47
|
+
"label.vertical-anchor": "vertical anchor",
|
|
40
48
|
"label.x-axes": "X axes",
|
|
41
|
-
"label.y-2nd-axes": "Y
|
|
49
|
+
"label.y-2nd-axes": "Y secondary axes",
|
|
42
50
|
"label.y-axes": "Y axes",
|
|
43
|
-
"label.z-axes": "Z axes"
|
|
44
|
-
"label.animation": "animation"
|
|
51
|
+
"label.z-axes": "Z axes"
|
|
45
52
|
}
|
package/translations/ja.json
CHANGED
|
@@ -1,45 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
+
"label.animation": "アニメーション効果",
|
|
3
|
+
"label.annotation-text": "テキスト",
|
|
2
4
|
"label.axes": "軸",
|
|
3
5
|
"label.axis-max": "最大値",
|
|
4
6
|
"label.axis-max-auto": "最大値自動",
|
|
5
7
|
"label.axis-min": "最小値",
|
|
6
8
|
"label.axis-min-auto": "最小値自動",
|
|
7
9
|
"label.axis-step-size": "ステップ",
|
|
8
|
-
"label.
|
|
10
|
+
"label.bar-spacing": "バー間隔",
|
|
11
|
+
"label.border-width": "境界部分の幅",
|
|
9
12
|
"label.chart": "チャート",
|
|
10
|
-
"label.chart-
|
|
11
|
-
"label.chart-type": "
|
|
13
|
+
"label.chart-annotation": "アノテーション",
|
|
14
|
+
"label.chart-annotation-type": "アノテーションタイプ",
|
|
15
|
+
"label.chart-style": "チャートスタイル",
|
|
16
|
+
"label.chart-type": "チャートタイプ",
|
|
12
17
|
"label.color": "色",
|
|
13
18
|
"label.data-key": "データ参照",
|
|
14
|
-
"label.display-tick": "
|
|
15
|
-
"label.fill": "
|
|
16
|
-
"label.font-color": "
|
|
19
|
+
"label.display-tick": "目盛表示",
|
|
20
|
+
"label.fill": "塗り",
|
|
21
|
+
"label.font-color": "フォント色",
|
|
17
22
|
"label.font-size": "サイズ",
|
|
18
|
-
"label.grid-line": "
|
|
23
|
+
"label.grid-line": "グリッドライン",
|
|
24
|
+
"label.horizontal-anchor": "水平アンカー",
|
|
19
25
|
"label.label": "ラベル",
|
|
20
26
|
"label.legend": "凡例",
|
|
21
27
|
"label.line-tension": "緊張度",
|
|
22
28
|
"label.multi-axis": "2軸",
|
|
23
|
-
"label.point-shape": "
|
|
24
|
-
"label.point-size": "
|
|
29
|
+
"label.point-shape": "ポイント形状",
|
|
30
|
+
"label.point-size": "ポイントサイズ",
|
|
25
31
|
"label.position": "位置",
|
|
26
32
|
"label.series": "シリーズ",
|
|
27
|
-
"label.series-type": "
|
|
28
|
-
"label.stack-group": "
|
|
29
|
-
"label.bar-spacing": "バー間隔",
|
|
33
|
+
"label.series-type": "シリーズタイプ",
|
|
34
|
+
"label.stack-group": "積み重ねグループ",
|
|
30
35
|
"label.stacked": "積み重ね",
|
|
36
|
+
"label.stroke-style": "線スタイル",
|
|
37
|
+
"label.stroke-thickness": "線の太さ",
|
|
31
38
|
"label.target-axis": "対象軸",
|
|
32
39
|
"label.theme": "テーマ",
|
|
33
|
-
"label.tick-spacing": "
|
|
40
|
+
"label.tick-spacing": "目盛間隔",
|
|
34
41
|
"label.title": "タイトル",
|
|
35
42
|
"label.tooltip": "ツールチップ",
|
|
36
43
|
"label.value-display": "値表示",
|
|
37
|
-
"label.value-format": "
|
|
38
|
-
"label.value-prefix": "
|
|
39
|
-
"label.value-suffix": "
|
|
44
|
+
"label.value-format": "値形式",
|
|
45
|
+
"label.value-prefix": "値プレフィックス",
|
|
46
|
+
"label.value-suffix": "値サフィックス",
|
|
47
|
+
"label.vertical-anchor": "垂直アンカー",
|
|
40
48
|
"label.x-axes": "X軸",
|
|
41
49
|
"label.y-2nd-axes": "Y補助軸",
|
|
42
50
|
"label.y-axes": "Y軸",
|
|
43
|
-
"label.z-axes": "Z軸"
|
|
44
|
-
"label.animation": "アニメーション"
|
|
51
|
+
"label.z-axes": "Z軸"
|
|
45
52
|
}
|
package/translations/ko.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
+
"label.animation": "애니메이션 효과",
|
|
3
|
+
"label.annotation-text": "텍스트",
|
|
2
4
|
"label.axes": "축",
|
|
3
5
|
"label.axis-max": "최대값",
|
|
4
6
|
"label.axis-max-auto": "최대값 자동",
|
|
5
7
|
"label.axis-min": "최소값",
|
|
6
8
|
"label.axis-min-auto": "최소값 자동",
|
|
7
9
|
"label.axis-step-size": "스텝",
|
|
10
|
+
"label.bar-spacing": "막대 간격",
|
|
8
11
|
"label.border-width": "경계부분 넓이",
|
|
9
12
|
"label.chart": "차트",
|
|
13
|
+
"label.chart-annotation": "어노테이션",
|
|
14
|
+
"label.chart-annotation-type": "어노테이션 타입",
|
|
10
15
|
"label.chart-style": "차트 스타일",
|
|
11
16
|
"label.chart-type": "차트 유형",
|
|
12
17
|
"label.color": "색상",
|
|
@@ -16,6 +21,7 @@
|
|
|
16
21
|
"label.font-color": "폰트 색상",
|
|
17
22
|
"label.font-size": "크기",
|
|
18
23
|
"label.grid-line": "그리드 라인",
|
|
24
|
+
"label.horizontal-anchor": "수평 기준점",
|
|
19
25
|
"label.label": "라벨",
|
|
20
26
|
"label.legend": "범례",
|
|
21
27
|
"label.line-tension": "긴장도",
|
|
@@ -26,20 +32,21 @@
|
|
|
26
32
|
"label.series": "시리즈",
|
|
27
33
|
"label.series-type": "시리즈 유형",
|
|
28
34
|
"label.stack-group": "누적 그룹",
|
|
29
|
-
"label.bar-spacing": "막대 간격",
|
|
30
35
|
"label.stacked": "누적",
|
|
36
|
+
"label.stroke-style": "선 스타일",
|
|
37
|
+
"label.stroke-thickness": "선 두께",
|
|
31
38
|
"label.target-axis": "대상 축",
|
|
39
|
+
"label.theme": "테마",
|
|
32
40
|
"label.tick-spacing": "눈금 간격",
|
|
33
41
|
"label.title": "제목",
|
|
34
|
-
"label.theme": "테마",
|
|
35
42
|
"label.tooltip": "툴팁",
|
|
36
43
|
"label.value-display": "값 표시",
|
|
37
44
|
"label.value-format": "값 형식",
|
|
38
45
|
"label.value-prefix": "값 접두사",
|
|
39
46
|
"label.value-suffix": "값 접미사",
|
|
47
|
+
"label.vertical-anchor": "수직 기준점",
|
|
40
48
|
"label.x-axes": "X 축",
|
|
41
49
|
"label.y-2nd-axes": "Y 보조축",
|
|
42
50
|
"label.y-axes": "Y 축",
|
|
43
|
-
"label.z-axes": "Z 축"
|
|
44
|
-
"label.animation": "애니메이션 효과"
|
|
51
|
+
"label.z-axes": "Z 축"
|
|
45
52
|
}
|
package/translations/ms.json
CHANGED
|
@@ -1,45 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
+
"label.animation": "kesan animasi",
|
|
3
|
+
"label.annotation-text": "teks",
|
|
2
4
|
"label.axes": "paksi",
|
|
3
|
-
"label.axis-max": "
|
|
4
|
-
"label.axis-max-auto": "
|
|
5
|
-
"label.axis-min": "
|
|
6
|
-
"label.axis-min-auto": "
|
|
7
|
-
"label.axis-step-size": "
|
|
5
|
+
"label.axis-max": "nilai maksimum",
|
|
6
|
+
"label.axis-max-auto": "nilai maksimum auto",
|
|
7
|
+
"label.axis-min": "nilai minimum",
|
|
8
|
+
"label.axis-min-auto": "nilai minimum auto",
|
|
9
|
+
"label.axis-step-size": "langkah",
|
|
10
|
+
"label.bar-spacing": "jarak bar",
|
|
8
11
|
"label.border-width": "lebar sempadan",
|
|
9
12
|
"label.chart": "carta",
|
|
13
|
+
"label.chart-annotation": "anotasi",
|
|
14
|
+
"label.chart-annotation-type": "jenis anotasi",
|
|
10
15
|
"label.chart-style": "gaya carta",
|
|
11
16
|
"label.chart-type": "jenis carta",
|
|
12
17
|
"label.color": "warna",
|
|
13
|
-
"label.data-key": "
|
|
14
|
-
"label.display-tick": "
|
|
15
|
-
"label.fill": "
|
|
18
|
+
"label.data-key": "rujukan data",
|
|
19
|
+
"label.display-tick": "paparan tanda",
|
|
20
|
+
"label.fill": "isian",
|
|
16
21
|
"label.font-color": "warna fon",
|
|
17
|
-
"label.font-size": "saiz
|
|
22
|
+
"label.font-size": "saiz",
|
|
18
23
|
"label.grid-line": "garis grid",
|
|
24
|
+
"label.horizontal-anchor": "jangkar mendatar",
|
|
19
25
|
"label.label": "label",
|
|
20
26
|
"label.legend": "legenda",
|
|
21
|
-
"label.line-tension": "ketegangan
|
|
22
|
-
"label.multi-axis": "paksi
|
|
27
|
+
"label.line-tension": "ketegangan",
|
|
28
|
+
"label.multi-axis": "2 paksi",
|
|
23
29
|
"label.point-shape": "bentuk titik",
|
|
24
30
|
"label.point-size": "saiz titik",
|
|
25
31
|
"label.position": "kedudukan",
|
|
26
32
|
"label.series": "siri",
|
|
27
|
-
"label.stack-group": "kumpulan timbunan",
|
|
28
|
-
"label.bar-spacing": "jarak bar",
|
|
29
33
|
"label.series-type": "jenis siri",
|
|
30
|
-
"label.
|
|
34
|
+
"label.stack-group": "kumpulan terkumpul",
|
|
35
|
+
"label.stacked": "bertingkat",
|
|
36
|
+
"label.stroke-style": "gaya garis",
|
|
37
|
+
"label.stroke-thickness": "ketebalan garis",
|
|
31
38
|
"label.target-axis": "paksi sasaran",
|
|
32
39
|
"label.theme": "tema",
|
|
33
40
|
"label.tick-spacing": "jarak tanda",
|
|
34
41
|
"label.title": "tajuk",
|
|
35
42
|
"label.tooltip": "tooltip",
|
|
36
|
-
"label.value-display": "
|
|
43
|
+
"label.value-display": "paparan nilai",
|
|
37
44
|
"label.value-format": "format nilai",
|
|
38
45
|
"label.value-prefix": "awalan nilai",
|
|
39
46
|
"label.value-suffix": "akhiran nilai",
|
|
47
|
+
"label.vertical-anchor": "jangkar menegak",
|
|
40
48
|
"label.x-axes": "paksi X",
|
|
41
|
-
"label.y-2nd-axes": "paksi Y
|
|
49
|
+
"label.y-2nd-axes": "paksi Y kedua",
|
|
42
50
|
"label.y-axes": "paksi Y",
|
|
43
|
-
"label.z-axes": "paksi Z"
|
|
44
|
-
"label.animation": "animasi"
|
|
51
|
+
"label.z-axes": "paksi Z"
|
|
45
52
|
}
|
package/translations/zh.json
CHANGED
|
@@ -1,45 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
+
"label.animation": "动画效果",
|
|
3
|
+
"label.annotation-text": "文本",
|
|
2
4
|
"label.axes": "轴",
|
|
3
|
-
"label.axis-max": "
|
|
4
|
-
"label.axis-max-auto": "
|
|
5
|
-
"label.axis-min": "
|
|
6
|
-
"label.axis-min-auto": "
|
|
7
|
-
"label.axis-step-size": "
|
|
8
|
-
"label.
|
|
9
|
-
"label.
|
|
10
|
-
"label.chart
|
|
5
|
+
"label.axis-max": "最大值",
|
|
6
|
+
"label.axis-max-auto": "最大值自动",
|
|
7
|
+
"label.axis-min": "最小值",
|
|
8
|
+
"label.axis-min-auto": "最小值自动",
|
|
9
|
+
"label.axis-step-size": "步长",
|
|
10
|
+
"label.bar-spacing": "条形间距",
|
|
11
|
+
"label.border-width": "边框宽度",
|
|
12
|
+
"label.chart": "图表",
|
|
13
|
+
"label.chart-annotation": "注释",
|
|
14
|
+
"label.chart-annotation-type": "注释类型",
|
|
15
|
+
"label.chart-style": "图表样式",
|
|
11
16
|
"label.chart-type": "图表类型",
|
|
12
17
|
"label.color": "颜色",
|
|
13
|
-
"label.data-key": "
|
|
18
|
+
"label.data-key": "数据引用",
|
|
14
19
|
"label.display-tick": "显示刻度",
|
|
15
20
|
"label.fill": "填充",
|
|
16
21
|
"label.font-color": "字体颜色",
|
|
17
22
|
"label.font-size": "大小",
|
|
18
23
|
"label.grid-line": "网格线",
|
|
24
|
+
"label.horizontal-anchor": "水平锚点",
|
|
19
25
|
"label.label": "标签",
|
|
20
|
-
"label.legend": "
|
|
21
|
-
"label.line-tension": "
|
|
22
|
-
"label.multi-axis": "
|
|
26
|
+
"label.legend": "图例",
|
|
27
|
+
"label.line-tension": "张力",
|
|
28
|
+
"label.multi-axis": "双轴",
|
|
23
29
|
"label.point-shape": "点形状",
|
|
24
30
|
"label.point-size": "点大小",
|
|
25
31
|
"label.position": "位置",
|
|
26
32
|
"label.series": "系列",
|
|
27
33
|
"label.series-type": "系列类型",
|
|
28
34
|
"label.stack-group": "堆叠组",
|
|
29
|
-
"label.bar-spacing": "柱间距",
|
|
30
35
|
"label.stacked": "堆叠",
|
|
31
|
-
"label.
|
|
36
|
+
"label.stroke-style": "线条样式",
|
|
37
|
+
"label.stroke-thickness": "线条厚度",
|
|
38
|
+
"label.target-axis": "目标轴",
|
|
39
|
+
"label.theme": "主题",
|
|
32
40
|
"label.tick-spacing": "刻度间距",
|
|
33
41
|
"label.title": "标题",
|
|
34
|
-
"label.theme": "主题",
|
|
35
42
|
"label.tooltip": "工具提示",
|
|
36
|
-
"label.value-display": "
|
|
43
|
+
"label.value-display": "值显示",
|
|
37
44
|
"label.value-format": "值格式",
|
|
38
|
-
"label.value-prefix": "
|
|
39
|
-
"label.value-suffix": "
|
|
40
|
-
"label.
|
|
41
|
-
"label.
|
|
42
|
-
"label.y-axes": "Y
|
|
43
|
-
"label.
|
|
44
|
-
"label.
|
|
45
|
+
"label.value-prefix": "值前缀",
|
|
46
|
+
"label.value-suffix": "值后缀",
|
|
47
|
+
"label.vertical-anchor": "垂直锚点",
|
|
48
|
+
"label.x-axes": "X 轴",
|
|
49
|
+
"label.y-2nd-axes": "Y 辅助轴",
|
|
50
|
+
"label.y-axes": "Y 轴",
|
|
51
|
+
"label.z-axes": "Z 轴"
|
|
45
52
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import '@material/web/icon/icon.js';
|
|
2
|
-
import '@operato/i18n/ox-i18n.js';
|
|
3
|
-
import { MdIcon } from '@material/web/icon/icon.js';
|
|
4
|
-
import { InputChartAbstract } from './input-chart-abstract';
|
|
5
|
-
export declare class InputChartMultiSeriesAbstract extends InputChartAbstract {
|
|
6
|
-
static styles: import("lit").CSSResult[];
|
|
7
|
-
tabs: HTMLElement;
|
|
8
|
-
tabNavLeftButton: MdIcon;
|
|
9
|
-
tabNavRightButton: MdIcon;
|
|
10
|
-
get tabContainer(): HTMLElement | null | undefined;
|
|
11
|
-
firstUpdated(): void;
|
|
12
|
-
subTemplate(): import("lit-html").TemplateResult<1>;
|
|
13
|
-
multiSeriesTabTemplate(): import("lit-html").TemplateResult<1>;
|
|
14
|
-
_onTabScroll(e: Event): void;
|
|
15
|
-
_onTabScrollNavLeft(e: Event): void;
|
|
16
|
-
_onTabScrollNavRight(e: Event): void;
|
|
17
|
-
}
|