Skip to content

Commit

Permalink
update: remove unused bool default val (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Feb 9, 2024
1 parent c682d25 commit a57ac99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a href="https://github.com/go-echarts/go-echarts/pulls" style="text-decoration: none;">
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="Contributions welcome">
</a>
<a href="https://opensource.org/licenses/MIT" style="text-decoration: none;">>
<a href="https://opensource.org/licenses/MIT" style="text-decoration: none;">
<img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="MIT License">
</a>
<a href="https://pkg.go.dev/github.com/go-echarts/go-echarts/v2" style="text-decoration: none;">
Expand Down
2 changes: 1 addition & 1 deletion charts/series.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type SingleSeries struct {
UseUTC types.Bool `json:"useUTC,omitempty"`

// Animation related configs
Animation types.Bool `json:"animation,omitempty" default:"true"`
Animation types.Bool `json:"animation,omitempty"`
AnimationThreshold int `json:"animationThreshold,omitempty"`
AnimationDuration int `json:"animationDuration,omitempty"`
AnimationEasing string `json:"animationEasing,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion opts/legend.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Legend struct {

// Whether to show the Legend, default true.
// Once you set other options, need to manually set it to true
Show types.Bool `json:"show,omitempty" default:"true"`
Show types.Bool `json:"show,omitempty"`

// Distance between legend component and the left side of the container.
// left value can be instant pixel value like 20; it can also be a percentage
Expand Down

0 comments on commit a57ac99

Please sign in to comment.