Browse Source

更新 'src/main/resources/com/fr/plugin/sqy/surface/js/index.js'

master
parent
commit
bf03b11531
  1. 4
      src/main/resources/com/fr/plugin/sqy/surface/js/index.js

4
src/main/resources/com/fr/plugin/sqy/surface/js/index.js

@ -13,7 +13,7 @@ surfaceWrapper = ExtendedChart.extend({
let fmt = "(function(value,index){"+option.data.zAxis3D.axisLabel.formatter+"})(value,index)";
option.data.zAxis3D.axisLabel.formatter = function(value,index){return eval(fmt)};
}
console.log(option.data);
//console.log(option.data);
option.data && myChart.setOption(option.data);
myChart.on('click', function (params) {
const links = option.links;
@ -45,7 +45,7 @@ surfaceWrapper = ExtendedChart.extend({
let fmt = "(function(value,index){"+option.data.zAxis3D.axisLabel.formatter+"})(value,index)";
option.data.zAxis3D.axisLabel.formatter = function(value,index){return eval(fmt)};
}
console.log(option.data);
//console.log(option.data);
option.data && chart.setOption(option.data);
},

Loading…
Cancel
Save