ngx-mira-charts 0.3.0 â 0.4.0-dev.2
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 +4 -2
- package/fesm2022/ngx-mira-charts.mjs +547 -80
- package/fesm2022/ngx-mira-charts.mjs.map +1 -1
- package/index.d.ts +248 -39
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Composable SVG charts for Angular, built on signals. A chart is put together in
|
|
|
8
8
|
|
|
9
9
|
## Why this one
|
|
10
10
|
|
|
11
|
-
- ð§Đ **Composed in the template.** Write the parts you need and leave out the rest. A second `<mira-bar>` makes grouped bars, with nothing to set on the chart.
|
|
11
|
+
- ð§Đ **Composed in the template.** Write the parts you need and leave out the rest. A second `<mira-bar>` makes grouped bars, and a `stackId` on each stacks them, with nothing to set on the chart.
|
|
12
12
|
- ð **Your rows, in their own shape.** A chart takes an array of plain objects, and each series reads its values by `dataKey`. The values must be numbers: a string, even `'42'`, is left out.
|
|
13
13
|
- ð
°ïļ **Angular all the way down.** Standalone components with signal inputs, OnPush throughout, with zone.js or without it.
|
|
14
14
|
- ðŠķ **Small.** No d3 and no chart engine, and no runtime dependencies beyond `tslib`.
|
|
@@ -17,6 +17,8 @@ Composable SVG charts for Angular, built on signals. A chart is put together in
|
|
|
17
17
|
|
|
18
18
|
- ð Line charts: straight or smooth lines, with a dot on each value
|
|
19
19
|
- ð Bar charts: one series, or several side by side
|
|
20
|
+
- â°ïļ Area charts: filled to zero, with a gradient if you like, and lines among them
|
|
21
|
+
- ðĨ Stacks: bars, areas or lines that share a `stackId` stand on each other, above zero and below
|
|
20
22
|
- âïļ Values below zero, and gaps where a value is missing
|
|
21
23
|
- ð§ Axes, a grid and a cursor at the datum under the pointer
|
|
22
24
|
- ðŽ A tooltip with each series' value there, or a box of your own
|
|
@@ -28,7 +30,7 @@ Composable SVG charts for Angular, built on signals. A chart is put together in
|
|
|
28
30
|
|
|
29
31
|
## Not here (yet)
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
Pie charts, stacks that add up to 100%, horizontal bars, a palette of series colors, animations and keyboard access to the data. The plan is in the [issues](https://github.com/dhutaryan/ngx-mira-charts/issues).
|
|
32
34
|
|
|
33
35
|
## Installation
|
|
34
36
|
|