|
|
|
@ -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); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|