我希望有选择地隐藏一些情节中的一些系列的传说.这个http://www.jqplot.com/docs/files/jqplot-core-js.html#Series.showLabel看起来是正确的选择.
但使用series:{showLabel:false}与似乎不起作用.
这方面的开放(旧)票:https://bitbucket.org/cleonello/jqplot/issue/100/feature-request-individual-legend-control
我用它了吗?任何其他解决方法来实现这一点也是值得赞赏的.
更新:
showLabel 适用于普通的LegendRenderer.
正如标题所说,如何在jqplot图中将上标字体添加到轴标签中?
我尝试使用Javascript sup()函数以及轴的标题的实际html标签,但没有白费.
基本上我需要显示像m 3等单位.我是否需要修改AxisLabelRenderer或者是否有任何明显的解决方法我缺少?
谢谢.