Skip to content

Commit 04b6f34

Browse files
authored
Merge pull request evidence-dev#3067 from evidence-dev/sparkline-axis
Fix axis appearance in sparkline
2 parents 311a842 + 9179782 commit 04b6f34

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.changeset/rare-rivers-complain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@evidence-dev/core-components': patch
3+
---
4+
5+
Fix axis line appearance in sparklines

packages/ui/core-components/src/lib/unsorted/viz/core/sparkline.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ export function getSparklineConfig(
145145
axisTick: {
146146
show: false
147147
},
148+
axisLine: {
149+
show: true,
150+
lineStyle: {
151+
color: theme.colors['base-300'],
152+
width: 0.75
153+
}
154+
},
148155
axisLabel: {
149156
show: false,
150157
hideOverlap: true,

0 commit comments

Comments
 (0)