1 Reply Latest reply on May 30, 2009 9:40 AM by _Natasha_

    bar chart issue - bar with categoryField name with different values

    VWinGroups

      hi All,

       

           Can any one provide me the solution for this.

      I am trying to display a bar chart with same categoryField field, but i xField values were different. The bar's are not rendering for all categoryField.

      Sample Xml File:

      <FieldDetails>

      <FieldName>abc</FieldName>

      <FieldCode>121</FieldCode>

      <TotalCount>103</TotalCount>

      <SourceCounts>2</SourceCounts>

      </FieldDetails>

      <FieldDetails>

      <FieldName>abc</FieldName>

      <FieldCode>124</FieldCode>

      <TotalCount>101</TotalCount>

      <SourceCounts>1</SourceCounts>

      </FieldDetails>

       

       

      And My Series is Like:

       

      <mx:series>
               <mx:BarSeries yField="FieldName" id="chartSeries1"
                xField="TotalCount" displayName="Drug" />
      </mx:series>

       

      I am getting only one bar in the chart.

       

      Can any one help out..

      Thanks in advance...