sn-charts 0.0.1 → 0.0.3
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/README.md +3 -4
- package/fesm2022/sn-charts.mjs +6 -6
- package/fesm2022/sn-charts.mjs.map +1 -1
- package/package.json +27 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm i sn-charts
|
|
|
13
13
|
### Bar Chart
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import {
|
|
16
|
+
import { SnBarChartComponent } from 'sn-charts';
|
|
17
17
|
|
|
18
18
|
@Component({
|
|
19
19
|
imports: [SnBarChartComponent],
|
|
@@ -33,7 +33,7 @@ export class MyComponent {
|
|
|
33
33
|
### Line Chart
|
|
34
34
|
|
|
35
35
|
```typescript
|
|
36
|
-
import {
|
|
36
|
+
import { SnLineChartComponent } from 'sn-charts';
|
|
37
37
|
|
|
38
38
|
@Component({
|
|
39
39
|
imports: [SnLineChartComponent],
|
|
@@ -46,7 +46,7 @@ import { ... } from 'sn-charts';
|
|
|
46
46
|
### Pie / Donut Chart
|
|
47
47
|
|
|
48
48
|
```typescript
|
|
49
|
-
import {
|
|
49
|
+
import { SnPieChartComponent } from 'sn-charts';
|
|
50
50
|
|
|
51
51
|
@Component({
|
|
52
52
|
imports: [SnPieChartComponent],
|
|
@@ -71,4 +71,3 @@ export class MyComponent {
|
|
|
71
71
|
- **Animated** — line draw animation, fade-in effects
|
|
72
72
|
- **Donut mode** — pie chart supports donut with center label
|
|
73
73
|
|
|
74
|
-
## Part of [sn-ui](https://github.com/nicosnapps/sn-ui)
|