RE: [flexcoders] Thermo & Cairngorm

2007-10-05 Thread Ely Greenfield
Hi Tom. It's of course still early, but generally, that's right, I think the contract between the designer and developer can be 90% captured as 'I need elements of these types with these ids, and other than that go to town.' (See my MAX talk for a concrete example :). Ely. -Original Me

RE: [flexcoders] alternating row color in bar chart -- Problems

2007-09-27 Thread Ely Greenfield
It's probably the horizontal (vertical? Can't remember) origin line. Look at the style options for gridline to see how to disable the horizontal origin from being drawn. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Thursday, September 2

RE: [flexcoders] zoom - in charts

2007-09-26 Thread Ely Greenfield
Can you describe what you're looking for in more detail? I can interpret what you said in many different ways. E. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sunil Bannur Sent: Wednesday, September 26, 2007 8:48 AM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] Re: Flex ignoring Actionscript Timeline Actions

2007-09-24 Thread Ely Greenfield
Hmmm. I don't have an easy answer for you. I know there were some issues during CS3 development around classes not getting included unless you did some specific settings, but I thought we had resolved them. One thing to make sure you're _not_ doing is sharing your source files bet

RE: [flexcoders] Flex ignoring Actionscript Timeline Actions

2007-09-24 Thread Ely Greenfield
icated than we'd like it to be, and are looking into improving it. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Monday, September 24, 2007 1:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex ign

RE: [flexcoders] Flex ignoring Actionscript Timeline Actions

2007-09-24 Thread Ely Greenfield
- Is your CS3 SWF using AS2 or AS3? - Are you bringing it into Flex a) dyanamically, at runtime, as a loaded, played swf, b) dynamically, at runtime, as a class pulled out of a loaded SWF, c) statically at compile time, by embedding a SWF, or d) statically, at compile t

RE: [flexcoders] How would you go about to make SuperImage support .swf?

2007-09-19 Thread Ely Greenfield
Down at the bottom of the commitProperties() routine, add an extra else clause to the big if statement: Else if (newSource is DisplayObject) { _content = newSource; } That should in theory take care of it. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] Re: How do I setStyle("showDataEffect", interpolate) for a LineSeries?

2007-09-14 Thread Ely Greenfield
Nate...do me a favor, and try a test. 1) Create a lineseries in actionscript 2) Set its showDataEffect to interpolate (using the second approach you describe below...something like mySeries.setSTyle("showDataEffect",new SeriesInterpolate()); 3) Give it some data 4)

RE: [flexcoders] barChart sizing

2007-09-14 Thread Ely Greenfield
Nope. Generally speaking, that sounds like a dangerous proposition, as it results in a chart with inaccurate data. Perhaps you're asking for a way to set a minimum scale on an axis...which also isn't supported, but is a reasonable feature to add, if you want to submit a feature request.

RE: [flexcoders] Flex Pie Charts: Rotation of slices...

2007-09-14 Thread Ely Greenfield
Not out of the box. You could go in and finagle the calculations done by the PieSeries, but that's going to be non-trivial work. Multiple stored values are computed from those angles. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mrvinedit Sent: Frida

RE: [flexcoders] Re: How do I generate random colors (within a range)?

2007-09-12 Thread Ely Greenfield
--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > Grey RGB values have the same byte value in each of the rbg channels. > So your best bet is to store your grey values as single byte h

RE: [flexcoders] How do I generate random colors (within a range)?

2007-09-12 Thread Ely Greenfield
Grey RGB values have the same byte value in each of the rbg channels. So your best bet is to store your grey values as single byte hex values myGreys = [0xAA, 0x58, 0x22]; then interpolate between those values: var newGreyByte:uint = ((myGreys[0] + (myGreys[1] - myGreys[0]) * Math

RE: [flexcoders] LineSeries Stroke color

2007-09-07 Thread Ely Greenfield
You can't specify just part of a stroke (this is a long standing request in MXML...be able to specify properties on aggregated objects without replacing the aggregated object). But the default colors are specified in mx.charts.styles.HaloDefaults: 0xE48

RE: [flexcoders] constructors in extended components: can they take arguments?

2007-09-07 Thread Ely Greenfield
The answer is: Generally, yes, subclasses can add or modify arguments. But in scenarios where you are passing a class around to be instantiated by other code, your class constructor needs to conform to whatever contract is defined by that code. In this case, the contract defined by ch

RE: [flexcoders] Re: Chart itemRenderers - how to get origional data values?

2007-09-06 Thread Ely Greenfield
You probably need an import statement. import mx.charts.series.BarSeries; Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shaun Sent: Wednesday, September 05, 2007 11:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Chart itemRe

RE: [flexcoders] Re: Problem with Content spilling over beyond it's container's bounds

2007-09-06 Thread Ely Greenfield
Given Alex's point, that SWF size can change dynamically, getting your measure/updateDisplayList functionality right might be difficult. An easy solution, in my mind, would be: 1) Set the width/height of your custom class to 100%, so it fills your title window (or do whatever you wa

RE: [flexcoders] Chart itemRenderers - how to get origional data values?

2007-09-05 Thread Ely Greenfield
_chartItem.item[BarSeries(_chartItem.element).xField]; (chartItem.item is the original record out of the dataProvider. BarSeries(_chartItem.element).xField is the field you told the series to use as its x value). Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTEC

RE: [flexcoders] DateTimeAxis on BarChart needs tweeking

2007-08-31 Thread Ely Greenfield
By default, a chart will filter out any items that extend beyond the defined min/max ranges. If you set filterData=false on the series, it will render all items, regardless of how they fit in the ranges. It will still clip the data region of the chart, so they won't extend beyond the vis

RE: [flexcoders] addChild to UITextField?

2007-08-31 Thread Ely Greenfield
For what it's worth, if you have a registered copy of the charting components, there's a class that does essentially what jon is describing: mx.charts.chartClasses.ChartLabel. It's what the charts use for axis titles. It uses native font rendering if the font is embedded or if the

RE: [flexcoders] Re: Help - need to access all chartItems! (not a bug in findDataPoints())

2007-06-08 Thread Ely Greenfield
If they make any assumptions, it will be in findDataPoints() itself, which each type overrides. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Demling Sent: Friday, June 08, 2007 9:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: He

RE: [flexcoders] Help - need to access all chartItems! (bug in findDataPoints()?)

2007-06-08 Thread Ely Greenfield
Hi Peter. About findDataPoints() - various series types optimize under the assumption that their data never overlaps (i.e., a columnSeries assumes its columns don't sit on top of each other, so you never need to see tips for multiple columns at once). As far as accessing the chart items.

RE: [flexcoders] Package Level Funtions

2007-06-05 Thread Ely Greenfield
Hi Jesse. The answer is no, you can't do that. When you try and use a class, method, global variable, flex needs to know where to go to find the definition of that variable. Exhaustively searching every file in your classpath would be prohibitively expensive. Instead, we impose the rule tha

RE: [flexcoders] Re: Really complex buttons (aka what WPF got right)

2007-06-04 Thread Ely Greenfield
L - there, the components are practically "look-less" and this is definitely something that can be hard to change. Anyway, I just wanted to share my first impressions. Hope it will be of any value to you. Regards, Borek --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoo

RE: [flexcoders] Really complex buttons (aka what WPF got right)

2007-06-01 Thread Ely Greenfield
Hi Borek. I can give you the short answer, which is that composition is an important goal of the flex framework. But we have two design goals which WPF doesn't have - specifically - keeping the framework something that will perform well on the 98% of the machines on the internet t

RE: [flexcoders] Re: Charts and Business day axis

2007-05-31 Thread Ely Greenfield
The DateTimeAxis doesn't currently do business weeks. It's something we're looking at adding for the next version. In the meantime, you have three choice, in increasing order of difficulty: 1) Use a category axis, and deal with tiny labels 2) Use a category axis, set dro

RE: [flexcoders] Re: Labels on inner side of axis for Charts

2007-05-31 Thread Ely Greenfield
Yes, this can be done with a custom axis renderer. The axis renderer can render into the data area, if it wants. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner Sent: Thursday, May 31, 2007 12:38 PM To: flexcoders@yahoogroups.co

RE: [flexcoders] BarChart - Reversing draw order?

2007-05-31 Thread Ely Greenfield
Nope. The all charts try to render axes consistently The 'first item' in a category axis corresponds to zero. A horizontal axis always puts zero on the left, and a vertical axis always puts zero (or the lowest value) on the bottom. So the first item in the axis goes on the left on the ho

RE: [flexcoders] Custom Datatip Renderes for charts

2007-05-30 Thread Ely Greenfield
__ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 30, 2007 2:40 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Custom Datatip Renderes for charts There's nothing special going on in the GraphicsUtil

RE: [flexcoders] Custom Datatip Renderes for charts

2007-05-30 Thread Ely Greenfield
There's nothing special going on in the GraphicsUtilities class. The problem is that you're drawing into a sprite, rather than directly into your component's own graphics. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of patricklemiuex Sent: Wednesda

RE: [flexcoders] Custom Datatip Renderes for charts

2007-05-30 Thread Ely Greenfield
The text for data tips is flash standard HTML. So you can control font, color, formatting, etc. with html tags. I'm surprised dollar signs are removed, maybe if you tried encoding them, it might render correctly? There's no way to get rounded corners with the default data tip. But All c

RE: [flexcoders] Re: Superimposing chart.

2007-05-29 Thread Ely Greenfield
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Malik Sent: Tuesday, May 29, 2007 12:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Superimposing chart.

RE: [flexcoders] Re: rotation and scrollbar generation in canvas and rotation and drag and drop

2007-05-29 Thread Ely Greenfield
Right on all counts Jason. Our layout system isn't really written to handle rotation in a deeply integrated manner. It's something we'd like to include, but most use cases don't really require rotation, so it's a bit lower down on the priority list. As Alex points out, doing it incorrec

RE: [flexcoders] star (*) data type vs. Object

2007-05-25 Thread Ely Greenfield
Array does return *, regardless of what the docs say. The best test, IMHO, is assignment...downcasting an Object type requires a cast, while downcasting a * type doesn't. For example: Var o:Object = new Foo(); Var s:* = new Foo(); Var f1: Foo; f1 = o; // error...need a cast S

RE: [flexcoders] LineSeries interpolateValues=false

2007-05-25 Thread Ely Greenfield
Shouldn't matter. I assume that your data has gaps in it, yes? i.e., you've got 10 categories in your category axis, but there's no value in your data provider for items 4 and 7, or something to that effect? One thing worth pointing out...if I remember correctly, the lineseries will break

RE: [flexcoders] Chart animation not updating itemrenderer

2007-05-25 Thread Ely Greenfield
They get recycled for performance reasons, but they will all get their data property reassigned. Most of the time people have posted problems like this, it involves bugs in their custom renderer code...accidentally short-cutting their set data function, for example. If you post (simple)

RE: [flexcoders] dataToLocal on a bubble chart z-axis

2007-05-24 Thread Ely Greenfield
Simon...can you give a little more detail? Once you have a reference to an item, you can find out how big it is on screen by looking at bubbleSeriesItem.z * bubbleSeries.maxRadius; Alternatively, if you have a data value you want to convert, something like this should work:

RE: [flexcoders] Re: Custom Chart

2007-05-24 Thread Ely Greenfield
rect one to use. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > > > Sounds like a chart: > > > > - With two separate bar series, one for actual, one f

RE: [flexcoders] Gradient Fill for an AreaChart

2007-05-24 Thread Ely Greenfield
Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lemiuex Sent: Wednesday, May 23, 2007 11:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Gradient Fill for an AreaChart Is there a simple way to specify

RE: [flexcoders] Custom Chart

2007-05-24 Thread Ely Greenfield
Sounds like a chart: - With two separate bar series, one for actual, one for plan - Set to 'overlaid' mode - The plan series has a custom renderer that just renders a vertical line, rather than a whole bar. Ely. From: flexcoders@yahoogroups.com

RE: [flexcoders] Charting dataTransform.invertTransform() on DateTimeAxis

2007-05-24 Thread Ely Greenfield
Nope. invertTransform converts a position along the axis to a numeric data value. For DTAxis, data values are dates For that matter, DTAxes don’t have a dataProvider, so there’s no concept of a dataprovider for them to compare against. It’s up to you to use the value returned to search t

RE: [flexcoders] Series::stripNaNs Exception in LineGraph

2007-05-24 Thread Ely Greenfield
Can you post very simple sample code? What does your MXML look like? Etc. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flexing... Sent: Wednesday, May 23, 2007 1:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Series::stripNaNs Exception i

RE: [flexcoders] Re: Setting dataTipCalloutStroke="{null}" when dataTipMode="multiple"?

2007-05-18 Thread Ely Greenfield
stion is "no", I assume this would be the only way to embed data provider fields (e.g. "Smith,John" from the ChartItem) into the ItemRenderer? thanks again, -Peter Demling Lexington, MA --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely

RE: [flexcoders] Re: Setting dataTipCalloutStroke="{null}" when dataTipMode="multiple"?

2007-05-18 Thread Ely Greenfield
stions; believe me, little bumps in the road like this don't take away from the enormous benefit this charting API has already been for us. Regards, -Peter Demling Lexington, MA *is quietlyScheming.com down? I lost connection this morning... --- In flexcoders@yahoogroups.com <mailto:fle

RE: [flexcoders] Setting dataTipCalloutStroke="{null}" when dataTipMode="multiple"?

2007-05-18 Thread Ely Greenfield
Peter - Took a peek at the code, and that looks to be an unfortunately bug on my part. Use 'calloutStroke' instead of 'dataTipCalloutStroke' style. You might have to set it programmatically: myChart.setStyle("calloutStroke",null); That should solve the problem (and in a more per

RE: [flexcoders] Setting dataTipCalloutStroke="{null}" when dataTipMode="multiple"?

2007-05-18 Thread Ely Greenfield
Set it to a stroke with an alpha of 0. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Demling Sent: Friday, May 18, 2007 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Setting dataTipCalloutStroke="{null}" when dataTi

RE: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Ely Greenfield
Austin et. al. - There are a number of features of MXML that simply can't be replicated at runtime. Things like script blocks. Other features would be prohibitively difficult (arbitrary binding expressions, @Embed, mx:Component, among others). You could reduce MXML to a runtime-parsable

RE: [flexcoders] Re: XML data bound to a chart- this should work!

2007-05-17 Thread Ely Greenfield
If you're referring to an attribute in XML, you need to use "@id", not "id". Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of barry.beattie Sent: Thursday, May 17, 2007 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML data bound to a cha

RE: [flexcoders] Re: Absolutely forcing chart to redraw

2007-05-15 Thread Ely Greenfield
> Anybody have ANY insight? > > Bueller? Bueller? > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "carl_steinhilber" > wrote: > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , &

RE: [flexcoders] ChartBase.invalidateData()

2007-05-14 Thread Ely Greenfield
Hi Jason. Probably not a great reason why it shouldn't be exposed, other than it wasn't designed to be. i.e., log a bug, enhancement request, etc. because I think it's a good idea. In the meantime, if you want, you could subclass your chart type, and define a method: Public function publ

RE: [flexcoders] Re: looking for a SeriesSlide that keeps the old points on the graph

2007-05-11 Thread Ely Greenfield
ur blog is always a great resource for Flex coding. It's also a big part of how I sold the boss on Flex. I just let him play with all the pretty examples. On 5/11/07, Ely Greenfield <[EMAIL PROTECTED]> wrote: I don't believe that would be possible with the current cha

RE: [flexcoders] Re: looking for a SeriesSlide that keeps the old points on the graph

2007-05-11 Thread Ely Greenfield
I should add...the interpolation effects do this, but they cheat. Each series has specific support for interpolation built in to them, and the interpolation effect just calls to the series to set up and execute the interpolation. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: looking for a SeriesSlide that keeps the old points on the graph

2007-05-11 Thread Ely Greenfield
I don't believe that would be possible with the current chart effect API. That would require the series to create a superset of the before and after items to display at the same time. The effects generally don't have the ability to ask the series to create or show more items, and they don't

RE: [flexcoders] Re: Absolutely forcing chart to redraw

2007-05-11 Thread Ely Greenfield
Hi Carl. I'd like to help, but I really need to see your code. Again, a very simple example...of your item renderer, and the mxml, and some actionscript that shows what kind of a change you're trying to make...will be necessary to really help. I don't see your item renderer code in the post be

RE: [flexcoders] How to assign chart series itemRenderer in AS3?

2007-05-11 Thread Ely Greenfield
rom: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Thursday, May 10, 2007 8:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to assign chart series itemRenderer in AS3? This s

RE: [flexcoders] Re: How to assign chart series itemRenderer in AS3?

2007-05-10 Thread Ely Greenfield
same! thing you suggested. --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > This should work fine: > > > > Import mx.charts.renderers.LineRenderer; > > > > lineSeries.setStyle("itemRe

RE: [flexcoders] How to assign chart series itemRenderer in AS3?

2007-05-10 Thread Ely Greenfield
This should work fine: Import mx.charts.renderers.LineRenderer; lineSeries.setStyle("itemRenderer",new ClassFactory(LineRenderer)); Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Wright Sent: Thursday, May 10, 2007 10:16 AM To: flexcoders

RE: [flexcoders] Absolutely forcing chart to redraw

2007-05-09 Thread Ely Greenfield
Carl - Can you share some sample code? The simpler the better. My short answer is...the chart will only set the data property on your renderer if the chart knows things have changed. Since the chart knows nothing about the size or color fields, it won't trigger an update. You'l

RE: [flexcoders] Re: Image Component Nightmare

2007-05-09 Thread Ely Greenfield
My guess is that you have an explicit width / height set on the image. In flex, an explicitly set width height Is essentially setting the widthAfterScale and heightAfterScale. So setting scaleX and scaleY won't change the on screen rendererd size of the child. You need to manually scale the

RE: [flexcoders] LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-05 Thread Ely Greenfield
The kludgey answer is: 1) Invert all your values (5 becomes -5) 2) Add labelFunctions to your axis (and possibly dataTip functions) to re-invert the values before they get displayed on screen. There's no functionality in the charts right now to just tell an axis to rend

RE: [flexcoders] How to display Chart datatip at a specific data point ?

2007-05-01 Thread Ely Greenfield
Hi Claude. We've heard the request for programmatic datatips before, and have it on the list for consideration. In the meantime, it wouldn't be too hard to roll your own using the data graphics API: http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ Ely. From: f

RE: [flexcoders] Question on Ely's SuperImage Component

2007-04-26 Thread Ely Greenfield
Hi Mike. There is a _content property in the SuperImage, which is essentially the same as the Image.content property. However, the SuperImage actively maintains the size and position of the content, so I don't think you can guarantee that changes you make to its position will stick. So,

RE: [flexcoders] Re: Negative plane in Column Chart

2007-04-24 Thread Ely Greenfield
ers%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > > Charts don't support stacking negative values. If you need this > functionality you could simulate it with individual column series with > min/max fields s

RE: [flexcoders] Re: Negative plane in Column Chart

2007-04-24 Thread Ely Greenfield
dd another (invisible) > ColumnSeries with empty dataProvider in my ColumnChart, it began to display > negative values for that ColumnSet. This problem description is rather > messy, I am sorry :) Is there are any thoughts about such a behavior? > > 2007/2/22, Ely Greenfield <[E

RE: [flexcoders] DateTimeAxis problem: aligning dates with their year value

2007-04-23 Thread Ely Greenfield
Peter...usually that's a problem of time zones. i.e., you're specifying your times in local time, and the DateTimeAxis is rendering in UTC. So Jan 1 in local time becomes Dec 31 in UTC, for example. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter

RE: [flexcoders] Multi-axis chart

2007-04-17 Thread Ely Greenfield
Mikhail -- Flex 2 only supports 2 axis renderers. The underlying architecture supports arbitrary number of independent axes, but you'll have to get pretty deep into writing a custom chart to get access to the functionality. This is a feature we're considering for a future charting release. El

RE: [flexcoders] datetimeaxis problem

2007-04-17 Thread Ely Greenfield
Unfortunately, the current public DateTimeAxis doesn't support this. Your options are: 1) Use a category axis. 2) 2) write your own custom axis. We're looking at including this functionality in a future release of Flex charting. Ely. From: flexcoders@yahoogrou

RE: [flexcoders] Re: Bubble charts with only one bubble

2007-04-16 Thread Ely Greenfield
What happens if you replace the radiusAxis with a LinearAxis with baseAtZero =true? i.e., try a BubbleChart configured like this: Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gaurav1146 Sent: Friday, April 1

RE: [flexcoders] Re: Filtered data in Plot Series

2007-04-10 Thread Ely Greenfield
r. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paultwright Sent: Tuesday, April 10, 2007 12:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Filtered data in Plot Series --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoo

RE: [flexcoders] columns does not appear in column chart with large dataset?

2007-04-09 Thread Ely Greenfield
Hmm...The best answer I could give you would be to write a custom item renderer that draws itself at a minimum width. i.e., even if the chart tells the renderer to be .1 pixels wide, it should draw itself at a minimum of .1 pixels wide (or something to that effect). Ely.

RE: [flexcoders] HyperLink on Label in PieChart

2007-04-09 Thread Ely Greenfield
There's no built in support for doing this. If I were to try and make this happen, I would probably do it like so: 1) The PieSeries has a property called labelContainer. This is a reference to the flash.display.Sprite that contains all of the labels being displayed by the Series

RE: [flexcoders] Repeater and Chart Legend issue

2007-04-09 Thread Ely Greenfield
Since your linechart is inside a repeater, the member referenced by its id (lineChart) is an array of line charts, not just a single reference to a line chart. Since you're assigning an array as the dataProvider to the repeater, it's trying to interpret that array as an array of legend ite

RE: [flexcoders] Filtered data in Plot Series

2007-04-06 Thread Ely Greenfield
Hi Paul. Off the top of my head, I don't see any reason why that should be happening. Can you share a simple test case? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Wright Sent: Thursday, April 05, 2007 3:00 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Charts: Computed gutters makes text unreadable

2007-04-06 Thread Ely Greenfield
Hi Dana. Unfortunately, there's no way to tell charts to adjust their size to accommodate labels. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride Sent: Friday, April 06, 2007 11:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cha

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

2007-04-05 Thread Ely Greenfield
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: [flexcoders] Any way to set a chart renderer from action script?

2007-04-05 Thread Ely Greenfield
mySeries.setStyle("itemRenderer",new ClassFactory(MyCustomRendererClass)); Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pekka Kola Sent: Thursday, April 05, 2007 3:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] charting and predefined axis styles

2007-04-04 Thread Ely Greenfield
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:[EMAI

RE: [flexcoders] Re: Labelling the bubbles of a bubble chart

2007-04-04 Thread Ely Greenfield
here to start looking before I dive off into the jungle and get hopelessly lost. Thanks Simon --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > three ways, in order of difficulty: > &

RE: [flexcoders] charting stacked areas and unstacked lines on datetime x axis

2007-04-04 Thread Ely Greenfield
An image of what you're trying to achieve would be helpful. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mcoulten Sent: Wednesday, April 04, 2007 5:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] charting stacked

RE: [flexcoders] can i add custom labels to my chart's x-axis?

2007-04-03 Thread Ely Greenfield
Hi Tushar. What you're trying to do sounds like the default beahvior for charts, so I'm not sure I'm understanding the request. Can you provide more details? Thanks. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dd.shah Se

RE: [flexcoders] Labelling the bubbles of a bubble chart

2007-04-03 Thread Ely Greenfield
three ways, in order of difficulty: 1) custom bubble renderer. easy to do, but hard to do anything smart so the labels don't overlap. 2) custom annotation using the post from my blog. Easy to do, but not the most efficient approach. 3) custom bubble series. Requires rolling up your sleves a

RE: [flexcoders] Re: How to disable the default drop shadow for a chartseries?

2007-04-03 Thread Ely Greenfield
set the seriesFilters property on the chart. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anewgene Sent: Monday, April 02, 2007 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to disable the default dr

RE: [flexcoders] LineChart gridlines & labels with daily data

2007-03-29 Thread Ely Greenfield
Use a DateTimeAxis, and set the labelInterval to months. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mr19 Sent: Thursday, March 29, 2007 9:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LineChart gridlines & lab

RE: [flexcoders] How to create and apply an easing funtion to a chart using ActionScript

2007-03-26 Thread Ely Greenfield
chart.series[0].setStyle("showDataEffect",seriesEffect); Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Sunday, March 25, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create

RE: [flexcoders] Default ColumnSeries type in CartesianChart

2007-03-26 Thread Ely Greenfield
Put them in a ColumnSet (this is what ColumnChart does implicitly for you): Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Justin Makeig Sent: Monday, March 26,

RE: [flexcoders] Can Ely's Flexbook open by default on a given page?

2007-03-26 Thread Ely Greenfield
Set currentPageIndex instead. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Sent: Thursday, March 22, 2007 7:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can Ely's Flexbook open by default on a given page?

RE: [flexcoders] Re: ColumnChart x-axis

2007-03-22 Thread Ely Greenfield
-axis And how do you do that? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > You can manually set the minimum of the horizontal axis to whatever you > want. > > &

RE: [flexcoders] ColumnSeries NumberFormatting

2007-03-22 Thread Ely Greenfield
labelFunctions on the Axes for the axis labels, dataTipFunction on the chart for the data tips. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Thursday, March 22, 2007 5:54 AM To: flexcoders@yahoogroups.co

RE: [flexcoders] Re: small problem with Bar Chart showing days

2007-03-22 Thread Ely Greenfield
0, rc.width, rc.height)); } else fill.begin(g, new Rectangle (0, 0, rc.width, rc.height)); } g.lineTo(rc.right,rc.top); g.lineTo(rc.right,rc.bottom); g.lineTo(rc.left,rc.bottom); g.lineTo(rc.left,rc.top); fill.end(g); } } } --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

RE: [flexcoders] Re: copying bitmap data

2007-03-21 Thread Ely Greenfield
ng a TextField rather than a canvas. Is that the issue? OK to turn a TextField into a bitmap, but not a canvas? Dave --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > [DefaultPro

RE: [flexcoders] Re: small problem with Bar Chart showing days

2007-03-21 Thread Ely Greenfield
Hi Mark. Try using the mx.graphics.LinearGradientFill class. It will proably make your life much easier than trying to use the graphics begingradientFill function. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: We

RE: [flexcoders] ColumnChart x-axis

2007-03-21 Thread Ely Greenfield
You can manually set the minimum of the horizontal axis to whatever you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Wednesday, March 21, 2007 3:45 AM To: flexcoders@yahoogroups.com Subject: [flexcode

RE: [flexcoders] copying bitmap data

2007-03-21 Thread Ely Greenfield
[DefaultProperty("content")] class RawContainer extends UIComponent { private var _content:Array = []; public function set content(value:Array):void { _content = value; for(var i:int = 0;i<_content.length;i++) { addChildAt(_content[i],i); } whi

RE: [flexcoders] Re: silly question about using "src" folder

2007-03-21 Thread Ely Greenfield
Yes, that's the way I build all my projects. If you specify a the root source folder in the project properties, it can be different from the project root. What you can't do is put an application in a sub folder beneath the root source folder. Ely. From:

RE: [flexcoders] Entire bar disappears when zooming a BarChart

2007-03-20 Thread Ely Greenfield
Set the filterData property of the BarSeries to false. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anewgene Sent: Tuesday, March 20, 2007 4:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Entire bar disappears wh

Re: [flexcoders] How to switch a single axis chart to a dual axis chart ?

2007-03-15 Thread Ely Greenfield
Series draw against their asigned axes regardless of whether or not their axisrenders are visible. You need to switch the second series to be the primary series. - Original Message - From: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Sent: Thu Mar 15 00:20:01 2007 Subje

Re: [flexcoders] Re: Charts - Rotated labels not visible on horizontal axis

2007-03-13 Thread Ely Greenfield
fying the > font as the embedded font, the labels no longer appear and the > horizontal axis loses its formatting. > > Ely, I will try to post some code by today end. > > Thanks > Deepa. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,

RE: [flexcoders] custom charting component question

2007-03-13 Thread Ely Greenfield
Hmm... - add a mouse down handler to the series. - on mouse down, add mouse move/up handlers - on mouse move, figure out how much the mouse has moved - do a localToData on the left side of the chart plus the delta, and the right side of the chart plus the delta. - those are your new min/max

RE: [flexcoders] custom charting component question

2007-03-13 Thread Ely Greenfield
Brendan -- and anyone else implementing drag functionality -- as a general rule, the way you should implement drag functionality is: - add a mousedown handler to the thing you want to drag. - on mouse down, add a mouse move and mouse listener handler _to the systemManager_, _in the cap

RE: [flexcoders] Separating layout from intent - As cited by Ely Greenfield on the FishEye post

2007-03-12 Thread Ely Greenfield
On Behalf Of João Sent: Monday, March 12, 2007 3:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Separating layout from intent - As cited by Ely Greenfield on the FishEye post I was reading this blog post from Ely: http://www.quietlyscheming.com/blog/components/fisheye-compone

RE: [flexcoders] Charts - Rotated labels not visible on horizontal axis

2007-03-12 Thread Ely Greenfield
normally I would suggest its an embedded font problem, but the loss of other formatting on the horizontal axis is very suspicious. I can't think of anything in the chart code that could be causing that...i.e., my first suspicion is that some code of yours is resetting things. But it's entirel

  1   2   3   4   5   >