Skip to content

Commit 2c2a380

Browse files
committed
Dev environment - VueUiRadar updated arena
1 parent 83d4191 commit 2c2a380

File tree

1 file changed

+69
-4
lines changed

1 file changed

+69
-4
lines changed

TestingArena/ArenaVueUiRadar.vue

Lines changed: 69 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,86 @@ const step = ref(0)
132132

133133
<template #local>
134134
<LocalVueUiRadar :dataset="dataset" :config="config" :key="`local_${step}`">
135+
<template #svg="{ svg }">
136+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d39240" />
137+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
138+
</template>
139+
<template #legend="{ legend }">
140+
#LEGEND
141+
<div style="font-size: 8px">
142+
{{ legend }}
143+
</div>
144+
</template>
145+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
146+
#BEFORE {{ series.name }}
147+
</template>
148+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
149+
#AFTER {{ series.name }}
150+
</template>
135151
</LocalVueUiRadar>
136152
</template>
137-
153+
138154
<template #VDUI-local>
139155
<LocalVueDataUi component="VueUiRadar" :dataset="dataset" :config="config" :key="`VDUI-lodal_${step}`">
156+
<template #svg="{ svg }">
157+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d39240" />
158+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
159+
</template>
160+
<template #legend="{ legend }">
161+
#LEGEND
162+
<div style="font-size: 8px">
163+
{{ legend }}
164+
</div>
165+
</template>
166+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
167+
#BEFORE {{ series.name }}
168+
</template>
169+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
170+
#AFTER {{ series.name }}
171+
</template>
140172
</LocalVueDataUi>
141173
</template>
142-
174+
143175
<template #build>
144176
<VueUiRadar :dataset="dataset" :config="config" :key="`build_${step}`">
177+
<template #svg="{ svg }">
178+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d39240" />
179+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
180+
</template>
181+
<template #legend="{ legend }">
182+
#LEGEND
183+
<div style="font-size: 8px">
184+
{{ legend }}
185+
</div>
186+
</template>
187+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
188+
#BEFORE {{ series.name }}
189+
</template>
190+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
191+
#AFTER {{ series.name }}
192+
</template>
145193
</VueUiRadar>
146194
</template>
147-
195+
148196
<template #VDUI-build>
149-
<VueDataUi component="VueUiRadar" :dataset="dataset" :config="config" :key="`VDUI-build_${step}`"></VueDataUi>
197+
<VueDataUi component="VueUiRadar" :dataset="dataset" :config="config" :key="`VDUI-build_${step}`">
198+
<template #svg="{ svg }">
199+
<circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d39240" />
200+
<text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
201+
</template>
202+
<template #legend="{ legend }">
203+
#LEGEND
204+
<div style="font-size: 8px">
205+
{{ legend }}
206+
</div>
207+
</template>
208+
<template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
209+
#BEFORE {{ series.name }}
210+
</template>
211+
<template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
212+
#AFTER {{ series.name }}
213+
</template>
214+
</VueDataUi>
150215
</template>
151216

152217
<template #knobs>

0 commit comments

Comments
 (0)