Skip to content

Commit b1c58e4

Browse files
committed
VueUiXy fix highlight area label not visible in Firefox
1 parent aa701c9 commit b1c58e4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "1.9.13",
4+
"version": "1.9.14",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-xy.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@
435435
:x="(drawingArea.left + (drawingArea.width / maxSeries) * (chartConfig.chart.highlightArea.from - (slicer.start))) - (chartConfig.chart.highlightArea.caption.width === 'auto' ? 0 : chartConfig.chart.highlightArea.caption.width / 2 - (drawingArea.width / maxSeries) * highlightAreaSpan / 2)"
436436
:y="drawingArea.top + chartConfig.chart.highlightArea.caption.offsetY"
437437
style="overflow:visible"
438+
height="1"
438439
:width="chartConfig.chart.highlightArea.caption.width === 'auto' ? (drawingArea.width / maxSeries) * highlightAreaSpan : chartConfig.chart.highlightArea.caption.width"
439440

440441
>
@@ -775,7 +776,6 @@ export default {
775776
},
776777
highlightAreaSpan() {
777778
const { from, to } = this.chartConfig.chart.highlightArea;
778-
console.log({ from, to})
779779
if (from === to) return 1;
780780
if (to < from) return 0;
781781
return to - from + 1;

0 commit comments

Comments
 (0)