2 Replies Latest reply on Mar 9, 2012 12:50 PM by con fusion

    CandlestickChart problem with  LineSeries

    PeterWangStick1 Level 1

      I draw a CandlestickChart,but have two series,one is CandlestickSeries and another is LineSeries

      anfter added LineSeries,the CandlestickSeries changed also,the rectangle became smaller

      like the image below, the left is two series,and the right has CandlestickSeries  only :

      对比.JPG

       

       

      The probles is,how can I to remain CandlestickSeries unchanged when the   LineSeries added?

       

      thanks.

        • 1. Re: CandlestickChart problem with  LineSeries
          PeterWangStick1 Level 1

          the code is:

           





          <mx:CandlestickChart id="candleStickChartDay"








          height="100%"








          width="100%"








          paddingRight="-1"








          paddingLeft="-1"








          showDataTips="true" dataTipFunction="colChTipFunc"








          dataProvider="{statisticalArrYear}" >    

          .........










          <mx:series><!- -->





          <mx:CandlestickSeries






          openField="o"   






          highField="h"






          lowField="w"






          closeField="q"






          xField="t"






          fill="{up}"






          declineFill="{down}"






          stroke="{colourBlackBold}"






          boxStroke="{colourBlackBold}"






          />





          <mx:LineSeries id="maFive" xField="t"








             form="curve"  








             displayName=""








             lineStroke="{colourMA5}"








             yField="m5">   





          </mx:LineSeries> 

           

           





          </mx:series>



          </mx:CandlestickChart>
          • 2. Re: CandlestickChart problem with  LineSeries
            con fusion

            Hi,

            I am having a similar issue combining lineseries and candlestickseries.

            When the line series is added the candlesticks are about half as wide.

            Did you resolve this?

            Thanks

            candle-line.PNG