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

View File

@@ -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: [
{