extends |
Ui5ArtifactInterface, SlotProposableInterface |
|---|
UI5 Chart — a single engine-tagged chart primitive rendered inside a
{@see Ui5DashboardGroupInterface}, emitting a
{@see \LaravelUi5\Core\Ui5\Controls\Lux\Chart} DTO. ECharts
is the bundled engine at v0.9; the envelope shape ({engine, option})
leaves a clean entry point for v1.0+ engine pluralism.
Identity, title, description from {@see Ui5ArtifactInterface}; slot machinery from {@see SlottableInterface}.
Two seats, two jobs, no overlap (mirrors {@see Ui5TileInterface}):
getChart() template on the artifact, because a chart's option tree
is data-driven and only the executor has the data to build it.The Chart's emitter
({@see \LaravelUi5\Core\Ui5\Dashboard\Emitters\ChartEmitter}) resolves
the required slots, calls
getChartProvider()->getChart($bound, $context), and returns the
result verbatim.
Emitter selection is owned by the
{@see \LaravelUi5\Core\Ui5\Dashboard\Contracts\DashboardTransformerInterface} via
instanceof dispatch. See atom ARTIFACT_AS_DTO_FACTORY.md.
| Methods | ||
|---|---|---|
public
|
getChartProvider(): class-string<ChartProviderInterface>
|
# |
| Methods inherited from LaravelUi5\Core\Ui5\Contracts\Ui5ArtifactInterface |
|---|
getModule(), getNamespace(), getType(), getVersion(), getTitle(), getDescription() |
| Methods inherited from LaravelUi5\Core\Ui5\Capabilities\SlotProposableInterface |
|---|
getSlotProposals() |
| Methods inherited from LaravelUi5\Core\Ui5\Capabilities\SlottableInterface |
|---|
getRequiredSlots() |