@operato/chart 10.29.81 → 10.29.84

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.
Files changed (46) hide show
  1. package/dist/src/report/chart-math.d.ts +34 -0
  2. package/dist/src/report/chart-math.js +71 -0
  3. package/dist/src/report/report-charts.d.ts +118 -0
  4. package/dist/src/report/report-charts.js +573 -0
  5. package/dist/stories/common.d.ts +8 -0
  6. package/dist/stories/common.js +78 -0
  7. package/dist/stories/ox-chart-annotations.stories.d.ts +26 -0
  8. package/dist/stories/ox-chart-annotations.stories.js +267 -0
  9. package/dist/stories/ox-input-chart-bar.stories.d.ts +26 -0
  10. package/dist/stories/ox-input-chart-bar.stories.js +173 -0
  11. package/dist/stories/ox-input-chart-doughnut.stories.d.ts +28 -0
  12. package/dist/stories/ox-input-chart-doughnut.stories.js +115 -0
  13. package/dist/stories/ox-input-chart-hbar.stories.d.ts +26 -0
  14. package/dist/stories/ox-input-chart-hbar.stories.js +174 -0
  15. package/dist/stories/ox-input-chart-line.stories.d.ts +26 -0
  16. package/dist/stories/ox-input-chart-line.stories.js +184 -0
  17. package/dist/stories/ox-input-chart-pie.stories.d.ts +28 -0
  18. package/dist/stories/ox-input-chart-pie.stories.js +115 -0
  19. package/dist/stories/ox-input-chart-polar-area.stories.d.ts +28 -0
  20. package/dist/stories/ox-input-chart-polar-area.stories.js +115 -0
  21. package/dist/stories/ox-input-chart-radar.stories.d.ts +28 -0
  22. package/dist/stories/ox-input-chart-radar.stories.js +126 -0
  23. package/dist/stories/ox-input-chart-timeseries.stories.d.ts +27 -0
  24. package/dist/stories/ox-input-chart-timeseries.stories.js +281 -0
  25. package/package.json +31 -7
  26. package/CHANGELOG.md +0 -2823
  27. package/dist/src/chartjs/config-converter.js.map +0 -1
  28. package/dist/src/chartjs/ox-chart-js.js.map +0 -1
  29. package/dist/src/editors/configurer.js.map +0 -1
  30. package/dist/src/editors/index.js.map +0 -1
  31. package/dist/src/editors/input-chart-abstract.js.map +0 -1
  32. package/dist/src/editors/input-chart-styles.js.map +0 -1
  33. package/dist/src/editors/ox-input-chart-hbar.js.map +0 -1
  34. package/dist/src/editors/ox-input-chart-mixed.js.map +0 -1
  35. package/dist/src/editors/ox-input-chart-pie.js.map +0 -1
  36. package/dist/src/editors/ox-input-chart-radar.js.map +0 -1
  37. package/dist/src/editors/ox-input-chart-timeseries.js.map +0 -1
  38. package/dist/src/editors/ox-property-editor-chart.js.map +0 -1
  39. package/dist/src/editors/templates/annotations.js.map +0 -1
  40. package/dist/src/editors/templates/display-value.js.map +0 -1
  41. package/dist/src/editors/templates/series.js.map +0 -1
  42. package/dist/src/index.js.map +0 -1
  43. package/dist/src/progress/ox-progress-circle.js.map +0 -1
  44. package/dist/src/scichart/ox-scichart.js.map +0 -1
  45. package/dist/src/scichart/scichart-builder.js.map +0 -1
  46. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,267 @@
1
+ import { html } from 'lit';
2
+ import '../src/editors/ox-input-chart-timeseries.js';
3
+ import '../src/scichart/ox-scichart.js';
4
+ import '../src/chartjs/ox-chart-js.js';
5
+ import { data, getDefaultChartConfig } from './common.js';
6
+ export default {
7
+ title: 'ox-chart-annotations',
8
+ component: 'ox-chart-annotations',
9
+ argTypes: {
10
+ value: { control: 'object' }
11
+ }
12
+ };
13
+ // Toggle 스위치를 위한 상태 변화 데이터 생성
14
+ const statusData = data.map((item, index) => {
15
+ // 10개 데이터마다 상태 변경 (false -> true)
16
+ const status = index % 10 >= 5;
17
+ return {
18
+ ...item,
19
+ status // false/true 상태값 추가
20
+ };
21
+ });
22
+ // 특정 임계값을 초과했는지 여부를 나타내는 데이터 추가
23
+ const thresholdData = data.map(item => {
24
+ const threshold = 25; // 임계값
25
+ const isExceeded = item.count !== null && item.count > threshold;
26
+ return {
27
+ ...item,
28
+ isExceeded // 임계값 초과 여부
29
+ };
30
+ });
31
+ function showCharts(e) {
32
+ const target = e.currentTarget;
33
+ const config = target.value;
34
+ const scichart = document.querySelector('#scichart');
35
+ const chartjs = document.querySelector('#chartjs');
36
+ if (scichart) {
37
+ ;
38
+ scichart.config = config;
39
+ }
40
+ if (chartjs) {
41
+ ;
42
+ chartjs.config = config;
43
+ }
44
+ }
45
+ const Template = ({ value }) => html `
46
+ <link
47
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
48
+ rel="stylesheet"
49
+ />
50
+ <link
51
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
52
+ rel="stylesheet"
53
+ />
54
+ <link
55
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
56
+ rel="stylesheet"
57
+ />
58
+
59
+ <link href="/themes/light.css" rel="stylesheet" />
60
+ <link href="/themes/dark.css" rel="stylesheet" />
61
+ <link href="/themes/spacing.css" rel="stylesheet" />
62
+
63
+ <style>
64
+ .desc {
65
+ color: var(--md-sys-color-background);
66
+ background-color: var(--md-sys-color-on-background);
67
+ padding: var(--spacing-small);
68
+ }
69
+
70
+ .container {
71
+ display: flex;
72
+ flex-direction: row;
73
+ overflow-y: auto;
74
+ padding: var(--spacing-medium);
75
+ gap: var(--spacing-medium);
76
+
77
+ color: var(--md-sys-color-on-background);
78
+ background-color: var(--md-sys-color-background);
79
+ }
80
+
81
+ #editor {
82
+ width: 300px;
83
+ }
84
+
85
+ #charts {
86
+ flex: 1;
87
+ display: flex;
88
+ flex-direction: column;
89
+ gap: var(--spacing-medium);
90
+ }
91
+
92
+ #scichart,
93
+ #chartjs {
94
+ flex: 1;
95
+ height: 400px;
96
+ }
97
+ </style>
98
+
99
+ <div class="desc">
100
+ <h3>아노테이션 데이터 연동 기능</h3>
101
+ <p>1. 수직선 (verticalLine): 데이터가 falsy에서 truthy로 변하는 지점에 자동으로 수직선 표시</p>
102
+ <p>2. 텍스트 (text): 데이터 값을 그대로 텍스트로 표시</p>
103
+ </div>
104
+
105
+ <div class="container">
106
+ <ox-input-chart-timeseries
107
+ chart-type="line"
108
+ id="editor"
109
+ .value=${value}
110
+ @change=${showCharts}
111
+ ></ox-input-chart-timeseries>
112
+ <div id="charts">
113
+ <h4>SciChart</h4>
114
+ <ox-scichart id="scichart" .data=${statusData} attr-x="timestamp" attr-y="count"></ox-scichart>
115
+ <h4>Chart.js</h4>
116
+ <ox-chart-js id="chartjs" .data=${statusData} .config=${value}></ox-chart-js>
117
+ </div>
118
+ </div>
119
+ `;
120
+ // 상태 변화 감지를 위한 수직선 아노테이션 예제
121
+ export const StatusChangeAnnotation = Template.bind({});
122
+ StatusChangeAnnotation.args = {
123
+ value: {
124
+ ...getDefaultChartConfig('line'),
125
+ data: {
126
+ datasets: [
127
+ {
128
+ dataKey: 'count',
129
+ label: '카운트',
130
+ type: 'line',
131
+ color: 'rgba(54, 162, 235, 1)',
132
+ borderWidth: 2,
133
+ fill: false
134
+ }
135
+ ],
136
+ labelDataKey: 'timestamp'
137
+ },
138
+ options: {
139
+ scales: {
140
+ xAxes: [
141
+ {
142
+ axisTitle: '시간',
143
+ ticks: { beginAtZero: true }
144
+ }
145
+ ],
146
+ yAxes: [
147
+ {
148
+ axisTitle: '값',
149
+ ticks: { beginAtZero: true }
150
+ }
151
+ ]
152
+ },
153
+ legend: { display: true },
154
+ annotations: [
155
+ {
156
+ type: 'verticalLine',
157
+ dataKey: 'status', // status 필드가 falsy에서 truthy로 변할 때 수직선 표시
158
+ stroke: '#FF0000',
159
+ text: 'AAAA',
160
+ strokeThickness: 2,
161
+ horizontalAnchorPoint: 'Left',
162
+ verticalAnchorPoint: 'Bottom'
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ };
168
+ // 데이터 값을 텍스트로 표시하는 아노테이션 예제
169
+ export const DataValueTextAnnotation = Template.bind({});
170
+ DataValueTextAnnotation.args = {
171
+ value: {
172
+ ...getDefaultChartConfig('line'),
173
+ data: {
174
+ datasets: [
175
+ {
176
+ dataKey: 'count',
177
+ label: '카운트',
178
+ type: 'line',
179
+ color: 'rgba(54, 162, 235, 1)',
180
+ borderWidth: 2,
181
+ fill: false
182
+ }
183
+ ],
184
+ labelDataKey: 'timestamp'
185
+ },
186
+ options: {
187
+ scales: {
188
+ xAxes: [
189
+ {
190
+ axisTitle: '시간',
191
+ ticks: { beginAtZero: true }
192
+ }
193
+ ],
194
+ yAxes: [
195
+ {
196
+ axisTitle: '값',
197
+ ticks: { beginAtZero: true }
198
+ }
199
+ ]
200
+ },
201
+ legend: { display: true },
202
+ annotations: [
203
+ {
204
+ type: 'text',
205
+ dataKey: 'count', // count 필드의 값을 텍스트로 표시
206
+ stroke: '#0000FF',
207
+ fontSize: 12
208
+ }
209
+ ]
210
+ }
211
+ }
212
+ };
213
+ // 상태 변화 및 데이터 값을 모두 표시하는 복합 예제
214
+ export const CombinedAnnotations = Template.bind({});
215
+ CombinedAnnotations.args = {
216
+ value: {
217
+ ...getDefaultChartConfig('line'),
218
+ data: {
219
+ datasets: [
220
+ {
221
+ dataKey: 'count',
222
+ label: '카운트',
223
+ type: 'line',
224
+ color: 'rgba(54, 162, 235, 1)',
225
+ borderWidth: 2,
226
+ fill: false
227
+ }
228
+ ],
229
+ labelDataKey: 'timestamp'
230
+ },
231
+ options: {
232
+ scales: {
233
+ xAxes: [
234
+ {
235
+ axisTitle: '시간',
236
+ ticks: { beginAtZero: true }
237
+ }
238
+ ],
239
+ yAxes: [
240
+ {
241
+ axisTitle: '값',
242
+ ticks: { beginAtZero: true }
243
+ }
244
+ ]
245
+ },
246
+ legend: { display: true },
247
+ annotations: [
248
+ {
249
+ type: 'verticalLine',
250
+ dataKey: 'status', // status 필드가 falsy에서 truthy로 변할 때 수직선 표시
251
+ stroke: '#FF0000',
252
+ text: 'AAAA',
253
+ strokeThickness: 2,
254
+ horizontalAnchorPoint: 'Left',
255
+ verticalAnchorPoint: 'Bottom'
256
+ },
257
+ {
258
+ type: 'text',
259
+ dataKey: 'count', // count 필드의 값을 텍스트로 표시
260
+ stroke: '#0000FF',
261
+ fontSize: 10
262
+ }
263
+ ]
264
+ }
265
+ }
266
+ };
267
+ //# sourceMappingURL=ox-chart-annotations.stories.js.map
@@ -0,0 +1,26 @@
1
+ import { TemplateResult } from 'lit';
2
+ import '../src/editors/ox-input-chart-mixed.js';
3
+ import '../src/chartjs/ox-chart-js.js';
4
+ import '../src/scichart/ox-scichart.js';
5
+ import type { OperatoChart } from '../types/types';
6
+ declare const _default: {
7
+ title: string;
8
+ component: string;
9
+ argTypes: {
10
+ value: {
11
+ control: string;
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ interface Story<T> {
17
+ (args: T): TemplateResult;
18
+ args?: Partial<T>;
19
+ argTypes?: Record<string, unknown>;
20
+ }
21
+ interface ArgTypes {
22
+ value: OperatoChart.ChartConfig;
23
+ }
24
+ export declare const Default: Story<ArgTypes>;
25
+ export declare const WithData: Story<ArgTypes>;
26
+ export declare const MultiAxis: Story<ArgTypes>;
@@ -0,0 +1,173 @@
1
+ import { html } from 'lit';
2
+ import '../src/editors/ox-input-chart-mixed.js';
3
+ import '../src/chartjs/ox-chart-js.js';
4
+ import '../src/scichart/ox-scichart.js';
5
+ import { data, getDefaultChartConfig } from './common.js';
6
+ export default {
7
+ title: 'ox-input-chart-mixed for bar',
8
+ component: 'ox-input-chart-mixed',
9
+ argTypes: {
10
+ value: { control: 'object' }
11
+ }
12
+ };
13
+ function showCharts(e) {
14
+ const target = e.currentTarget;
15
+ const config = target.value;
16
+ const chartjs = document.querySelector('#chartjs');
17
+ if (chartjs) {
18
+ ;
19
+ chartjs.config = { ...config };
20
+ }
21
+ const scichart = document.querySelector('#scichart');
22
+ if (scichart) {
23
+ ;
24
+ scichart.config = config;
25
+ }
26
+ }
27
+ const Template = ({ value }) => html `
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
36
+ <link
37
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
38
+ rel="stylesheet"
39
+ />
40
+
41
+ <link href="/themes/light.css" rel="stylesheet" />
42
+ <link href="/themes/dark.css" rel="stylesheet" />
43
+ <link href="/themes/spacing.css" rel="stylesheet" />
44
+
45
+ <style>
46
+ .desc {
47
+ color: var(--md-sys-color-background);
48
+ background-color: var(--md-sys-color-on-background);
49
+ padding: var(--spacing-small);
50
+ }
51
+
52
+ .container {
53
+ display: flex;
54
+ flex-direction: row;
55
+ overflow-y: auto;
56
+ padding: var(--spacing-medium);
57
+ gap: var(--spacing-medium);
58
+
59
+ color: var(--md-sys-color-on-background);
60
+ background-color: var(--md-sys-color-background);
61
+ }
62
+
63
+ #editor {
64
+ width: 300px;
65
+ }
66
+
67
+ #charts {
68
+ flex: 1;
69
+
70
+ display: flex;
71
+ flex-direction: column;
72
+ gap: var(--spacing-medium);
73
+ }
74
+
75
+ #chartjs {
76
+ flex: 1;
77
+ }
78
+
79
+ #scichart {
80
+ flex: 1;
81
+ }
82
+ </style>
83
+
84
+ <div class="desc">Type 'count' or 'average' for series dataKey, type 'timestamp' for axis's dataKey</div>
85
+
86
+ <div class="container">
87
+ <ox-input-chart-mixed chart-type="bar" id="editor" .value=${value} @change=${showCharts}></ox-input-chart-mixed>
88
+ <div id="charts">
89
+ <ox-chart-js id="chartjs" .data=${data}></ox-chart-js>
90
+ <ox-scichart id="scichart"></ox-scichart>
91
+ </div>
92
+ </div>
93
+ `;
94
+ export const Default = Template.bind({});
95
+ Default.args = {
96
+ value: {
97
+ ...getDefaultChartConfig('bar')
98
+ }
99
+ };
100
+ export const WithData = Template.bind({});
101
+ WithData.args = {
102
+ value: {
103
+ ...getDefaultChartConfig('bar'),
104
+ data: {
105
+ datasets: [
106
+ {
107
+ label: 'Bar Series',
108
+ type: 'bar',
109
+ dataKey: 'count',
110
+ backgroundColor: 'rgba(255, 99, 132, 0.2)',
111
+ borderColor: 'rgba(255, 99, 132, 1)',
112
+ borderWidth: 1
113
+ },
114
+ {
115
+ label: 'Line Series',
116
+ type: 'line',
117
+ dataKey: 'average',
118
+ borderColor: 'rgba(54, 162, 235, 1)',
119
+ borderWidth: 1,
120
+ fill: false,
121
+ lineTension: 0.4,
122
+ pointStyle: 'circle',
123
+ pointRadius: 3
124
+ }
125
+ ],
126
+ labelDataKey: 'timestamp'
127
+ },
128
+ options: {
129
+ scales: {
130
+ xAxes: [{ ticks: { beginAtZero: true } }],
131
+ yAxes: [{ ticks: { beginAtZero: true } }]
132
+ },
133
+ legend: { display: true }
134
+ }
135
+ }
136
+ };
137
+ export const MultiAxis = Template.bind({});
138
+ MultiAxis.args = {
139
+ value: {
140
+ ...getDefaultChartConfig('bar'),
141
+ options: {
142
+ ...getDefaultChartConfig('bar').options,
143
+ multiAxis: true
144
+ },
145
+ data: {
146
+ datasets: [
147
+ {
148
+ label: 'Bar Series',
149
+ type: 'bar',
150
+ dataKey: 'count',
151
+ backgroundColor: 'rgba(255, 99, 132, 0.2)',
152
+ borderColor: 'rgba(255, 99, 132, 1)',
153
+ borderWidth: 1,
154
+ yAxisID: 'left'
155
+ },
156
+ {
157
+ label: 'Line Series',
158
+ type: 'line',
159
+ dataKey: 'average',
160
+ borderColor: 'rgba(54, 162, 235, 1)',
161
+ borderWidth: 1,
162
+ fill: false,
163
+ lineTension: 0.4,
164
+ pointStyle: 'circle',
165
+ pointRadius: 3,
166
+ yAxisID: 'right'
167
+ }
168
+ ],
169
+ labelDataKey: 'timestamp'
170
+ }
171
+ }
172
+ };
173
+ //# sourceMappingURL=ox-input-chart-bar.stories.js.map
@@ -0,0 +1,28 @@
1
+ import { TemplateResult } from 'lit';
2
+ import '../src/editors/ox-input-chart-pie.js';
3
+ import '../src/chartjs/ox-chart-js.js';
4
+ import type { OperatoChart } from '../types/types';
5
+ declare const _default: {
6
+ title: string;
7
+ component: string;
8
+ argTypes: {
9
+ value: {
10
+ control: string;
11
+ };
12
+ currentSeriesIndex: {
13
+ control: string;
14
+ };
15
+ };
16
+ };
17
+ export default _default;
18
+ interface Story<T> {
19
+ (args: T): TemplateResult;
20
+ args?: Partial<T>;
21
+ argTypes?: Record<string, unknown>;
22
+ }
23
+ interface ArgTypes {
24
+ value: OperatoChart.ChartConfig;
25
+ currentSeriesIndex: number;
26
+ }
27
+ export declare const Default: Story<ArgTypes>;
28
+ export declare const WithData: Story<ArgTypes>;
@@ -0,0 +1,115 @@
1
+ import { html } from 'lit';
2
+ import '../src/editors/ox-input-chart-pie.js';
3
+ import '../src/chartjs/ox-chart-js.js';
4
+ import { data, getDefaultChartConfig } from './common.js';
5
+ export default {
6
+ title: 'ox-input-chart-pie for doughnut',
7
+ component: 'ox-input-chart-pie',
8
+ argTypes: {
9
+ value: { control: 'object' },
10
+ currentSeriesIndex: { control: 'number' }
11
+ }
12
+ };
13
+ const Template = ({ value, currentSeriesIndex }) => html `
14
+ <link
15
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
16
+ rel="stylesheet"
17
+ />
18
+ <link
19
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
20
+ rel="stylesheet"
21
+ />
22
+ <link
23
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
24
+ rel="stylesheet"
25
+ />
26
+
27
+ <link href="/themes/light.css" rel="stylesheet" />
28
+ <link href="/themes/dark.css" rel="stylesheet" />
29
+ <link href="/themes/spacing.css" rel="stylesheet" />
30
+
31
+ <style>
32
+ .container {
33
+ width: 100%;
34
+ height: 100%;
35
+
36
+ display: flex;
37
+ flex-direction: row;
38
+ overflow-y: auto;
39
+ padding: var(--spacing-medium);
40
+ }
41
+
42
+ .container.dark {
43
+ background-color: black;
44
+ }
45
+
46
+ #editor {
47
+ width: 300px;
48
+ }
49
+
50
+ #chart {
51
+ flex: 1;
52
+ }
53
+ </style>
54
+
55
+ <div style="background-color: black; color: white;">
56
+ Type 'count' or 'average' for series dataKey, type 'timestamp' for axis's dataKey
57
+ </div>
58
+
59
+ <div class="container light">
60
+ <ox-input-chart-pie
61
+ chart-type="doughnut"
62
+ id="editor"
63
+ .value=${value}
64
+ @change=${(e) => {
65
+ const target = e.currentTarget;
66
+ const config = target.value;
67
+ const chartjs = document.querySelector('#chartjs');
68
+ if (chartjs) {
69
+ ;
70
+ chartjs.config = { ...config };
71
+ }
72
+ const container = document.querySelector('.container');
73
+ if (container) {
74
+ const theme = config.options.theme;
75
+ if (theme == 'dark') {
76
+ container.classList.remove('light');
77
+ container.classList.add('dark');
78
+ }
79
+ else {
80
+ container.classList.remove('dark');
81
+ container.classList.add('light');
82
+ }
83
+ }
84
+ }}
85
+ ></ox-input-chart-pie>
86
+ <ox-chart-js id="chartjs" .data=${data}></ox-chart-js>
87
+ </div>
88
+ `;
89
+ export const Default = Template.bind({});
90
+ Default.args = {
91
+ currentSeriesIndex: 0
92
+ };
93
+ export const WithData = Template.bind({});
94
+ WithData.args = {
95
+ value: {
96
+ ...getDefaultChartConfig('doughnut'),
97
+ data: {
98
+ datasets: [
99
+ {
100
+ label: 'Doughnut Series',
101
+ data: [10, 20, 30],
102
+ backgroundColor: ['rgba(255, 99, 132, 0.2)', 'rgba(54, 162, 235, 0.2)', 'rgba(75, 192, 192, 0.2)'],
103
+ borderColor: ['rgba(255, 99, 132, 1)', 'rgba(54, 162, 235, 1)', 'rgba(75, 192, 192, 1)'],
104
+ borderWidth: 1
105
+ }
106
+ ],
107
+ labelDataKey: 'labels'
108
+ },
109
+ options: {
110
+ legend: { display: true }
111
+ }
112
+ },
113
+ currentSeriesIndex: 0
114
+ };
115
+ //# sourceMappingURL=ox-input-chart-doughnut.stories.js.map
@@ -0,0 +1,26 @@
1
+ import { TemplateResult } from 'lit';
2
+ import '../src/editors/ox-input-chart-hbar.js';
3
+ import '../src/chartjs/ox-chart-js.js';
4
+ import '../src/scichart/ox-scichart.js';
5
+ import type { OperatoChart } from '../types/types';
6
+ declare const _default: {
7
+ title: string;
8
+ component: string;
9
+ argTypes: {
10
+ value: {
11
+ control: string;
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ interface Story<T> {
17
+ (args: T): TemplateResult;
18
+ args?: Partial<T>;
19
+ argTypes?: Record<string, unknown>;
20
+ }
21
+ interface ArgTypes {
22
+ value: OperatoChart.ChartConfig;
23
+ }
24
+ export declare const Default: Story<ArgTypes>;
25
+ export declare const WithData: Story<ArgTypes>;
26
+ export declare const MultiAxis: Story<ArgTypes>;