[flexcoders] Datagrids, radiobutton and scrolling

2009-08-18 Thread Trefalgar Bain
I remember reading an article that talked about this problem, but I can't seem to find it again. I have some radio buttons in a item renderer for a datagrid. Flex, for a reason beyond me, doesn't keep track of radio button values on a per-row basis in a datagrid - it keeps track of them based o

[flexcoders] Re: Variables to reference variables/ids (not variable variables)

2009-06-05 Thread Trefalgar Bain
Exactly what I needed, and it works just as expected. Thank you very much, Tracy! --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > You can do: > > this[chart].series = currentSeries; > > > > if "linechart0" is an id for a component instance or a property of "this" > > > >

[flexcoders] Variables to reference variables/ids (not variable variables)

2009-06-04 Thread Trefalgar Bain
Might be a newbie question, but I'm failing to find this subject in my book or on the web. While you can do variable variables, to create all sorts of fun things, I'm looking to create a variable to reference an object already created. For example ... I have 10 charts on a reporting interface,

[flexcoders] Re: What's wrong with this linechart?

2009-05-14 Thread Trefalgar Bain
also ends up with duplicates (since each line is added separately, they should at some point have horizontal values that are the same), which causes the graph to do all sorts of fun things. T --- In flexcoders@yahoogroups.com, "Trefalgar Bain" wrote: > > --- In flexcoders@yahoogr

[flexcoders] Re: What's wrong with this linechart?

2009-05-14 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "valdhor" wrote: > Give the CategoryAxis an id... > > then, in Actionscript, give it a dataProvider... > ca.dataProvider = testdata; Absolutely right. That's annoying ;) I'm now trying to figure out how to dynamically take the current CatagoryAxis dataProvide

[flexcoders] What's wrong with this linechart?

2009-05-13 Thread Trefalgar Bain
I've got two charts, one is 99% mxml (the 1% is actionscript defining the datasource definition), the other is mostly actionscript. The mxml works, the actionscript does not. Does anyone have any idea what in the world I'm doing wrong? I'd appreciate any pointers, despite how much it could sting.

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-20 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > There you go. Try using matching data functions on your axes and serieses. I don't understand how a dataFunction could help put data on the correct axis, when it just formats the data for reading the xField and yField. I'm not saying it doesn'

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-04 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > > --- In flexcoders@yahoogroups.com, "Trefalgar Bain" wrote: > > > > --- In flexcoders@yahoogroups.com, "Amy" wrote: > > > I think you just need to play with the dataFunctions and/or >

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-03 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > I think you just need to play with the dataFunctions and/or > labelfunctions on the axes until you get what you want. DataFunction sets the data up to be graphed on the line (sets the yField and xField). The lines are graphing fine, just not on

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-02 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > A quick scan of your code isn't revealing to me what you changed. > Could you add in comments that show where you've modified it? I'm getting close. I've got the lines graphing, but each line is on a different axis (I'll attach the code below).

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-02-28 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > Have you checked out this example? > http://flexdiary.blogspot.com/2008/08/charting-example.html Below is what I've ended up with. Allowing each line to have its own axis, it does adjust each max/min axis as expected, but I don't get a line on the

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-02-27 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, "Amy" wrote: > Have you checked out this example? > http://flexdiary.blogspot.com/2008/08/charting-example.html I most certainly have ;) It's where I came up with ... var ar:AxisRenderer=new AxisRenderer(); var la:LinearAxis = new LinearAxis(); la.title = 'SCC

[flexcoders] Adding verticalaxis(es) via actionscript

2009-02-27 Thread Trefalgar Bain
I'm having a rough time getting data to auto-scale to multiple vertical axises. If I use a single axis, the data is graphed without a problem - all the lines show up exactly as they should. The problem I'm trying to solve is that one of the lines is ~100, while the others are less than 20. I'd like