Skip to content

Commit a9c84f0

Browse files
committed
v2.1.64
1 parent ff86d3e commit a9c84f0

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

TestingArena/ArenaVueUiXy.vue

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ const model = ref([
5959
6060
{ key: 'chart.highlighter.color', def: '#1A1A1A', type: 'color', label: 'highlighterColor', category: 'general' },
6161
{ key: 'chart.highlighter.opacity', def: 5, type: 'range', min: 0, max: 100, label: 'highlighterOpacity', category: 'general' },
62+
{ key: "chart.highlighter.useLine", def: true, type: "checkbox" },
63+
64+
{ key: "chart.timeTag.show", def: true, type: "checkbox" },
6265
6366
{ key: 'chart.highlightArea.show', def: false, type: 'checkbox', label: 'show', category: 'highlight' },
6467
{ key: 'chart.highlightArea.from', def: 0, type: 'number', min: 0, max: 999, label: 'from', category: 'highlight' },
@@ -193,7 +196,38 @@ const config = computed(() => {
193196
}
194197
}
195198
} else {
196-
return c
199+
return {
200+
...c,
201+
chart: {
202+
...c.chart,
203+
grid: {
204+
...c.chart.grid,
205+
labels: {
206+
...c.chart.grid.labels,
207+
xAxisLabels: {
208+
...c.chart.grid.labels.xAxisLabels,
209+
values: [
210+
"A",
211+
"B",
212+
"C",
213+
"D",
214+
"E",
215+
"F",
216+
"G",
217+
"H",
218+
"I",
219+
"J",
220+
"K",
221+
"L",
222+
"M",
223+
"N",
224+
"O"
225+
]
226+
}
227+
}
228+
}
229+
}
230+
}
197231
}
198232
});
199233

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.1.63",
4+
"version": "2.1.64",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
77
"keywords": [

src/components/vue-ui-xy.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@
782782
style="overflow: visible !important;"
783783
>
784784
<div class="vue-ui-xy-time-tag" :style="`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${chartConfig.chart.timeTag.backgroundColor};color:${chartConfig.chart.timeTag.color};font-size:${chartConfig.chart.timeTag.fontSize}px`">
785-
{{ chartConfig.chart.grid.labels.xAxisLabels.values[selectedSerieIndex] || selectedSerieIndex }}
785+
{{ timeLabels[selectedSerieIndex] || selectedSerieIndex }}
786786
</div>
787787
</foreignObject>
788788
<circle

0 commit comments

Comments
 (0)