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
|
|
@ -147,6 +147,8 @@ func (l *lineChart) render(result *defaultRenderResult, seriesList SeriesList) (
|
|||
Value: item.Value,
|
||||
X: p.X,
|
||||
Y: p.Y,
|
||||
// 字体大小
|
||||
FontSize: series.Label.FontSize,
|
||||
})
|
||||
}
|
||||
// 如果需要填充区域
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue