我正在使用jquery jqplot(條形圖)和ruby on rails應用程序。我將發送日期作爲2012年4月,並以美元計算。在鼠標懸停工具提示上顯示的日期爲索引,即 [1,$ 200],[2,$ 300]而不是日期(2013年4月)。我怎樣才能取代這個指數與日期?其中 日期位於x軸上,數量位於y軸上。 這裏是我的熒光筆代碼:在jqplot工具提示顯示日期
highlighter:
show: true
showMarker: false
formatString: '<table class="jqplot-highlighter">
<tr><td><b>%s</b></td><td><b>%s</b></td>
</tr></table>'
日期出現在哪個軸? – rony36 2013-05-03 05:46:53
x軸上存在日期 – Arif 2013-05-03 06:55:01