19declare(strict_types=1);
withDataset(Dataset $dataset)
Replace the given dataset at creation with a new one.
withTitleVisible(bool $title_visible)
withTooltipsVisible(bool $tooltips_visible)
Should the tooltips pop up when hovering over the bars in the chart?
withTitle(string $title)
Replace the given title at creation with a new title.
withBarConfigs(array $bar_configs)
Replace the given bars at creation with new ones.
withGroupConfigs(array $group_configs)
withLegendPosition(string $legend_position)
On which side next to the chart should the legend be placed? Default is top.
withLegendVisible(bool $legend_visible)
A component is the most general form of an entity in the UI.
Interface to be extended by components that have the possibility to bind to Javascript.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.