Skip to content
View as Markdown
class Chart(GeneratedChart)

Base chart class. All chart types inherit from this. Fields are sourced from the daemon’s typed response.

class ChartType(str, Enum)

Supported chart types returned by the daemon’s code-run endpoint.

class PointData(GeneratedChartElement)

Data element for line and scatter charts. Fields: label, points.

class BarData(GeneratedChartElement)

Data element for bar charts. Fields: label, value, group.

class PieData(GeneratedChartElement)

Data element for pie charts. Fields: label, angle, radius.

class BoxAndWhiskerData(GeneratedChartElement)

Data element for box-and-whisker charts. Fields: label, min, first_quartile, median, third_quartile, max, outliers.

class Chart2D(Chart)

Chart with x/y axes. Adds x_label, y_label fields.

class PointChart(Chart2D)

Chart with axis ticks and scales. Adds x_ticks, y_ticks, x_scale, y_scale fields.

class LineChart(PointChart)

Line chart. Elements are PointData.

class ScatterChart(PointChart)

Scatter plot. Elements are PointData.

class BarChart(Chart2D)

Bar chart. Elements are BarData.

class PieChart(Chart)

Pie chart. Elements are PieData.

class BoxAndWhiskerChart(Chart2D)

Box-and-whisker chart. Elements are BoxAndWhiskerData.

class CompositeChart(Chart)

Composite chart containing multiple sub-charts as elements.