Skip to content

Line chart

The line chart is a chart that displays information as a series of data points called 'markers' connected by straight line segments. It is useful for showing trends over time.

Title (title)

Title of the chart view

Type: str

Default: Chart


Description (description)

Description of the chart view

Type: str


Engine (engine) [Required]

Select the chart engine to use

Type: str

Default: plotly

Choices: plotly, observable, chartjs, echarts


Type (type) [Required]

Select the type of the chart, e.g. Line, Bar, Scatter, etc.

Type: str

Default: Line

Choices: Bar, Horizontal Bar, Pie, Line, Scatter, Choropleth


X Axis (x) [Required]

Select a column for the X-axes

Type: str


Y Axis (y) [Required]

Select the columns for the Y axis.

Type: List[str]


Invert X-axis (invert_x)

Invert the X-axis

Type: bool


Invert Y-axis (invert_y)

Invert the Y-axis

Type: bool


Sort X-axis (sort_x)

Sort the X-axis values

Type: bool


Sort Y-axis (sort_y)

Sort the Y-axis values

Type: bool


Split by years (split_data)

Split data into different columns by years based on datetime column stated for the x-axis

Type: bool


Fixed 365 days (fixed_365_days)

Always display a full 365-day X-axis so every month occupies equal horizontal space. Requires "Split by years" to be enabled.

Type: bool


Daily aggregation (daily_aggregation)

When multiple readings exist for the same day, use this value. Active only with "Fixed 365 days" enabled.

Type: str

Default: mean

Choices: Average, Minimum, Maximum


Skip N/A and NULL values (skip_null_values)

Entries of the data with missing values will not be graphed or will be skipped

Type: bool


Break the chart (break_chart)

Break the graph at missing values

Type: bool


Limit (limit)

Limit the number of rows to show in the chart

Type: int

Default: 1000


Chart Title (chart_title)

Title of the chart itself

Type: str


Chart X axe label (x_axis_label)

Label for the X-axis

Type: str


Chart Y axe label (y_axis_label)

Label for the Y-axis

Type: str


Chart Y axe right label (y_axis_label_right)

Label for the Y-axis on the right side

Type: str