@dashspec/renderer 0.1.1 → 0.1.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/CHANGELOG.md +21 -1
- package/dist/{chunk-ZUNMBDGH.js → chunk-HB2WSKUI.js} +13 -3
- package/dist/{chunk-ZUNMBDGH.js.map → chunk-HB2WSKUI.js.map} +1 -1
- package/dist/{core-DXRBVGyG.d.ts → core-uvLuoQ3X.d.ts} +7 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/docs/widgets.md +2 -1
- package/package.json +1 -1
package/docs/widgets.md
CHANGED
|
@@ -107,7 +107,7 @@ Field props such as `x`, `label` or `value` name a field of each data row; dot p
|
|
|
107
107
|
|
|
108
108
|
| Kind | What it shows | Main props | Events |
|
|
109
109
|
|---|---|---|---|
|
|
110
|
-
| `BarChart` | Bars, grouped, stacked or horizontal | `x` (required), `y` (field or list), `seriesBy`, `labels`, `stacked`, `normalized`, `horizontal`, `range: { low, high }`, `pageSize`, `colorBy` (`average` / `none`), `partial`, `valueLabels`, `averageLine`, `legendLabels`, `target`, `targetLabel`, `unit`, `format` | `click`, `doubleClick`, `hover`, `hoverEnd`, `legendClick`, `brush`, `datazoom` (parts `bar`, `legend`, `axis`) |
|
|
110
|
+
| `BarChart` | Bars, grouped, stacked or horizontal | `x` (required), `y` (field or list), `seriesBy`, `labels`, `stacked`, `normalized`, `horizontal`, `range: { low, high }`, `pageSize`, `colorBy` (`average` / `none`), `partial`, `valueLabels`, `averageLine`, `legendLabels`, `target`, `targetLabel`, `valueAxis` (`min`, `max`, `atLeast`, `step`), `unit`, `format` | `click`, `doubleClick`, `hover`, `hoverEnd`, `legendClick`, `brush`, `datazoom` (parts `bar`, `legend`, `axis`) |
|
|
111
111
|
| `LineChart` | Lines or areas over `x` | `x` (required), `y`, `seriesBy`, `area`, `gradient`, `smooth`, plus the bar chart's `labels`, `target`, `unit`, `format` | same as BarChart (parts `point`, `legend`, `axis`) |
|
|
112
112
|
| `PieChart` | A pie or donut | `label`, `value` (required), `donut`, `unit`, `format`, `decimals` | `click`, `hover`, `hoverEnd`, `legendClick` (parts `slice`, `legend`) |
|
|
113
113
|
| `Scatter` | Points by two numbers | `x`, `y` (required), `size`, `series`, `xLabel`, `yLabel` | `click`, `hover`, `hoverEnd`, `brush`, `legendClick` |
|
|
@@ -525,6 +525,7 @@ editor when the slot is empty).
|
|
|
525
525
|
| `small` | It may sit in header slots |
|
|
526
526
|
| `frame` | `"card"` (default) or `"plain"` |
|
|
527
527
|
| `header` | `"widget"` when the widget draws its own title (like Kpi) |
|
|
528
|
+
| `empty` | `"widget"` when the widget draws its own empty state (like Kpi: title kept, `emptyText` or "—"); otherwise the frame shows "No data" |
|
|
528
529
|
| `fnProps` | Props that hold functions, with their parameter names |
|
|
529
530
|
| `migrations` | Upgrades for older saved props ([below](#versions-and-migrations)) |
|
|
530
531
|
| `implements`, `exposes` | Role and published state ([below](#roles-and-aliases)) |
|