plot_line_chart
Generate line charts from Teradata data by specifying table columns for x-axis labels and y-axis values to visualize trends and patterns.
Instructions
Function to generate a line plot for labels and columns. Columns mentioned in labels are used for x-axis and columns are used for y-axis.
PARAMETERS: table_name: Required Argument. Specifies the name of the table to generate the donut plot. Types: str
labels:
Required Argument.
Specifies the labels to be used for the line plot.
Types: str
columns:
Required Argument.
Specifies the column to be used for generating the line plot.
Types: List[str]
RETURNS: dict
Input Schema
Name | Required | Description | Default |
---|---|---|---|
columns | Yes | ||
labels | Yes | ||
table_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"columns": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"title": "Columns"
},
"labels": {
"title": "Labels",
"type": "string"
},
"table_name": {
"title": "Table Name",
"type": "string"
}
},
"required": [
"table_name",
"labels",
"columns"
],
"type": "object"
}