refactor: enhance chart render function
This commit is contained in:
parent
65a1cb11ad
commit
38c4978e44
20 changed files with 665 additions and 462 deletions
|
|
@ -34,7 +34,7 @@ type barChart struct {
|
|||
|
||||
func NewBarChart(p *Painter, opt BarChartOption) *barChart {
|
||||
if opt.Theme == nil {
|
||||
opt.Theme = NewTheme("")
|
||||
opt.Theme = defaultTheme
|
||||
}
|
||||
return &barChart{
|
||||
p: p,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue