options top-level property
Implementation
var options = {
'tooltip': {'trigger': 'axis'},
'legend': {'data': []},
'grid': {
'left': '3%',
'right': '4%',
'bottom': '0%',
'containLabel': true,
},
'toolbox': {
'feature': {'saveAsImage': {}}
},
'xAxis': {'type': 'category', 'boundaryGap': false, 'data': []},
'yAxis': {'type': 'value'},
'series': [],
};