@vmz/plugin-echarts 0.0.2 → 0.0.4
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 +18 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,27 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
## Turn product data into an interactive view 📈
|
|
4
4
|
|
|
5
|
-
Tables are excellent for exact values, but they are poor at revealing a trend, an outlier, a changing distribution, or
|
|
5
|
+
Tables are excellent for exact values, but they are poor at revealing a trend, an outlier, a changing distribution, or
|
|
6
|
+
the relationship between several metrics. `@vmz/plugin-echarts` brings Apache ECharts to VMZ applications for the
|
|
7
|
+
moments when users need to explore data rather than merely read it.
|
|
6
8
|
|
|
7
|
-
ECharts is a mature choice for dashboards, analytics panels, monitoring surfaces, reports, and embedded product
|
|
9
|
+
ECharts is a mature choice for dashboards, analytics panels, monitoring surfaces, reports, and embedded product
|
|
10
|
+
insights. It offers a broad chart vocabulary and rich interaction without asking the surrounding VMZ page to become a
|
|
11
|
+
chart-specific application.
|
|
8
12
|
|
|
9
13
|
## Where it fits
|
|
10
14
|
|
|
11
|
-
| Scenario
|
|
12
|
-
|
|
13
|
-
| Operational dashboard
|
|
14
|
-
| Product analytics
|
|
15
|
-
| Technical documentation
|
|
16
|
-
| Existing ECharts product | A native VMZ boundary around familiar chart options
|
|
15
|
+
| Scenario | What ECharts adds |
|
|
16
|
+
|--------------------------|----------------------------------------------------------|
|
|
17
|
+
| Operational dashboard | Dense, interactive views over changing metrics |
|
|
18
|
+
| Product analytics | Trends, comparisons, filters, and drill-down behavior |
|
|
19
|
+
| Technical documentation | Live visual examples when a static diagram is not enough |
|
|
20
|
+
| Existing ECharts product | A native VMZ boundary around familiar chart options |
|
|
17
21
|
|
|
18
22
|
## ECharts or Mermaid?
|
|
19
23
|
|
|
20
|
-
- Choose **ECharts** when the visualization is driven by data and users need tooltips, zooming, filtering, or
|
|
24
|
+
- Choose **ECharts** when the visualization is driven by data and users need tooltips, zooming, filtering, or
|
|
25
|
+
exploration.
|
|
21
26
|
- Choose **Mermaid** when the visual explains a process, architecture, state machine, or sequence authored as text.
|
|
22
27
|
- Use ordinary content and tables when exact values matter more than visual exploration.
|
|
23
28
|
|
|
24
29
|
## Keep the chart in its place
|
|
25
30
|
|
|
26
|
-
ECharts owns drawing and interaction inside its host region. VMZ owns the page, data boundary, Island/client placement,
|
|
31
|
+
ECharts owns drawing and interaction inside its host region. VMZ owns the page, data boundary, Island/client placement,
|
|
32
|
+
lifetime, SSR fallback, tests, and delivery decision.
|
|
27
33
|
|
|
28
|
-
That separation matters on real dashboards: a powerful chart should become interactive when useful without forcing
|
|
34
|
+
That separation matters on real dashboards: a powerful chart should become interactive when useful without forcing
|
|
35
|
+
navigation, surrounding content, and every other panel into one eager browser runtime. ✨
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vmz/plugin-echarts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "VMZ ECharts chart adapter - <Echarts>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@vmz/plugin": "0.0.
|
|
20
|
+
"@vmz/plugin": "0.0.4"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"echarts": ">=5"
|