Skip to content

Commit 83d4191

Browse files
committed
Dev environment - VueUiQuadrant updated arena
1 parent 2130c22 commit 83d4191

File tree

1 file changed

+60
-1
lines changed

1 file changed

+60
-1
lines changed

TestingArena/ArenaVueUiQuadrant.vue

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,20 +211,79 @@ const step = ref(0)
211211

212212
<template #local>
213213
<LocalVueUiQuadrant :dataset="dataset" :config="config" :key="`local_${step}`">
214+
<template #svg="{ svg }">
215+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />
216+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
217+
</template>
218+
<template #legend="{ legend }">
219+
#LEGEND
220+
<div style="font-size: 8px">
221+
{{ legend }}
222+
</div>
223+
</template>
224+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
225+
#BEFORE {{ series.name }}
226+
</template>
227+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
228+
#AFTER {{ series.name }}
229+
</template>
214230
</LocalVueUiQuadrant>
215231
</template>
216232

217233
<template #VDUI-local>
218-
<LocalVueDataUi component="VueUiQuadrant" :dataset="dataset" :config="config" :key="`VDUI-lodal_${step}`"></LocalVueDataUi>
234+
<LocalVueDataUi component="VueUiQuadrant" :dataset="dataset" :config="config" :key="`VDUI-lodal_${step}`">
235+
<template #svg="{ svg }">
236+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />
237+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
238+
</template>
239+
<template #legend="{ legend }">
240+
#LEGEND
241+
<div style="font-size: 8px">
242+
{{ legend }}
243+
</div>
244+
</template>
245+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
246+
#BEFORE {{ series.name }}
247+
</template>
248+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
249+
#AFTER {{ series.name }}
250+
</template>
251+
</LocalVueDataUi>
219252
</template>
220253

221254
<template #build>
222255
<VueUiQuadrant :dataset="dataset" :config="config" :key="`build_${step}`">
256+
<template #svg="{ svg }">
257+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />
258+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
259+
</template>
260+
<template #legend="{ legend }">
261+
#LEGEND
262+
<div style="font-size: 8px">
263+
{{ legend }}
264+
</div>
265+
</template>
266+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
267+
#BEFORE {{ series.name }}
268+
</template>
269+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
270+
#AFTER {{ series.name }}
271+
</template>
223272
</VueUiQuadrant>
224273
</template>
225274

226275
<template #VDUI-build>
227276
<VueDataUi component="VueUiQuadrant" :dataset="dataset" :config="config" :key="`VDUI-build_${step}`">
277+
<template #svg="{ svg }">
278+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />
279+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
280+
</template>
281+
<template #legend="{ legend }">
282+
#LEGEND
283+
<div style="font-size: 8px">
284+
{{ legend }}
285+
</div>
286+
</template>
228287
</VueDataUi>
229288
</template>
230289

0 commit comments

Comments
 (0)