sda.dashboard.components.layouts#

Layout Components.


Modular layout components for the dashboard with Spark branding.

Attributes#

Functions#

create_spark_navbar()

Create the Spark-branded navbar with navigation tabs.

create_sidebar()

Create a sidebar component (stub for backward compatibility).

create_dashboard_layout(test_name[, debug])

Create the complete dashboard layout with Spark styling.

create_scatter_layout(test_name)

Create scatter plot layout.

create_line_layout(test_name)

Create line plot layout.

create_table_layout(test_name)

Create table layout for displaying all data points.

create_test_selection_layout(test_name[, selected_columns])

Create the test selection layout.

Module Contents#

sda.dashboard.components.layouts.DropdownOptions#
sda.dashboard.components.layouts.Options#
sda.dashboard.components.layouts.create_spark_navbar()#

Create the Spark-branded navbar with navigation tabs.

Returns:

Spark-branded navigation bar with plot type tabs

Return type:

dbc.Navbar

sda.dashboard.components.layouts.create_sidebar()#

Create a sidebar component (stub for backward compatibility).

Returns:

Empty sidebar component

Return type:

html.Div

sda.dashboard.components.layouts.create_dashboard_layout(test_name, debug=False)#

Create the complete dashboard layout with Spark styling.

Parameters:
  • test_name (str) – The name of the test to load initially

  • debug (bool) – Whether to enable debug mode features

Returns:

Complete dashboard layout with Spark styling

Return type:

html.Div

sda.dashboard.components.layouts.create_scatter_layout(test_name)#

Create scatter plot layout.

Parameters:

test_name (str or list of str) – Name of the test or list of test names

Returns:

Scatter plot layout

Return type:

html.Div

sda.dashboard.components.layouts.create_line_layout(test_name)#

Create line plot layout.

Parameters:

test_name (str or list of str) – Name of the test or list of test names

Returns:

Line plot layout

Return type:

html.Div

sda.dashboard.components.layouts.create_table_layout(test_name)#

Create table layout for displaying all data points.

Parameters:

test_name (str or list of str) – Name of the test or list of tests to display

Returns:

Complete table layout

Return type:

html.Div

sda.dashboard.components.layouts.create_test_selection_layout(test_name, selected_columns=None)#

Create the test selection layout.

Parameters:

test_name (str) – Name of the test to load.

Returns:

Test selection layout component.

Return type:

html.Div