1 Reply Latest reply on Aug 22, 2007 2:06 AM by Megha_Shah

    Column Charts

    sendil22
      I am not able to display data at the end of column chart.
      Pie charts have an option to use data as callout.
      If any of you have a solution for this. please reply.
        • 1. Re: Column Charts
          Megha_Shah
          Hi,
          I think u have pass datafield name as xField and yField in series,Here catName and value are my datafield which come from database and catName shows as bottom of each columns.
          I think ,this code may be help you:

          <mx:ColumnChart width="100%" height="100%" horizontalCenter="0" verticalCenter="0" visible="false" id="mainColumnchart" showDataTips="true"
          dataProvider="{model.resultVO.items.getItemAt(0)}" buttonMode="true" useHandCursor="true"
          itemClick="handlePieClick(event)">
          <mx:horizontalAxis>
          <mx:CategoryAxis categoryField="catName"/>
          </mx:horizontalAxis>
          <mx:series>
          <mx:ColumnSeries xField="catName" yField="value"/>
          </mx:series>
          </mx:ColumnChart>
          I hope it will help you.

          Thanks
          megh Shah