Module:Sandbox/Bawolff/graph/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Module:Sandbox/Bawolff/graph. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
This is a module to make graphs. The goal is for it to be a wikitext only version of {{Graph:Lines}}, but it still has quite a bit to go.
Usage
[edit source]Example:
{{#invoke:Sandbox/Bawolff/graph|draw|data=GDP per capita indexed at 1950 - Maddison Project Data (2018) (OWID 2807).tab}}
makes
Lua error in Module:Sandbox/Bawolff/graph at line 40: attempt to index field 'data' (a nil value).