RE: [flexcoders] PieSeries labelPosition - SOLVED

2007-05-11 Thread Sandy Saline
I was missing some quotes. For others:

 

myPieSeries.setStyle("labelPosition", "inside");

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myasandy2
Sent: Friday, May 11, 2007 12:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PieSeries labelPosition

 

I know how to set this style with MXML, but I am stuck with how to set 
it with Actionscript for a pie chart built with Actionscript.

The pie chart works as I expect, I just can't get the label to display.

TIA,
Sandy

 



RE: [flexcoders] column chart - XML data display problem -SOLVED

2007-04-19 Thread Sandy Saline
I'm sure there is another way, but this is all I have time for now.

 

I rewrote the XML into an array collection as in the Using column charts
example at
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.
htm?context=LiveDocs_Parts&file=1231.html

 

The key was being sure the values were of type int and not String.

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myasandy2
Sent: Thursday, April 19, 2007 2:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] column chart - XML data display problem

 

I am new to charting and am stuck with how to display data in a 
column chart. I am trying to have the results for each question 
grouped together.

I can't begin to count the variations I have tried for the data 
provider. At least the Legend is working (I think)!

Any help or explaination would be greatly appreciated.
TIA,
Sandy 

= = = = = data = = = = = = 

aggXML is parsing correctly and a trace statement shows this:
















= = = = = chart code = = = = = = 




















 



RE: [BULK] RE: [flexcoders] charting and predefined axis styles

2007-04-05 Thread Sandy Saline
Thanks, Ely. 

 

Where do I find AxisRenderer.initStyles? Nothing comes up in the Help
which has been my primary source of information. Is there other
documentation that I am missing?

 

Sandy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Wednesday, April 04, 2007 5:58 PM
To: flexcoders@yahoogroups.com
Subject: [BULK] RE: [flexcoders] charting and predefined axis styles
Importance: Low

 

 

 

No, they're there.  

 

blockNumericAxis

linedNumericAxis

dashedNumericAxis

blockCategoryAxis

hangingCategoryAxis

dashedCategoryAxis

 

(You can look in AxisRenderer.initStyles to see where they're set up).

 

Ely.

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myasandy2
Sent: Wednesday, April 04, 2007 12:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] charting and predefined axis styles

I have been working through the Flex 1.5 charting tutorial 
(http://www.adobe.com/devnet/flex/articles/charting.html
 ).

Page 5 (Using CSS to Style Subcomponents - 2) says: "Flex ships with a 
number of predefined axis styles; for this tutorial, use the 
linedNumericAxis and hangingCategoryAxis styles."

I have not been able to find any information about predefined axis 
styles for the current version. Can anyone point me in the right 
direction, or did these die in Flex 2?

TIA
Sandy

 



[flexcoders] Passing id to a function

2007-02-01 Thread Sandy Saline
When I click on a canvas that was created dynamically and given an id, I
am trying to pass the id on to a function that changes the alpha value
of the canvas. 

 

I am using an EventListener and var myID:String =
event.currentTarget.id;  When I use a trace statement, I know the id
value is being passed correctly.

 

This is the point I get stuck at. How do I use this var to change the
alpha value dynamically? 

 

TIA for your assistance.

Sandy

 



[flexcoders] hotspot

2006-12-29 Thread Sandy Saline
I am trying to find information on how to isolate areas of a graphic to
make hot spots that will trigger different events. I am looking for
something like the map tag in HTML or a hotspot interaction in
Authorware.

 

Any ideas about what I should search on or examples would be
appreciated.

 

TIA

Sandy