1 Reply Latest reply on Apr 21, 2008 12:23 AM by mihksoft

    ColumnChart

    mihksoft
      Hy!

      It is possible to resize with the mouse the columns from a ColumnSeries from a ColumChart? Can anybody give me an idea? I tried onItemRollOver but I don't know how to get she rollOverItem and how to resize the item on vertical direction.

      This is my mxml:
      <mx:Panel title="ColumnChart and BarChart Controls Example"
      height="100%" width="100%" layout="horizontal">
      <mx:ColumnChart id="columnChart" height="100%" width="45%"
      paddingLeft="5" paddingRight="5"
      dataProvider="{medalsAC}"
      itemRollOver="onItemRollOver(event)"
      itemRollOut="onItemRollOut(event)">

      <mx:horizontalAxis>
      <mx:CategoryAxis categoryField="Country"/>
      </mx:horizontalAxis>

      <mx:series>
      <mx:ColumnSeries id="columnSeries" xField="Country" yField="value" rollOver="onRollOver(event)"/>
      </mx:series>

      </mx:ColumnChart>
      Thank's
        • 1. Re: ColumnChart
          mihksoft Level 1
          I made a canvas and add on top of the item I want to resize. Now when I resize on y axis it works but on decrease y axis it don't move until the top of the rectangle. I used a rectangle for canvas move with startDrag