Vizzu#
This component is also available in the classic reference.
The Vizzu pane provides an interactive visualization component for large, real-time datasets built on the Vizzu project.
Use pn.ui.Vizzu to create this component.
API#
.. py:class:: Vizzu(object=None, **params) :module: panel.pane.vizzu
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)
:Attributes:
**click**
..
.. rubric:: Methods
.. autosummary::
animate
applies
on_click
.. !! processed by numpydoc !!
Parameter Definitions
Parameters inherited from:
:class:`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, visible
:class:`panel.viewable.Viewable`: loading
:class:`panel.reactive.SyncableData`: selection
:class:`panel.pane.base.PaneBase`: margin, default_layout, object
animation = 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 = Dict(allow_None=True, class_=<class 'dict'>, 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.
.. py:method:: Vizzu.animate(anim: dict[str, ~typing.Any], options: int | dict[str, ~typing.Any] | None = None) -> None :module: panel.pane.vizzu
Updates the chart with a new configuration.
..
!! processed by numpydoc !!
.. py:method:: Vizzu.applies(object) :module: panel.pane.vizzu :classmethod:
Returns boolean or float indicating whether the Pane
can render the object.
If the priority of the pane is set to
`None`, this method may also be used to define a float priority
depending on the object being rendered.
..
!! processed by numpydoc !!
.. py:method:: Vizzu.on_click(callback: Callable[[dict], None]) :module: panel.pane.vizzu
Register a callback to be executed when any element in the
chart is clicked on.
:Parameters:
**callback: (callable)**
The callback to run on click events.
..
!! processed by numpydoc !!