Skip to content

Commit

Permalink
enhance: sts2wchart: update DefaultLineChartOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Aug 20, 2021
1 parent 738783a commit feb4432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/wchart/sts2wchart/line_chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ func (opts *LineChartOpts) WantTitleSuffix() bool {
var defaultLineChartOpts = LineChartOpts{
Legend: true,
RegressionDegree: 0,
XAxisGridInterval: timeutil.Quarter,
XAxisGridInterval: timeutil.Month,
XAxisTickFunc: func(t time.Time) string { return t.Format("Jan '06") },
XAxisTickInterval: timeutil.Year,
XAxisTickInterval: timeutil.Quarter,
YAxisLeft: true,
YAxisMinEnable: true,
YAxisTickFunc: YAxisTickFormatSimple,
Expand Down

0 comments on commit feb4432

Please sign in to comment.