@@ -6,6 +6,9 @@ import Box from "./Box.vue";
66import convertArrayToObject from " ./convertModel" ;
77import { useArena } from " ../src/useArena" ;
88
9+ import { VueUiCandlestick } from " vue-data-ui" ;
10+ import { VueUiCandlestick as VueUiCandlestickTreshaken } from " vue-data-ui/vue-ui-candlestick" ;
11+
912const dataset = ref ([]);
1013
1114onMounted (() => {
@@ -383,6 +386,30 @@ onMounted(async () => {
383386 </VueUiCandlestick >
384387 </template >
385388
389+ <template #build-treesh >
390+ <VueUiCandlestickTreshaken :dataset =" isPropsToggled ? alternateDataset : dataset" :config =" isPropsToggled ? alternateConfig : config" :key =" `build_${step}`" ref =" build" >
391+ <!-- <template #svg="{ svg }">
392+ <circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />
393+ <text :x="svg.width / 2" :y="svg.height / 2" text-anchor="middle">#SVG</text>
394+ </template>
395+ <template #legend="{ legend }">
396+ #LEGEND
397+ <div style="font-size: 8px">
398+ {{ legend }}
399+ </div>
400+ </template>
401+ <template #tooltip-before="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
402+ #BEFORE {{ series.name }}
403+ </template>
404+ <template #tooltip-after="{ datapoint, seriesIndex, series, config, bars, lines, plots }">
405+ #AFTER {{ series.name }}
406+ </template>
407+ <template #reset-action="{ reset }">
408+ <button @click="reset()">REFRESH</button>
409+ </template> -->
410+ </VueUiCandlestickTreshaken >
411+ </template >
412+
386413 <template #VDUI-build >
387414 <VueDataUi component =" VueUiCandlestick" :dataset =" isPropsToggled ? alternateDataset : dataset" :config =" isPropsToggled ? alternateConfig : config" :key =" `VDUI-build_${step}`" ref =" vduiBuild" >
388415 <!-- <template #svg="{ svg }">
0 commit comments