plot_line_chart
Generate a line chart directly from a Teradata table by specifying the table, x-axis column (typically date/time), and one or more y-axis numeric columns. Ideal for time-series, trend lines, or sequential data without pre-fetching.
Instructions
Generate a line chart that reads directly from a Teradata table — do NOT use base_readQuery to pre-fetch data first. Specify the table in table_name, the x-axis column in labels (typically a date or time field), and one or more y-axis numeric columns in columns. Use for time-series, trend lines, or sequential data. Do NOT use for proportional category breakdowns — use plot_pie_chart or plot_polar_chart. Do NOT use for multi-dimensional spider comparisons — use plot_radar_chart.
PARAMETERS: table_name: Required Argument. Specifies the name of the table to generate the line chart. Types: str
labels:
Required Argument.
Specifies the x-axis column (typically date or time).
Types: str
columns:
Required Argument.
Specifies the y-axis numeric column(s) for the line chart.
Types: List[str]RETURNS: dict
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | Required Argument. Specifies the x-axis column (typically date or time). Types: str | |
| columns | Yes | Required Argument. Specifies the y-axis numeric column(s) for the line chart. Types: List[str] | |
| table_name | Yes | Required Argument. Specifies the name of the table to generate the line chart. Types: str |