Skip to content

Commit a8ca08c

Browse files
committed
Adds styles for stacked bar chart
1 parent ff91802 commit a8ca08c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/styles.go

+4
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,9 @@ func SetCommonStyles(w ui.Drawable) {
4848
widget.TitleStyle.Modifier = bold
4949
widget.BorderStyle.Fg = borderColor
5050
widget.AxesColor = defaultForeground
51+
case *widgets.StackedBarChart:
52+
widget.TitleStyle.Fg = defaultForeground
53+
widget.TitleStyle.Modifier = bold
54+
widget.BorderStyle.Fg = borderColor
5155
}
5256
}

0 commit comments

Comments
 (0)