This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var currencyValidator = { | |
format: function (number) { | |
return (Math.trunc(number * 1000000000000) / 1000000000000).toFixed(2) | |
}, | |
parse: function (newString, oldNumber) { | |
var CleanParse = function (value) { | |
return { value: value } | |
} | |
var CurrencyWarning = function (warning, value) { | |
return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import echarts from 'echarts'; | |
/******************初始化设置******************/ | |
// 容器高度 | |
var chartheight = 200; | |
// 颜色阈值 | |
var colors = ['#FD6969', '#EFC87C', '#38E7A7', '#2396FC']; | |
// 数据 | |
var xAxisData = []; | |
var data = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import echarts from 'echarts'; | |
/******************初始化设置******************/ | |
// 容器高度 | |
var chartheight = 200; | |
// 颜色阈值 | |
var colors = ['#FD6969', '#EFC87C', '#38E7A7', '#2396FC']; | |
// 显示Y轴 | |
var showY = false; | |
// 数据 |