final | |
|---|---|
readonly | |
extends |
AbstractControl |
Typed DTO for com.laravelui5.core.Chart — the inner engine-rendered
chart canvas. What the <lux:Chart> client control materialises.
engine and option are the two emit-always properties carrying the
engine-tagged envelope. Only engine: "echarts" ships; the envelope's
engine field exists so a future pluralism project has a clean entry point — it does not
make pluralism additive backlog. The option is engine-native JSON; Core
does not translate, normalise, or schema-validate it.
class is the standard emit-when-set CSS-class seat carried by every
dashboard control DTO (a free string applied client-side via
addStyleClass()); omitted from the wire when null.
Authoring patterns:
sap.f.Card wrapper), whose buildContent() constructs a
ChartCanvas automatically. Providers don't construct ChartCanvas
directly in this path.ChartCanvas
inline inside its content tree (no outer wrap because the parent
Card already owns the chrome). Providers construct ChartCanvas
directly here.| Methods | ||
|---|---|---|
public
|
__construct(string $engine, array $option, string|null $class = null)
|
# |
public
|
ui5Class(): string
|
# |
| Methods inherited from LaravelUi5\Core\Ui5\Controls\AbstractControl |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
string
|
$engine
|
# |
public
|
array
|
$option
|
# |
public
|
string|null
|
$class
|
# |