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 227d48f commit c8f0e76Copy full SHA for c8f0e76
app/components/Chart/SplitSparkline.vue
@@ -203,7 +203,13 @@ const configs = computed(() => {
203
:id="`marker_${i}`"
204
:seed="i"
205
:foreground-color="colors.bg!"
206
- :background-color="dataset?.[i]?.color ?? palette[i]"
+ :background-color="
207
+ dataset?.[i]?.color
208
+ ?? palette[i]
209
+ ?? palette[i % palette.length]
210
+ ?? palette[0]
211
+ ?? 'transparent'
212
+ "
213
:max-size="CHART_PATTERN_CONFIG.maxSize"
214
:min-size="CHART_PATTERN_CONFIG.minSize"
215
:disambiguator="CHART_PATTERN_CONFIG.disambiguator"
0 commit comments