2012-05-01 6 views
1

こんにちは、次のコードでは、 'flags' name: '' data:[{}]などの型を使用して、一連のフラグを設定します。行や領域を描画するフラグ型?xAxis上の行にhighstockフラグを変更する

コードは非常に簡単です「」

    series: [{ 
         type: 'line', 
         name: 'AAPL', 
         data: ohlc, 
         id:'dataseries' 
        }, { 
        type: 'flags', 'this is what i wanted to change to lines 
        name: 'Flags on series', 
        data: [{ 
        x: 1114992000000, 
         title: 'On series' 
        }, { 
         x: Date.UTC(2011, 3, 28), 
         title: 'On series' 
      }], 
         onSeries: 'dataseries', 
         shape: 'squarepin' 

        }, { 
         type: 'line', 
         name: 'Volume', 
         data: volume, 
         yAxis: 1 

     }] 

答えて

1

あなたはhighchartは、箱から出してサポートしていること、Plot linesまたはPlot bandsについて認識していますか? 彼らは、x軸上のこれらの例は与えられていないが、

Vertical Plot lines on x axis @ jsFiddle

あまりにも垂直に配向したとき、彼らは非常に多くの仕事
関連する問題