feat: support mulit y axis

This commit is contained in:
vicanso 2022-02-09 23:44:39 +08:00
parent c0bb1654c2
commit fd05250305
16 changed files with 393 additions and 96 deletions

View file

@ -136,7 +136,7 @@ func pieChartRender(opt ChartOption, result *basicRenderResult) (*Draw, error) {
r.Stroke()
textStyle := chart.Style{
FontColor: theme.GetTextColor(),
FontSize: 10,
FontSize: labelFontSize,
Font: opt.Font,
}
if !series.Label.Color.IsZero() {