fix Y-Label ui regression from echarts update

This commit is contained in:
Gregor Vostrak
2026-02-02 14:55:09 +01:00
parent 1597b5490a
commit 98634f4a19
3 changed files with 10 additions and 46 deletions
@@ -107,9 +107,7 @@ const option = computed(() => ({
},
},
axisLine: {
lineStyle: {
color: 'transparent', // Set desired color here
},
show: false,
},
axisLabel: {
fontSize: 12,
@@ -119,16 +117,13 @@ const option = computed(() => ({
fontFamily: 'Inter, sans-serif',
},
axisTick: {
lineStyle: {
color: 'transparent', // Set desired color here
},
show: false,
},
},
yAxis: {
type: 'value',
axisLabel: {
color: labelColor.value,
fontFamily: 'Inter, sans-serif',
show: false,
},
splitLine: {
lineStyle: {
@@ -8,7 +8,6 @@ const props = defineProps<{
}>();
const accentColor = useCssVariable('--theme-color-chart');
const markLineColor = useCssVariable('--color-border-secondary');
const seriesData = computed(() =>
props.history.map((el) => {
@@ -36,36 +35,11 @@ const option = computed(() => ({
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
markLine: {
lineStyle: {
color: markLineColor.value,
type: 'dashed',
},
},
axisLine: {
lineStyle: {
color: 'transparent', // Set desired color here
},
},
axisLabel: {
fontSize: 16,
fontWeight: 600,
margin: 24,
fontFamily: 'Inter, sans-serif',
},
axisTick: {
lineStyle: {
color: 'transparent', // Set desired color here
},
},
show: false,
},
yAxis: {
type: 'value',
splitLine: {
lineStyle: {
color: 'transparent', // Set desired color here
},
},
show: false,
},
series: [
{
@@ -193,28 +193,23 @@ const option = computed(() => {
type: 'category',
data: weekdays.value,
axisLine: {
lineStyle: {
color: 'transparent', // Set desired color here
},
show: false,
},
axisLabel: {
fontSize: 16,
fontWeight: 600,
fontSize: 14,
fontWeight: 500,
margin: 24,
fontFamily: 'Inter, sans-serif',
color: labelColor.value,
},
axisTick: {
lineStyle: {
color: 'transparent', // Set desired color here
},
show: false,
},
},
yAxis: {
type: 'value',
axisLabel: {
color: labelColor.value,
fontFamily: 'Inter, sans-serif',
show: false,
},
splitLine: {
lineStyle: {