Module:Select columns/doc
This is a module for mw:Extension:Chart/Transforms, which allows subsets of tabular data to be shown in a chart.
Usage
This has two functions, show
which only shows the selected columns, and hide
, which hides the selected columns. The columns to show or hide are passed via args
where the name of the argument is a string containing the 1-indexed column number, and the value is any string value (including the empty string "").
For a chart with six columns, both of the below examples would only show columns 1, 3, and 4.
"transform": {
"module": "Select columns",
"function": "show",
"args": {
"1": "",
"3": "",
"4": ""
}
}
"transform": {
"module": "Select columns",
"function": "hide",
"args": {
"2": "",
"4": "",
"5": ""
}
}