所以我有這樣的功能:我在哪裏可以找到plothover函數中'item'的屬性列表?
$.fn.UseTooltip = function() {
$(this).bind("plothover", function (event, pos, item) {
if (item) {
......
item.pageX, item.pageY, item.series.data, item.dataIndex...
我想知道那裏是所有項目的屬性的列表。謝謝!
可能:'console.dir(項目)' – epascarello