fix: fix overflow point
This commit is contained in:
parent
bbbdbe7c5e
commit
28bb9c57bc
3 changed files with 10 additions and 4 deletions
|
|
@ -98,7 +98,7 @@ func barChartRender(opt barChartOption, result *basicRenderResult) ([]markPointR
|
|||
})
|
||||
divideValues := xRange.AutoDivide()
|
||||
for j, item := range series.Data {
|
||||
if j >= len(divideValues) {
|
||||
if j >= xRange.divideCount {
|
||||
continue
|
||||
}
|
||||
x := divideValues[j]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue