refactor: use MaxInt32 instead of MaxInt
This commit is contained in:
parent
50605907c7
commit
825e65d930
2 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ func (l *lineChart) render(result *defaultRenderResult, seriesList SeriesList) (
|
|||
for i, item := range series.Data {
|
||||
h := yRange.getRestHeight(item.Value)
|
||||
if item.Value == nullValue {
|
||||
h = math.MaxInt
|
||||
h = int(math.MaxInt32)
|
||||
}
|
||||
p := Point{
|
||||
X: xValues[i],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue