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

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

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

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

RE: [flexcoders] Flex ignoring Actionscript Timeline Actions

2007-09-24 Thread Ely Greenfield
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 ignoring Actionscript Timeline Actions

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

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

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:

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] 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] 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]) *

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

2007-09-12 Thread Ely Greenfield
%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 hex values myGreys = [0xAA, 0x58, 0x22]; then interpolate between those values

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

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

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

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

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] 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

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

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:

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

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

2007-06-04 Thread Ely Greenfield
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield [EMAIL PROTECTED] wrote: 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

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

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

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:

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

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

RE: [flexcoders] Custom Datatip Renderes for charts

2007-05-30 Thread Ely Greenfield
: 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 GraphicsUtilities class. The problem

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

RE: [flexcoders] Re: Superimposing chart.

2007-05-29 Thread Ely Greenfield
CartesianChart series AreaSet type=stacked AreaSeries ... / AreaSeries ... / / LineSeries ... / / / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Malik Sent: Tuesday, May 29,

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] 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

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] 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

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

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] Re: Custom Chart

2007-05-24 Thread Ely Greenfield
. --- 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 for plan - Set to 'overlaid' mode - The plan series has a custom renderer that just

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] Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Ely Greenfield
Set it to a stroke with an alpha of 0. dataTipCalloutStroke Stroke alpha=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

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

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

2007-05-18 Thread Ely Greenfield
Demling Lexington, MA *is quietlyScheming.com down? I lost connection this morning... --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield [EMAIL PROTECTED] wrote: Peter - Took a peek at the code, and that looks to be an unfortunately bug on my part

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

2007-05-18 Thread Ely Greenfield
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 Greenfield [EMAIL PROTECTED] wrote: DataTips were really written to be interactive tips, while a lot

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 chart-

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: Absolutely forcing chart to redraw

2007-05-15 Thread Ely Greenfield
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , carl_steinhilber carl_steinhilber@ wrote: --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Hi Carl. I'd like to help, but I really need to see your code. Again, a very simple example

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

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

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

2007-05-11 Thread Ely Greenfield
@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 should work fine

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

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

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

2007-05-11 Thread Ely Greenfield
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 chart effect API. That would

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:

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

2007-05-10 Thread Ely Greenfield
suggested. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: This should work fine: Import mx.charts.renderers.LineRenderer; lineSeries.setStyle(itemRenderer,new ClassFactory(LineRenderer)); Ely. From: flexcoders@yahoogroups.com

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] 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.

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

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:

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.

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

2007-04-24 Thread Ely Greenfield
. This problem description is rather messy, I am sorry :) Is there are any thoughts about such a behavior? 2007/2/22, Ely Greenfield [EMAIL PROTECTED]: Hi Mikhail. Can you be more specific about what you're looking for? In general, the charts support negative values with no problems, so maybe I'm

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

2007-04-24 Thread Ely Greenfield
is not renderer, only if it has a negative value.. :( Any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%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

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

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:

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.

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: BubbleChart radiusAxis LinearAxis / /radiusAxis Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

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

2007-04-10 Thread Ely Greenfield
@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%40yahoogroups.com , Ely Greenfield [EMAIL PROTECTED

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

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

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] 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]

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] 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: [BULK] RE: [flexcoders] charting and predefined axis styles

2007-04-05 Thread Ely Greenfield
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

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] Re: Labelling the bubbles of a bubble chart

2007-04-04 Thread Ely Greenfield
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: 1) custom bubble renderer. easy to do, but hard to do anything smart so the labels

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

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

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

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

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

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] Default ColumnSeries type in CartesianChart

2007-03-26 Thread Ely Greenfield
Put them in a ColumnSet (this is what ColumnChart does implicitly for you): CartesianChart series ColumnSet type=clustered ColumnSeries / ColumnSeries / ColumnSeries / ColumnSeries / / / / Ely. From:

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] Re: small problem with Bar Chart showing days

2007-03-22 Thread Ely Greenfield
, 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 , Ely Greenfield [EMAIL PROTECTED] wrote: Hi Mark. Try using

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:

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. From: flexcoders

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.

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); }

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:

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:

RE: [flexcoders] Re: copying bitmap data

2007-03-21 Thread Ely Greenfield
); this.addChild(bmp); They are copying 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: [DefaultProperty(content

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

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 flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

RE: [flexcoders] Displaying single bar/column (Type: 100%)

2007-03-11 Thread Ely Greenfield
More detail would be helpful to understand exactly what you want, vs. what you're seeing. Please be as specific and pedantic as possible. If you want to get rid of the surrounding chart graphics, you can: 1) zero out the backgroundElements array 2) assign axisRenderers that hide all of

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

2007-03-07 Thread Ely Greenfield
I don't think there's any way to do this theokgh configuration alone. But you could override the bar series update function to always layout an item with a min width. Easier would be to provide a custom item renderer that, below some minimum width, ignored what the chart was telling it and

RE: [flexcoders] Chart Axis Labels as Link

2007-03-07 Thread Ely Greenfield
Brian -- are your labels set at an angle? If they are, it would explain why you are having problems. The Flash Player can't render device text at an angle. You'll have to use embedded fonts, or set the axis to not render the labels at an angle. Regarding the performance...Are you seeing

RE: [flexcoders] Access PIE CHART Call Outs

2007-03-07 Thread Ely Greenfield
You can style all of them through the PieSereis' css styles, but there's no easy way to style them on a per callout basis. If you want to modify them, you're going to have to roll up your sleves, and get elbow deep in the PieSeries implementation. Ely.

RE: [flexcoders] How to align chart items in two charts?

2007-03-04 Thread Ely Greenfield
in two charts? Wow. Its amazing how simple the solution is. Thanks, Ely. 2007/3/2, Ely Greenfield [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] : by default charts compute their gutterLeft and gutterRight dynamically, but if you need to get two charts

RE: [flexcoders] legend on top of chart

2007-03-04 Thread Ely Greenfield
Hi Marc. The easiest way is to just put your chart in a canvas, and put the legend on top of it. I've been meaning to make a simple annotation that just owns a legend, but haven't gotten around to it. It shouldn't be too much work, so if you want to take it on, the community would

RE: [flexcoders] How to align chart items in two charts?

2007-03-02 Thread Ely Greenfield
by default charts compute their gutterLeft and gutterRight dynamically, but if you need to get two charts to align, you can set them to explicit values. You lose a little bit of flexibility in axis/label layout...it will fit the axes to the space available rather than choosing the best space

RE: [flexcoders] Re: Fisheye component

2007-03-01 Thread Ely Greenfield
, 2007 12:16:00 PM Subject: [flexcoders] Fisheye component I want to use the fisheye component from Ely Greenfield. But the compiler ask for a missing qs.controls. CachedLabel Does anybody know's where to get it. thanx CachedLabel.as Description: CachedLabel.as

  1   2   3   4   5   >