We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f0e76 commit b3606b3Copy full SHA for b3606b3
app/components/Chart/SplitSparkline.vue
@@ -204,11 +204,11 @@ const configs = computed(() => {
204
:seed="i"
205
:foreground-color="colors.bg!"
206
:background-color="
207
- dataset?.[i]?.color
208
- ?? palette[i]
209
- ?? palette[i % palette.length]
210
- ?? palette[0]
211
- ?? 'transparent'
+ dataset?.[i]?.color ??
+ palette[i] ??
+ palette[i % palette.length] ??
+ palette[0] ??
+ 'transparent'
212
"
213
:max-size="CHART_PATTERN_CONFIG.maxSize"
214
:min-size="CHART_PATTERN_CONFIG.minSize"
0 commit comments