summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go19
1 files changed, 16 insertions, 3 deletions
diff --git a/chart.go b/chart.go
index 0caa505..ce11b59 100644
--- a/chart.go
+++ b/chart.go
@@ -750,22 +750,24 @@ func parseChartOptions(opts string) (*chartOptions, error) {
// reverse_order
// maximum
// minimum
+// number_font
//
// The properties of y_axis that can be set are:
//
// none
// major_grid_lines
// minor_grid_lines
-// major_unit
+// tick_label_skip
// reverse_order
// maximum
// minimum
+// number_font
//
// none: Disable axes.
//
-// major_grid_lines: Specifies major gridlines.
+// major_grid_lines: Specifies major grid lines.
//
-// minor_grid_lines: Specifies minor gridlines.
+// minor_grid_lines: Specifies minor grid lines.
//
// major_unit: Specifies the distance between major ticks. Shall contain a positive floating-point number. The major_unit property is optional. The default value is auto.
//
@@ -777,6 +779,17 @@ func parseChartOptions(opts string) (*chartOptions, error) {
//
// minimum: Specifies that the fixed minimum, 0 is auto. The minimum property is optional. The default value is auto.
//
+// number_font: Specifies that the font of the horizontal and vertical axis. The properties of number_font that can be set are:
+//
+// bold
+// italic
+// underline
+// family
+// size
+// strike
+// color
+// vertAlign
+//
// Set chart size by dimension property. The dimension property is optional. The default width is 480, and height is 290.
//
// combo: Specifies the create a chart that combines two or more chart types