以下のようなチャートオプションがあります:
'chart' : {
'defaultSeriesType' : 'bar',
'renderTo' : QIS.WERM.CcySpotValuationContent.LINE_CHART_AREA_ID_
},
'title' : {
'text' : title
},
'exporting':{
'buttons': {
'contextButton': {
'symbol':'url(/fxqis/public/images/excel.gif)',
'onclick': function() {}
}
}
}
しかし、私が望むのは、異なるエクスポート オプションを動的に使用することです。次のように:
if(something){
'exporting':{
'buttons': {
'contextButton': {
'symbol':'url(/fxqis/public/images/excel.gif)',
'onclick': function() {}
}
}
}
}
else{
'exporting':{
'enabled':false
}
}
チャート オプションに if/else 条件を追加できますか? どうやってやるの?
ありがとう。