Still doesn't make itemMouseUp work, though.
On 6/19/06,
Ely Greenfield <[EMAIL PROTECTED]> wrote:
try setting the 'doubleClickEnabled' flag on the chart to true.Ely.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes
Sent: Monday, June 19, 2006 11:24 AM
To: flexcoders
Subject: [flexcoders] bug in chart.itemDoubleClick/itemMouseUp?Using the example given for the help topic "Handling user interactions with charts" works fine:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script><![CDATA[
import mx.controls.Alert;
import mx.charts.events.ChartItemEvent;
[Bindable]
public var dataSet:Object = [{Month: "Jan", Expenses: 1500},
{Month: "Feb", Expenses: 200},
{Month: "Mar", Expenses: 500}];
public function myListener(e:ChartItemEvent):void {
Alert.show("Chart data was clicked");
}
]]></mx:Script>
<mx:ColumnChart id="chart" itemClick="myListener(event)"
dataProvider="{dataSet}">
<mx:horizontalAxis>
<mx:CategoryAxis dataProvider="{dataSet}" categoryField="Month"/>
</mx:horizontalAxis>
<mx:series>
<mx:Array>
<mx:ColumnSeries yField="Expenses"/>
</mx:Array>
</mx:series>
</mx:ColumnChart>
</mx:Application>
However, if you change "itemClick" to "itemDoubleClick", it does not seem to work. Same goes for "itemMouseUp."
--
Jason
--
Jason __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- RE: [flexcoders] bug in chart.itemDoubleClick/itemMouseUp? Ely Greenfield
- Re: [flexcoders] bug in chart.itemDoubleClick/itemMou... Pan Troglodytes
Reply via email to