shyft.dashboard.time_series.tools.view_time_axis_tools¶
Classes
|
A tool to manually select the time step |
|
Tool to set the time interval to step forward or backward in the graph by pushing a button 'Previous' and 'Next' |
|
Base tool class for view time axis |
Exceptions
- exception shyft.dashboard.time_series.tools.view_time_axis_tools.ViewTimeAxisToolError[source]¶
Bases:
RuntimeError
- class shyft.dashboard.time_series.tools.view_time_axis_tools.ViewTimeAxisTool(logger=None, *, parent_limit=None)[source]¶
Bases:
BaseToolBase tool class for view time axis
- Parameters:
logger – Optional logger
parent_limit – number of max parents to use
- class shyft.dashboard.time_series.tools.view_time_axis_tools.DeltaTSelectorTool(title, width=150, height=None, padding=None, sizing_mode=None, logger=None)[source]¶
Bases:
ViewTimeAxisToolA tool to manually select the time step
- Parameters:
title – title of the widget
logger – optional logger
width (int)
height (int | None)
padding (int | None)
sizing_mode (str | None)
- __init__(title, width=150, height=None, padding=None, sizing_mode=None, logger=None)[source]¶
- Parameters:
title – title of the widget
logger – optional logger
width (int)
height (int | None)
padding (int | None)
sizing_mode (str | None)
- property layout_components: Dict[str, List[Any]]¶
- class shyft.dashboard.time_series.tools.view_time_axis_tools.ViewPeriodSelector(logger=None)[source]¶
Bases:
ViewTimeAxisToolTool to set the time interval to step forward or backward in the graph by pushing a button ‘Previous’ and ‘Next’
- Parameters:
logger – Optional logger
- on_bind(*, parent)[source]¶
Abstract method which is call on bind to a parent
- Parameters:
parent (Any)
- property layout: row¶
- property layout_components: Dict[str, List[Any]]¶