panel.pane.vizzu module#
- class panel.pane.vizzu.Vizzu(object=None, **params)[source]#
Bases:
ModelPane
,SyncableData
The Vizzu pane provides an interactive visualization component for large, real-time datasets built on the Vizzu project.
Reference: https://panel.holoviz.org/reference/panes/Vizzu.html
- Example:
>>> Vizzu(df)
Methods
animate
(anim[, options])Updates the chart with a new configuration.
applies
(object)Returns boolean or float indicating whether the Pane can render the object.
on_click
(callback)Register a callback to be executed when any element in the chart is clicked on.
Parameter Definitions
Parameters inherited from:
panel.viewable.Layoutable
: align, aspect_ratio, css_classes, design, height, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width, width_policy, height_policy, sizing_mode, visiblepanel.viewable.Viewable
: loadingpanel.reactive.SyncableData
: selectionpanel.pane.base.PaneBase
: margin, default_layout, objectanimation = Dict(class_=<class 'dict'>, default={}, label='Animation', nested_refs=True)
Animation settings (see https://lib.vizzuhq.com/latest/reference/modules/Anim/).
config = Dict(class_=<class 'dict'>, default={}, label='Config', nested_refs=True)
The config contains all of the parameters needed to render a particular static chart or a state of an animated chart (see https://lib.vizzuhq.com/latest/reference/interfaces/Config.Chart/).
click = Parameter(allow_None=True, label='Click')
Data associated with the latest click event.
column_types = Dict(class_=<class 'dict'>, default={}, label='Column types', nested_refs=True)
Optional column definitions. If not defined will be inferred from the data.
duration = Integer(default=500, inclusive_bounds=(True, True), label='Duration')
The config contains all of the parameters needed to render a particular static chart or a state of an animated chart.
style = Dict(class_=<class 'dict'>, default={}, label='Style', nested_refs=True)
Style configuration of the chart.
tooltip = Boolean(default=False, label='Tooltip')
Whether to enable tooltips on the chart.
- animate(anim: dict[str, Any], options: int | dict[str, Any] | None = None) None [source]#
Updates the chart with a new configuration.