";
html += ""+detail.name+" ("+detail.ucode+") " + ((detail.upchng>0)?"+":"")+detail.upchng.toFixed(2)+"%
";
html += ""+_focus.code+" ("+self.labels[lang][_type]+") " + ((self.hisMode)?"":(((_focus.pchng>0)?"+":"")+(_focus.pchng*1).toFixed(2)+"%"))+"
";
html += "";
return html;
}else{
var html = "";
return html;
}
}else{
var html = "";
return html;
}
}else{
var detail = this.point.detail;
if (detail!=undefined && detail.focus!=undefined && detail.focus){
var _focus = detail.focus;
var _type = _focus.wtype.replace("CBBC/","").replace("EU/","");
var html = "";
return html;
}else{
var html = "";
return html;
}
}
}
}
}
},
drilldown: {
series:data.underlyingSerie,
drillUpButton: {
/*position: {
align: 'center',
verticalAlign: 'top',
y: -50,
x: 0
},
theme: {
fill: '#d7d8d6',
'stroke-width': 2,
stroke: '#fff',
r: 0,
width: 1150,
height: 40,
states: {
hover: {
stroke: '#fff',
fill: '#f5f5f5'
},
select: {
stroke: '#fff',
fill: '#f5f5f5'
}
}
}*/
}
},
series: [{
type: 'treemap',
allowPointSelect: true,
alternateStartingDirection: true,
layoutAlgorithm: 'squarified',
data: data.sectorData,
states: {
hover:{
borderColor: '#ffffff'
}
}
}],
exporting: {
enabled: false
}
}
},
labels : {
tc :{
'CALL' : "認購",
'PUT' : "認沽",
'BULL' : "牛證",
'BEAR' : "熊證",
},
sc :{
'CALL' : "认购",
'PUT' : "认沽",
'BULL' : "牛证",
'BEAR' : "熊证",
},
en :{
'CALL' : "Call",
'PUT' : "Put",
'BULL' : "Bull",
'BEAR' : "Bear",
},
},
}