@peter.prib/renderengine 0.9.0 → 0.12.0
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 +5 -5
- package/dist/renderengine-workspace.umd.js +4109 -2919
- package/dist/renderengine.umd.js +4107 -2917
- package/{REFERENCE.md → documentation/REFERENCE.md} +3230 -3076
- package/package.json +3 -3
- package/src/bian.js +1 -1
- package/src/chartCatalog.js +1 -1
- package/src/charting/Chart.js +25 -0
- package/src/charting/ChartChooser.js +5 -4
- package/src/charting/Legend.js +16 -0
- package/src/charting/charts/BarChart.js +1 -1
- package/src/charting/charts/GroupedBarChart.js +38 -16
- package/src/charting/charts/LineChart.js +9 -8
- package/src/charting/charts/PieChart.js +2 -2
- package/src/charting/charts/TableChart.js +16 -3
- package/src/charting/pivot/PivotChart.js +50 -0
- package/src/charting/pivot/PivotGridChart.js +191 -0
- package/src/charting/pivot/PivotView.js +731 -0
- package/src/charting/table/TableView.js +80 -15
- package/src/charting/table/TableViewChart.js +7 -3
- package/src/datawindow/BoundedWindow.js +1 -1
- package/src/datawindow/GraphDataWindow.js +1 -1
- package/src/index.js +2886 -2807
- package/src/kernelExpr.js +2 -2
- package/src/workspace/index.js +1 -1
- package/src/workspace/parts/ChartPart.js +1 -1
- package/src/workspace.js +1 -1
package/src/kernelExpr.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* not once per query. Kept as a standalone copy rather than a shared
|
|
12
12
|
* dependency — the two repos have no package link today, and this grammar is
|
|
13
13
|
* small enough that duplicating it costs less than a cross-repo dependency
|
|
14
|
-
* would. See renderengine's own `tasks.md` for why this exists, and
|
|
14
|
+
* would. See renderengine's own `documentation/tasks.md` for why this exists, and
|
|
15
15
|
* sqlengine's `documentation/kernel-language.md` for the full grammar
|
|
16
16
|
* reference this is a subset of.
|
|
17
17
|
*
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* NO GPU/WASM/WebNN TARGETS HERE, unlike the sqlengine original — renderengine
|
|
24
24
|
* has no compute-backend concept and nothing has measured a need for one for
|
|
25
|
-
* per-point chart encodings (see tasks.md's "Gated on a measurement" entry).
|
|
25
|
+
* per-point chart encodings (see documentation/tasks.md's "Gated on a measurement" entry).
|
|
26
26
|
* This only ever emits JavaScript.
|
|
27
27
|
*/
|
|
28
28
|
|
package/src/workspace/index.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* a shell that may only ever host adapted panels. Call
|
|
13
13
|
* `registerBuiltinParts(ws)` for the standard set, or register individually.
|
|
14
14
|
*
|
|
15
|
-
* See WORKSPACE_ARCHITECTURE.md for the design.
|
|
15
|
+
* See documentation/WORKSPACE_ARCHITECTURE.md for the design.
|
|
16
16
|
*/
|
|
17
17
|
import { Workspace, WORKSPACE_TAG, WORKSPACE_SCHEMA_VERSION, defineWorkspace } from './Workspace.js';
|
|
18
18
|
import { ContextBus } from './ContextBus.js';
|
|
@@ -103,7 +103,7 @@ export class ChartPart extends Part {
|
|
|
103
103
|
return this.chartOptions;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
/** Append a point to a bounded window — see REFERENCE.md's streaming section. */
|
|
106
|
+
/** Append a point to a bounded window — see documentation/REFERENCE.md's streaming section. */
|
|
107
107
|
addDataPoint(pointOrFactory, opts) {
|
|
108
108
|
this.engine?.addDataPoint(this.chartId, pointOrFactory, opts);
|
|
109
109
|
}
|
package/src/workspace.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* never actually contributed any UI. It could not express either target
|
|
8
8
|
* consumer — sqlengine workbench's sidebar+main+tool-panels, or its 12-column
|
|
9
9
|
* dashboard grid — so it was replaced by the part/layout/context model in
|
|
10
|
-
* `src/workspace/`. See WORKSPACE_ARCHITECTURE.md.
|
|
10
|
+
* `src/workspace/`. See documentation/WORKSPACE_ARCHITECTURE.md.
|
|
11
11
|
*
|
|
12
12
|
* Kept as a re-export so `import '.../src/workspace.js'` still registers the
|
|
13
13
|
* `<ws-workspace>` element. Both files defining the same tag would otherwise
|