highcharts行和列线-不渲染
就我的一生而言,我无法理解为什么线图没有渲染。它渲染的列非常好。这是我的图表选项。有人能解释一下吗? 谢谢highcharts行和列线-不渲染,charts,highcharts,combinations,Charts,Highcharts,Combinations,就我的一生而言,我无法理解为什么线图没有渲染。它渲染的列非常好。这是我的图表选项。有人能解释一下吗? 谢谢 { “图表”: {'renderTo':'container'} , ‘学分’: {'text':''}, “标题”: {'text':'CC SLA达成趋势'}, “副标题”: {'text':'2013-06-01至2013-12-31'}, “xAxis”: {'categories':[2013年6月、2013年7月、2013年8月、2013年9月、2013年10月、2013年11
{
“图表”:
{'renderTo':'container'}
,
‘学分’:
{'text':''},
“标题”:
{'text':'CC SLA达成趋势'},
“副标题”:
{'text':'2013-06-01至2013-12-31'},
“xAxis”:
{'categories':[2013年6月、2013年7月、2013年8月、2013年9月、2013年10月、2013年11月、2013年12月],
'labels':{'enabled':true}},
“yAxis”:
{'min':0,'max':100,
'title':{'text':'CC成绩(百分比)},
'labels':{'format':'{value}%}},
'legend':{'enabled':true},
'tooltip':{'pointFormat':'{point.y:.2f}%},
'lang':{'noData':'没有基于搜索条件的结果,请重试。'},
'noData':{'style':{'fontwweight':'bold','fontSize':'15px','color':'#C7C7C7'}},
'navigation':{'buttonOptions':{'enabled':true},
'导出':{'filename':'ccsla'},
“系列”:[
{'type':'column','name':'acreaction','dataLabels':{'enabled':true},
‘数据’:[73.39,77.33,77.52,70.58,68.95,70.07,73.58]},
{'type':'line','name':'Objective 70.00%','dataLabels':{'enabled':false},
“数据”:[70.00,70.00,70.00,70.00,70.00,70.00,70.00,70.00]}
]
}
也许你有一些旧版本的Highcharts?刚刚在JSFIDLE上测试过,效果很好,请参阅:好的,我下载并重新安装了最新版本,效果很好。我还清除了浏览器历史记录和缓存,所以这可能是问题的一部分。谢谢
{
'chart':
{'renderTo': 'container'}
,
'credits':
{'text': ''},
'title':
{'text': 'CC SLA Attainment Trend'},
'subtitle':
{'text': '2013-06-01 to 2013-12-31'},
'xAxis':
{'categories':['Jun2013', 'Jul2013', 'Aug2013', 'Sep2013', 'Oct2013', 'Nov2013', 'Dec2013'],
'labels':{'enabled': true} },
'yAxis':
{'min': 0, 'max': 100,
'title': {'text': 'CC Attainment (percentage)'},
'labels': {'format': '{value}%'} },
'legend': {'enabled': true},
'tooltip': {'pointFormat': '<b>{point.y:.2f}%<\/b>'},
'lang': {'noData': 'There were no results based on search criteria, try again.'},
'noData': {'style':{'fontWeight': 'bold', 'fontSize': '15px', 'color': '#C7C7C7'} },
'navigation': {'buttonOptions':{'enabled': true} },
'exporting': {'filename': 'CCSLAAttainment'},
'series':[
{'type': 'column', 'name': 'Attainment', 'dataLabels':{'enabled': true},
'data':[73.39, 77.33, 77.52, 70.58, 68.95, 70.07, 73.58]},
{'type': 'line', 'name': 'Objective 70.00%', 'dataLabels':{'enabled': false},
'data':[70.00, 70.00, 70.00, 70.00, 70.00, 70.00, 70.00]}
]
}