//格式化百分比数据function FormatDataPoint(type){ if (type) { return parseFloat(type).toFixed(2).toString(); } else { return "--"; }}