fix error in tooltip of moving average chart
parent
7497271ac8
commit
4e233da745
|
@ -74,7 +74,7 @@ const sharedOptions = {
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: true,
|
show: true,
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
valueFormatter: (value) => value.toFixed(2)+' %'
|
valueFormatter: (value) => value == null ? 'N/A' : value.toFixed(2)+' %'
|
||||||
},
|
},
|
||||||
name: (opt) => {
|
name: (opt) => {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue