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
object
Optional chart init configurations. See
echarts.init's opts parameter. Injection key: INIT_OPTIONS_KEY.We have to specify the
height and width property in init-options for SSR.theme
string | object
option
object
ECharts' universal interface. Modifying this prop will trigger ECharts'
setOption method. Read more here →.Events
error
(error: unknown) => void
Emitted when when
NuxtIsland fails to fetch the new island.