shyft.dashboard.time_series.view_container.view_container_base
Classes
|
This object is the base class of view container |
- class shyft.dashboard.time_series.view_container.view_container_base.BaseViewContainer(*, viewer: shyft.dashboard.time_series.ts_viewer.TsViewer)[source]
-
This object is the base class of view container
- __init__(*, viewer: shyft.dashboard.time_series.ts_viewer.TsViewer)[source]
- Parameters:
viewer – ts viewer instance the base view container should be bound to
- set_unit_registry(unit_registry: UnitRegistry) None [source]
Set the unt registry of this view container
- abstract property layout: Any
This property returns the preferred layout of the view_container
- abstract property layout_components: Dict[str, List[Any]]
This property returns all layout components of the view_container
- abstract add_view(*, view: BaseView) None [source]
This function adds a new view to the view_container
- abstract update_view_data(*, view_data: Dict[BaseView, Quantity[TsVector]]) None [source]
This function updates the views with new data
- abstract clear() None [source]
This function removes all views from the view_container and resets the meta information
- abstract clear_views(*, specific_views: List[BaseView] | None = None) None [source]
This function removes all or specific views from the view_container
- property visible: bool
Visible property is an optional property for all view container,