[flexcoders] Re: Chart VerticlaAxis Maximum

2006-06-26 Thread svktiilikainen
Setting myChart.verticalAxis.maximum in AS (in Flex 1.5) works just 
fine for me. But have you actually set the verticalAxis as 
LinearAxis or CategoryAxis in AS or MXML? Eg. 
myChart.verticalAxis = new mx.charts.LinearAxis();
or 

xx:myChart
 xx:verticalAxis
   mx:LinearAxis maximum=123 /
 /xx:verticalAxis
/xx:myChart


--- In flexcoders@yahoogroups.com, ruddyvanduynslager [EMAIL PROTECTED] 
wrote:

 Hi,
 
 I would change the maximum vertical axis value in actionScript.
 I've tried this: 
 
 myChart.verticalAxis.maximum = ...
 
 but that doesn't works.
 
 It seem that the properties 'maximum' cannot be accessible via 
 myChart.verticalAxis.
 
 Some ideas ?
 
 
 Thanks








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
Hi,

does anyone know how you can determine the length of text in mx:Text 
component before the component is drawn?
In other words, is it possible to find out that the to-be contents of 
a Text component are too big to fit into the component without 
clipping? The Text component here is of fixed width  height, 
multiline, and can contain basically any number of characters, line 
breaks etc.

Satu 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
OK, probably managed to solve this. I can always compare 
preferredHeight with height and preferredWidth with width, and this 
seems to work for now.

Satu

--- In flexcoders@yahoogroups.com, svktiilikainen 
[EMAIL PROTECTED] wrote:

 Hi,
 
 does anyone know how you can determine the length of text in mx:Text 
 component before the component is drawn?
 In other words, is it possible to find out that the to-be contents 
of 
 a Text component are too big to fit into the component without 
 clipping? The Text component here is of fixed width  height, 
 multiline, and can contain basically any number of characters, line 
 breaks etc.
 
 Satu







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
Hi,

and yes, I already viewed your question which is close to what I was 
seeking. In my case, I do not need dynamic size increase, just to 
find out that contents are larger than the component can show. It 
would also be great to be able to tackle, after setting the text, 
the contents that CAN be shown, ie. the clipped contents.

Satu

--- In flexcoders@yahoogroups.com, Leon Tanner [EMAIL PROTECTED] 
wrote:

 Hi Satu,
 Is the question I am asking 'Dynamically increasing size of 
container to
 fit all characters' of interest?  I haven't got any solutions as 
yet,
 but it may be useful...  
 Leon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of svktiilikainen
 Sent: 10 January 2006 09:16
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to determine the content length in
 mx:Text?
 
 OK, probably managed to solve this. I can always compare 
 preferredHeight with height and preferredWidth with width, and 
this 
 seems to work for now.
 
 Satu
 
 --- In flexcoders@yahoogroups.com, svktiilikainen 
 [EMAIL PROTECTED] wrote:
 
  Hi,
  
  does anyone know how you can determine the length of text in 
mx:Text 
  component before the component is drawn?
  In other words, is it possible to find out that the to-be 
contents 
 of 
  a Text component are too big to fit into the component without 
  clipping? The Text component here is of fixed width  height, 
  multiline, and can contain basically any number of characters, 
line 
  breaks etc.
  
  Satu
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
--- In flexcoders@yahoogroups.com, Leon Tanner [EMAIL PROTECTED] 
wrote:

 Hi,
 I think in any case, we'll need a fixed width font...  Could be 
wrong
 though...
 Do you mean you would like to know how to show the clipped contents
 within the text area/input?
 Leon

Hi,
mx:Text component can and does clip its contents all by itself. Say, 
I have text like Polly wants a cracker and I set that to Text.text 
property, Text having fixed, too small width and height. Now the 
component only displays eg. Polly wants a. If I now look at the 
Text.text property it still contains Polly wants a cracker. There 
is no straightforward programmatical way to determine what REALLY is 
displayed in the Text field (or is there??). 
However, just after setting the text, I can compare eg. 
preferredWidth and width of the Text component. If the contents 
are too long, the preferredWidth usually is bigger than actual 
width. This solves my original problem. The second part came as side 
effect.. 

Satu

 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of svktiilikainen
 Sent: 10 January 2006 10:47
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to determine the content length in
 mx:Text?
 
 Hi,
 
 and yes, I already viewed your question which is close to what I 
was 
 seeking. In my case, I do not need dynamic size increase, just to 
 find out that contents are larger than the component can show. It 
 would also be great to be able to tackle, after setting the text, 
 the contents that CAN be shown, ie. the clipped contents.
 
 Satu
 
 --- In flexcoders@yahoogroups.com, Leon Tanner [EMAIL PROTECTED] 
 wrote:
 
  Hi Satu,
  Is the question I am asking 'Dynamically increasing size of 
 container to
  fit all characters' of interest?  I haven't got any solutions as 
 yet,
  but it may be useful...  
  Leon
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of svktiilikainen
  Sent: 10 January 2006 09:16
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: How to determine the content length in
  mx:Text?
  
  OK, probably managed to solve this. I can always compare 
  preferredHeight with height and preferredWidth with width, and 
 this 
  seems to work for now.
  
  Satu
  
  --- In flexcoders@yahoogroups.com, svktiilikainen 
  [EMAIL PROTECTED] wrote:
  
   Hi,
   
   does anyone know how you can determine the length of text in 
 mx:Text 
   component before the component is drawn?
   In other words, is it possible to find out that the to-be 
 contents 
  of 
   a Text component are too big to fit into the component without 
   clipping? The Text component here is of fixed width  height, 
   multiline, and can contain basically any number of characters, 
 line 
   breaks etc.
   
   Satu
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: How to determine the content length in mx:Text?

2006-01-10 Thread svktiilikainen
Thanks, Doug, for the tip. This function will be useful.

Satu

--- In flexcoders@yahoogroups.com, douglowder [EMAIL PROTECTED] 
wrote:

 Hi Satu,
 
 Have you taken a look at TextFormat.getTextExtent() function?  It 
 sounds like that may be what you want.  Documentation on the 
 TextFormat class is available in livedocs.
 
 
http://livedocs.macromedia.com/flash/mx2004/main_7_2/1840.html#40
 09378
 
 Regards,
 Doug
 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Scrollbar placement

2005-11-17 Thread svktiilikainen
Thank you Sree, this really solves the problem! I owe you one!
The upper container Box is actually not needed, the scrollbar appears 
in the right place when I set minHeight=0 on the Form container. 
I have no clue as to why this works but it does.

Satu





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Scrollbar placement

2005-11-16 Thread svktiilikainen
Old question, but did not find working solutions.

I have a structure in a tab navigator (see below) and I would like 
to have the scrollbar (when needed) in a specific place. The tab 
contains a HBox and a Form. HBox is of fixed size and place and 
should always be visible - no scrollbar. The contents of the Form 
are created dynamically and are of various sizes and formats. The 
Form should have a scrollbar when needed. Now the scrollbar is 
always on parent container, VBox, so that the fixed-place HBox 
scrolls as well. 

Setting the sizes does not seem to help, neither does setting 
vScrollPolicy on various components. How can I force the scrollbar 
on the Form scrollableContents?


mx:TabNavigator
  mx:VBox id=myTab width=100% height=100%

mx:HBox id=fixedField width=100% height=40
  !-- label and text inputs here, no scroll needed --
/mx:HBox

mx:Form id=scrollableContents width=100% height=100%
  !-- contents: formitems etc. created dynamically with 
createChild()--
/mx:Form

  /mx:VBox
!-- other tabs here --

/mx:TabNavigator





 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Custom event inheritance

2005-08-03 Thread svktiilikainen
Hi,

and thanks so far. Obviusly, event inheritance does not work the way I 
described. What I really wanted to know was that [Event] metadata 
should be inherited by the subclasses, not needing to do anything 
else to use an inherited event in a subclass. So now 'it's time for 
something completely different', meaning, the event inheritance must 
be done another way. Thanks for the information!
 
Satu







 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hbetumg/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123139548/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Custom event inheritance

2005-08-01 Thread svktiilikainen
Hi all,

how should a custom event be used in subclasses? 

I have a custom event specified in the prototype of an AS class, say 
ScrollSelectList. Now I want to use the event in an instance of a 
subclass of ScrollSelectList, say DataGrid. If I just write something 
like 
mx:DataGrid id=myGrid event-name=function-name,
'event-name' being the event to catch, Flex throws an error
unknown attribute 'event-name' on myGrid.
The event handling works just fine when used in the parent 
(ScrollSelectList) class instance.

Should the event be declared somehow for subclass as well?

Thanks, 
Satu




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hf7r705/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122893407/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Printing whole lotta pages?

2005-07-06 Thread svktiilikainen
Thank you all for the answers. Clearly printing is not the most 
advanced and easy-to-use feature in Flex/Flash.

Nihit, your code example works - it really is possible to print two 
pages even if they are not on screen. Great, thanks! But how does 
the code work, could you explain the logic a little? Where are the 
resizeMask() etc methods coming from?

Satu

--- In flexcoders@yahoogroups.com, Nihit Saxena [EMAIL PROTECTED] 
wrote:
 Check the attached files, you can use the same strategy to print 
areas
 outside of print area/ inside a scroll bar. You can also scale the
 contents to the desired scaling, 
 
 For printing two pages, you can call addPage two times after 
changing
 the look and feel of the page.
 
  
 
 Thanks,
 
 Nihit
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of svktiilikainen
 Sent: Tuesday, July 05, 2005 7:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Printing whole lotta pages?
 
  
 
 Hi,
 
 I need to print a form having two pages. The form consists of 
boxes, 
 containing layout boxes and grids, containing labels, texts etc. 
The 
 contents are pretty long so that a vertical scrollbar is displayed 
on 
 the form. 
 
 I have studied the PrintJob class and tried various procedures 
with 
 little success. How should the pages be scaled in order for them 
to 
 fit to the paper (A4)? And, above all, is there any way to print 
the 
 second page? Is it true that the printable contents should be 
visible 
 when printing?? Now I can print (most of) the first page, with 
good 
 luck, but never the second page (a blank, black page prints out). 
And 
 yes, I have tried manipulating the vPosition of the VBox in 
question 
 to give the PrintJob a clue as where to start the second page. 
This 
 has not worked.
 Suggestions, anyone, please?
 
 Satu
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Printing whole lotta pages?

2005-07-05 Thread svktiilikainen
Hi,

I need to print a form having two pages. The form consists of boxes, 
containing layout boxes and grids, containing labels, texts etc. The 
contents are pretty long so that a vertical scrollbar is displayed on 
the form. 

I have studied the PrintJob class and tried various procedures with 
little success. How should the pages be scaled in order for them to 
fit to the paper (A4)? And, above all, is there any way to print the 
second page? Is it true that the printable contents should be visible 
when printing?? Now I can print (most of) the first page, with good 
luck, but never the second page (a blank, black page prints out). And 
yes, I have tried manipulating the vPosition of the VBox in question 
to give the PrintJob a clue as where to start the second page. This 
has not worked.
Suggestions, anyone, please?

Satu




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] How to change the appearance of a checkbox ?

2005-06-23 Thread svktiilikainen
Dear flexcoders,

how is the appearance of a checkbox customised? I want a disabled 
checkbox (..enabled=false) to look like it is enabled, meaning, not 
grayed out. 

The styles of CheckBox apparently allow only the color of the checkbox 
label to be changed, not the apperance of the rectangle  check mark. 
I assume that the change can be made by using custom skins. However, I 
only want to apply this checkbox appearance in one UI component, not 
the entire application, so that using skins seems somewhat excessive.

Regards,

Satu






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: How to change the appearance of a checkbox ?

2005-06-23 Thread svktiilikainen
Hi,

I've checked the skinning properties but don't understand how to use 
them. The API reference only points to SimpleButton class which has 
its own skin values like SimpleButtonUp. I tried some of the 
properties but did not get them to work. And the API also says 
that The SimpleButton control is also the the only control that 
allows you to specify skin properties in MXML - which made me think 
that checkboxes cannot be handled the same way.

I am making a sort of print preview window. The data is entered in 
another place in another form and the container I'm making is only 
supposed to display the data and enable printing it on paper. So the 
controls should look nice and be inaccessible by the user. Hopefully 
this is not confusing..

Satu  


--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] 
wrote:
 CheckBox should support per-instance skinning via properties like
 falseDisabledSkin.
 
 But I'm curious about your use case. If a disabled checkbox looks 
the
 same as an enabled one, won't your users be confused why it 
doesn't do
 anything when they click it?
 
 - Gordon
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of svktiilikainen
 Sent: Wednesday, June 22, 2005 11:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How to change the appearance of a checkbox ?
 
 Dear flexcoders,
 
 how is the appearance of a checkbox customised? I want a disabled 
 checkbox (..enabled=false) to look like it is enabled, meaning, 
not 
 grayed out. 
 
 The styles of CheckBox apparently allow only the color of the 
checkbox 
 label to be changed, not the apperance of the rectangle  check 
mark. 
 I assume that the change can be made by using custom skins. 
However, I 
 only want to apply this checkbox appearance in one UI component, 
not 
 the entire application, so that using skins seems somewhat 
excessive.
 
 Regards,
 
 Satu
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Invisible data points in line series

2005-06-03 Thread svktiilikainen
Hi Ely,
I have tried a quick-and-dirty implementation, just assigning some 
pointrenderer to the LineSeries object and defining the pointRadius 
and pointFill properties of the LineSeries, and this did not work. The 
datapoint remained invisible. 
Interestingly, since I use a tool tip for each datapoint, the tool tip 
is displayed if I move the mouse around the invisible data point. So 
you have to know there is a point to look for the tool tip.. 
I'll probably make the LineSeries draw the line by setting two very 
close values for the line when there actually is only one value. This 
works just fine.

Satu 






 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Invisible data points in line series

2005-06-02 Thread svktiilikainen
Hi,

I am (still) working on line charts. This time I'm wondering whether 
there is an easy way to make LineSeries objects to show a datapoint 
even if there is only one value in the whole series to show. Of 
course, generally, a line consists of at least two values, but a 
single value should also be rendered in some way. Is this, ie.
needing 
two values for a line, a feature of LineSeries objects?
Can a pointrenderer be used to make this single value visible? 

Regards,
Satu






 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Lineseries and dataproviders?

2005-05-19 Thread svktiilikainen
Hi there,

I've been struggling with line charts containing multiple data
series. 
The data presented is linear so that I'm using LinearAxis for both X 
and Y axis  LineSeries to make the data series.

Is there ANY way to assign different data providers to LineSeries 
objects of one LineChart object?
Moreover, is it possible to use anything else but a named field 
(string) as the xField or yField assignment of the LineSeries 
object? It would be a whole lot easier  more practical to assign eg. 
a column of an array or even a named field in a multidimensional
array 
as the data source, but this seems to be impossible.

Regards,

Satu  




 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Lineseries and dataproviders?

2005-05-19 Thread svktiilikainen
Thank you, Ely!! Since the dataProvider property of the LineSeries 
object is not mentioned in the API docs I assumed it did not exist, 
which is of course my mistake. Sometimes the solution is too near.. 

As for the second part of my question, say I have a two-dimensional 
array :
var array:Array = [[1,2][3,4][5,6]];
Now the first column of each inner array contains the information I 
would like to use as the x field of a chart. Ie. the values for the x 
field would be 1, 3, 5 (array[0][0], array[1][0], array[2][0]). Is 
there a way to define this kind of a dataprovider for a chart?


Satu





 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/