sda.dashboard.components.layouts ================================ .. py:module:: sda.dashboard.components.layouts .. autoapi-nested-parse:: Layout Components. ================ Modular layout components for the dashboard with Spark branding. Attributes ---------- .. autoapisummary:: sda.dashboard.components.layouts.DropdownOptions sda.dashboard.components.layouts.Options Functions --------- .. autoapisummary:: sda.dashboard.components.layouts.create_spark_navbar sda.dashboard.components.layouts.create_sidebar sda.dashboard.components.layouts.create_dashboard_layout sda.dashboard.components.layouts.create_scatter_layout sda.dashboard.components.layouts.create_line_layout sda.dashboard.components.layouts.create_table_layout sda.dashboard.components.layouts.create_test_selection_layout Module Contents --------------- .. py:data:: DropdownOptions .. py:data:: Options .. py:function:: create_spark_navbar() Create the Spark-branded navbar with navigation tabs. :returns: Spark-branded navigation bar with plot type tabs :rtype: :py:class:`dbc.Navbar` .. py:function:: create_sidebar() Create a sidebar component (stub for backward compatibility). :returns: Empty sidebar component :rtype: :py:class:`html.Div` .. py:function:: create_dashboard_layout(test_name, debug = False) Create the complete dashboard layout with Spark styling. :param test_name: The name of the test to load initially :type test_name: :py:class:`str` :param debug: Whether to enable debug mode features :type debug: :py:class:`bool` :returns: Complete dashboard layout with Spark styling :rtype: :py:class:`html.Div` .. py:function:: create_scatter_layout(test_name) Create scatter plot layout. :param test_name: Name of the test or list of test names :type test_name: :py:class:`str` or :py:class:`list` of :py:class:`str` :returns: Scatter plot layout :rtype: :py:class:`html.Div` .. py:function:: create_line_layout(test_name) Create line plot layout. :param test_name: Name of the test or list of test names :type test_name: :py:class:`str` or :py:class:`list` of :py:class:`str` :returns: Line plot layout :rtype: :py:class:`html.Div` .. py:function:: create_table_layout(test_name) Create table layout for displaying all data points. :param test_name: Name of the test or list of tests to display :type test_name: :py:class:`str` or :py:class:`list` of :py:class:`str` :returns: Complete table layout :rtype: :py:class:`html.Div` .. py:function:: create_test_selection_layout(test_name, selected_columns = None) Create the test selection layout. :param test_name: Name of the test to load. :type test_name: :py:class:`str` :returns: Test selection layout component. :rtype: :py:class:`html.Div`