在图表中添加多行。
在我的项目中 - xaxis-SP值-S yaxis -CMH值
表格中的每条记录 对于每个角度,我有SP1到SP10和CMH1到CMH10
例如:
角度25度曲线10点和形式线-10点是(sp1,CMH1)(SP2,CMH2)....(SP10,CMH10) 26度又一次上述10点如上所述。
我的数据集传递到折线图
"导致":[ {" BLADE_ANGLE_ID":1," SP1":10," SP2":5," SP3":6," SP4& #34;:6," SP5":2" SP6":2" SP7":1," SP8":2, " SP9":3," SP10":2" CMH1":12," CMH2":空," CMH3&# 34;:空," CMH4":空," CMH5":空," CMH6":空," CMH7":空,& #34; CMH8":空," CMH9":空," CMH10":空," CHECKED":1}, {" BLADE_ANGLE_ID":2" SP1":6," SP2":7," SP3":7," SP4& #34;:23," SP5":32," SP6&#34:4," SP7":7," SP8":9, " SP9":55," SP10":45," CMH1":10," CMH2":空," CMH3&# 34;:空," CMH4":空," CMH5":空," CMH6":空," CMH7":空,& #34; CMH8":空," CMH9":空," CMH10":空," CHECKED":1 }]
在这里你可以看到2个叶片角度,这里你需要绘制2条线,每个10点(sp,CMH)有2个不同的角度