feat: support font size for series label, #38
This commit is contained in:
parent
f9a534ea02
commit
ef04ac14ab
5 changed files with 13 additions and 2 deletions
|
|
@ -156,6 +156,7 @@ func (h *horizontalBarChart) render(result *defaultRenderResult, seriesList Seri
|
|||
Y: y + barHeight>>1,
|
||||
Offset: series.Label.Offset,
|
||||
FontColor: series.Label.Color,
|
||||
FontSize: series.Label.FontSize,
|
||||
}
|
||||
if series.Label.Position == PositionLeft {
|
||||
labelValue.X = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue