feat: support pie, radar and funnel chart
This commit is contained in:
parent
3f24521593
commit
65a1cb11ad
18 changed files with 1987 additions and 85 deletions
|
|
@ -628,6 +628,9 @@ func (p *Painter) MultiText(opt MultiTextOption) *Painter {
|
|||
values = autoDivide(width, count)
|
||||
}
|
||||
for index, text := range opt.TextList {
|
||||
if index%opt.Unit != 0 {
|
||||
continue
|
||||
}
|
||||
box := p.MeasureText(text)
|
||||
start := values[index]
|
||||
if positionCenter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue