sda.dashboard.components#
Dashboard Components.
Reusable UI components for the dashboard.
Submodules#
Functions#
|
Create a filter panel with dynamic filter slots. |
Create a unified filter sidebar using Bootstrap Offcanvas. |
|
|
Create a graph component with consistent styling. |
|
Create the complete dashboard layout with Spark styling. |
|
Create line plot layout. |
|
Create scatter plot layout. |
Create a sidebar component (stub for backward compatibility). |
|
|
Create table layout for displaying all data points. |
|
Create the test selection layout. |
Package Contents#
- sda.dashboard.components.create_filter_panel(plot_type='scatter')#
Create a filter panel with dynamic filter slots.
This creates a fixed number of filter slots that are dynamically allocated to the selected columns from the Test Selection tab.
DEPRECATED: This function is kept for backward compatibility. Use create_unified_filter_sidebar() for new implementations.
- Parameters:
plot_type (
str) – Type of plot (“scatter” or “line”)- Returns:
Filter panel component with dynamic slots
- Return type:
html.Div
- sda.dashboard.components.create_unified_filter_sidebar()#
Create a unified filter sidebar using Bootstrap Offcanvas.
This creates a collapsible right sidebar with dynamic filter slots that are shared across all plot types (scatter, line, table).
- Returns:
Unified filter sidebar component using Bootstrap Offcanvas
- Return type:
dbc.Offcanvas
- sda.dashboard.components.create_graph_component(graph_id, height=None, width=None)#
Create a graph component with consistent styling.
- sda.dashboard.components.create_dashboard_layout(test_name, debug=False)#
Create the complete dashboard layout with Spark styling.
- sda.dashboard.components.create_line_layout(test_name)#
Create line plot layout.
- sda.dashboard.components.create_scatter_layout(test_name)#
Create scatter plot layout.
- sda.dashboard.components.create_sidebar()#
Create a sidebar component (stub for backward compatibility).
- Returns:
Empty sidebar component
- Return type:
html.Div
- sda.dashboard.components.create_table_layout(test_name)#
Create table layout for displaying all data points.