Skip to content

Commit 4862649

Browse files
committed
fixup! feat(chart): add new component
1 parent 879680f commit 4862649

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/chart/chart.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ export class Chart {
7272
*/
7373
@Prop({ reflect: true })
7474
public type?:
75+
| 'area'
7576
| 'bar'
76-
| 'stacked-bar'
77-
| 'pie'
7877
| 'doughnut'
79-
| 'scatter'
78+
| 'line'
79+
| 'pie'
8080
| 'ring'
81-
| 'area'
82-
| 'line' = 'stacked-bar';
81+
| 'scatter'
82+
| 'stacked-bar' = 'stacked-bar';
8383

8484
/**
8585
* Defines whether the chart is intended to be displayed wide or tall.

src/components/chart/examples/chart-creative-styling.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
/**
99
* Creative styling
1010
*
11-
* Behind the scene for some chart types,
11+
* Behind the scenes for some chart types,
1212
* the `color` property of the `item` is used as a `background` style,
1313
* not a `background-color` style.
1414
* This, together with some CSS knowledge can empower some creative visualizations;

0 commit comments

Comments
 (0)