From 5b19468614a1624c52356a68ee0735c23f5bc15c Mon Sep 17 00:00:00 2001 From: Koy Zhuang Date: Mon, 5 Feb 2024 23:30:36 +0800 Subject: [PATCH] fix: wrong type in FontSize (#391) --- opts/x_axis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opts/x_axis.go b/opts/x_axis.go index 2a2401345..4e79d4946 100644 --- a/opts/x_axis.go +++ b/opts/x_axis.go @@ -179,7 +179,7 @@ type AxisLabel struct { // axis label font family FontFamily string `json:"fontFamily,omitempty"` // axis label font size - FontSize string `json:"fontSize,omitempty"` + FontSize int `json:"fontSize,omitempty"` // Horizontal alignment of axis label Align string `json:"align,omitempty"` // Vertical alignment of axis label