1
我需要在圖表上畫一條線作爲此鏈接:http://astro.unl.edu/naap/hr/animations/hrExplorer.html(該線條處於「紅色」)。圖中畫線
見我的代碼:http://jsfiddle.net/tmDpZ/20/
但我不知道如何畫線用紅色在圖表中。
你能幫我嗎?
我需要在圖表上畫一條線作爲此鏈接:http://astro.unl.edu/naap/hr/animations/hrExplorer.html(該線條處於「紅色」)。圖中畫線
見我的代碼:http://jsfiddle.net/tmDpZ/20/
但我不知道如何畫線用紅色在圖表中。
你能幫我嗎?
我相信你只是缺少DATA1顏色選項在調用圖()
function plotSlide(data2) {
console.log('cross val is '+data2[0][0]+','+data2[0][1]);
$.plot($("#chart1"), [{
data: data1,
+ color: 'red'},
{
此功能是繪製圖中的交叉。我想繪製點10^5 - 10^-3之間的線(紅色)。像這樣:http://astro.unl.edu/naap/hr/animations/hrExplorer.html 看我的代碼:http://jsfiddle.net/tmDpZ/20/ 你明白嗎? – David 2012-02-23 13:03:26