2
當點擊一個系列時,我得到下一個錯誤:Uncaught TypeError:屬性'firePointEvent'的對象#不是函數。上線9575Highstock:屬性'firePointEvent'對象#<Object>不是函數
在Highstock.js V1.3.1(2013年4月15日):
// the series click event
fireEvent(hoverPoint.series, 'click', extend(e, {
point: hoverPoint
}));
直到有,hoverPoint
存在,並有真正的價值,但還沒有的firePointEvent
方法。
// the point click event
hoverPoint.firePointEvent('click', e);
在此下一行,hoverPoint
依然存在,確實有firePointEvent
方法,但它的所有屬性都爲空。所以它會拋出錯誤:/
這裏有什麼問題?
創建的jsfiddle請舉例說明。 –
看我的文章中的小提琴示例。這個錯誤是否會在不久的將來從高圖中刪除? – Guian