Components
<VChartServer>
Rendering ECharts on server and allow client-side injection.
<VChartServer>
is a wrapper around <VChartIsland>
to send props merged with contextual options from Provde / Inject
for Server-side Rendering.
Props
init-options
: Optional chart init configurations. Seeecharts.init
'sopts
parameter.- type:
object
- Injection key:
INIT_OPTIONS_KEY
.
- type:
We have to specify the
height
and width
property in init-options
for SSR.theme
: Theme to be applied. Seeecharts.init
'stheme
parameter.- type:
string
orobject
- Injection key:
THEME_KEY
.
- type:
option
: ECharts' universal interface. Modifying this prop will trigger ECharts'setOption
method. Read more here →.- type:
object
- type:
Events
error
- parameters:
- error:
- type:
unknown
- type:
- error:
- description: emitted when when
NuxtIsland
fails to fetch the new island.
- parameters: