Test: Difference between revisions
No edit summary |
No edit summary |
||
Line 98: | Line 98: | ||
{{#invoke:MyLuaModule|BuildTable|PageWithSourceData|...}} | {{#invoke:MyLuaModule|BuildTable|PageWithSourceData|...}} | ||
{{Graph:Tesla | {{Graph:Tesla revenues | {{#invoke:MyLuaModule|ExtractGraphData|PageWithSourceData|...}} }} |
Revision as of 00:35, 26 September 2022
-12<graph>{ "version": 2, "width": 400, "height": 200, "data": [ { "name": "table", "values": [ { "x": 0, "y": 1 }, { "x": 1, "y": 3 }, { "x": 2, "y": 2 }, { "x": 3, "y": 4 } ] } ], "scales": [ { "name": "x", "type": "ordinal", "range": "width", "zero": false, "domain": { "data": "table", "field": "x" } }, { "name": "y", "type": "linear", "range": "height", "nice": true, "domain": { "data": "table", "field": "y" } } ], "axes": [ { "type": "x", "scale": "x" }, { "type": "y", "scale": "y" } ], "marks": [ { "type": "rect", "from": { "data": "table" }, "properties": { "enter": { "x": { "scale": "x", "field": "x" }, "y": { "scale": "y", "field": "y" }, "y2": { "scale": "y", "value": 0 }, "fill": { "value": "steelblue" }, "width": { "scale": "x", "band": "true", "offset": -1 } } } } ] }</graph>1
1
Script error: No such module "MyLuaModule".
- ↑ ddddd