Skip to main content
Version: Next

ChartDataSelectOptionsSchema

columnsstring[]

Columns which to select from the input data, in the desired order. If columns are renamed, the original column name should be referenced here.

Example: ["country","gender","age"]
excludestring[]

Columns to exclude from selection.

Example: ["my_temp_column"]
renameobject[]

columns which to rename, mapping source column to target column. For instance, {'y': 'y2'} will rename the column y to y2.

Example: [{"age":"average_age"}]
ChartDataSelectOptionsSchema
{
"columns": [
"country",
"gender",
"age"
],
"exclude": [
"my_temp_column"
],
"rename": [
{
"age": "average_age"
}
]
}