0 Replies Latest reply on Jan 11, 2010 3:27 AM by nikos101

    Chart ignoring my strokes

    nikos101 Level 2

      Hi again,

      I have a chart that is ignoring my strokes:


          <mx:Stroke id="s1" color="blue" weight="1" />
          <mx:Stroke id="s2" color="red" weight="1"/>
          <mx:Stroke id="s3" color="magenta" weight="1"/>
          <mx:Stroke id="s4" color="black" weight="1"/>
          <mx:Stroke id="s5" color="cyan" weight="1"/>
          <mx:Stroke id="s6" color="green" weight="1"/>
          <mx:Stroke id="s7" color="0xfb4f14" weight="1"/>
          <mx:Stroke id="s8" color="0x0fe0ef" weight="1"/>
          <mx:Stroke id="s9" color="0x000000" weight="1"/>

       

      I have properly referenced them

       

          <mx:LineChart   x="10" y="318" id="linechart0" height="285" showDataTips="true" dataProvider="{clicks}" width="757" seriesFilters="[]">

              <mx:backgroundElements>
                  <mx:GridLines>
                      <mx:horizontalFill>
                          <mx:SolidColor color="#ffffff"/>
                      </mx:horizontalFill>
                      <mx:horizontalAlternateFill>
                          <mx:SolidColor color="#f5f5f5"/>
                      </mx:horizontalAlternateFill>
                  </mx:GridLines>
              </mx:backgroundElements>


                      <mx:horizontalAxis>

                          <mx:DateTimeAxis id="dateTimeAxis0" labelFunction="formatDateLabel"/>
                      </mx:horizontalAxis>
                      <mx:series>
                          <mx:LineSeries displayName="R" yField="RATES"  xField="DATE" form="segment" stroke="{s1}"/>
                          <mx:LineSeries displayName="CON" yField="CONVERSION" xField="DATE" form="segment" stroke="{s2}"/>
                          <mx:LineSeries displayName="t" yField="CALL_ME" xField="DATE" form="segment" stroke="{s3}"/>
                          <mx:LineSeries displayName="FR" yField="FRIEND" xField="DATE" form="segment" stroke="{s4}"/>
                          <mx:LineSeries displayName="CUR_CHARTS_LINK" yField="CURRENCY_CHARTS_LINK" xField="DATE" form="segment" stroke="{s5}"/>
                          <mx:LineSeries displayName="CHARTS" yField="CHARTS" xField="DATE" form="segment" stroke="{s6}"/>
                          <mx:LineSeries displayName="CONTACT" yField="CONTACT_US" xField="DATE" form="segment" stroke="{s7}"/>
                          <mx:LineSeries displayName="RR" yField="RSS_BTN" xField="DATE" form="segment" stroke="{s8}"/>
                          <mx:LineSeries displayName="VID" yField="VIDEO_VIEWS" xField="DATE" form="segment" stroke="{s9}"/>
                      </mx:series>
                  </mx:LineChart>