[flexcoders] Re: Flex Debugger Ignoring all breakpoints/Errors

2008-06-19 Thread EddieBerman
I noticed the same problem after installing Firefox 3. I'm now using IE until I learn of a way to have it work again. --- In flexcoders@yahoogroups.com, "aut0poietic_us" <[EMAIL PROTECTED]> wrote: > > Minor update: I FINALLY have the debugger working in IE. Not entirely > sure what the solution

[flexcoders] 3D Column Chart - Is there a way to set the item update order?

2008-07-22 Thread EddieBerman
hings to go south. Images of the problem are here: http://picasaweb.google.com/eddieberman/Flex/photo#5225608935449236386 and the preferred result here: http://picasaweb.google.com/eddieberman/Flex/photo#5225608932592265602 My question is - Is there a way to define, or otherwise take over the dr

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread EddieBerman
I don't believe you can pass params. An alternative would be to have your lineRenderer query upwards for the data. I do something similar and added the following code in my updateDisplayList(); (I don't know how important the initial "LineSeries" check is) override protected function updateDisplay

[flexcoders] Need info about my CartesianDataCanvas updating problem.

2008-08-06 Thread EddieBerman
08/07/2008 05:29:00 AM New Messages Reply | Quote | Top | Bottom | Edit I've got a ColumnChart. In it I've extended the grid to add code to its updateDisplayList(). At the end of that method I want to notify another custom BackgroundElement that it should draw itself as well. This other cus

[flexcoders] Charts - how do I draw on a Background Element and NOT cause a refresh?

2008-08-12 Thread EddieBerman
I've got a column chart with 2 BackgroundElements. One is extended from GridLines and the other, which sits between the grid and the columns (in the z-order) is extended from the CartesianDataCanvas class. Each ColumnSeries has an itemRenderer. I need to be able to draw on the my CartesianDataCa

[flexcoders] Stacked Charts - Series[0].items.length not accurate at certain times. Bug or ?

2008-08-13 Thread EddieBerman
I've got a ColumnChart with its type set to stacked. I also have a BackgroundElement extended from CartesianDataCanvas, which I'll call myDataCanvas. There are times, particularly when the myDataCanvas updateDisplayList() is called, where it's not possible to get the items of Series[0]. I can get

[flexcoders] Why does changing a chart's itemRenderer at runtime call BOTH itemRenderers?

2008-09-09 Thread EddieBerman
At runtime, I'm changing the itemRenderer on my column chart's series based on the value of a checkbox. Pretty simple. Unfortunately, it appears to me that both itemRenderers - the previous and the current - are getting called. Prior to changing the itemRenderer, I clear the series style, but tha

[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Problem

2008-09-28 Thread EddieBerman
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that you cannot dynamically switch itemRenderers on a chart series

[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Bug

2008-09-28 Thread EddieBerman
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that it appears that you cannot dynamically switch itemRenderers on

[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Bug

2008-09-28 Thread EddieBerman
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that it appears that you cannot dynamically switch itemRenderers on a

[flexcoders] Re: how do I send a custom event from an application to a component?

2008-09-30 Thread EddieBerman
In this case, Application.application.addEventListener... won't work. This will, though: parentApplication.addEventListener("appEvent", appEventHandler); -Eddie --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > But you can dispatch an event from Application and l

[flexcoders] Re: The trouble with Alert.show()

2008-10-11 Thread EddieBerman
I can't help with the Alert issue, but since I often debug within a wrapper, here's one alternative that provides a constant, simple debug window. I can't remember, but I might've grabbed it from this forum originally. Paste the code below in your app. Call showWindow() to activate the window.

[flexcoders] How can I have my chart's FillFunction return the default fill color?

2008-01-28 Thread EddieBerman
In my bar (and column) chart, I'm using a fillFunction to change only certain bar colors under certain conditions. For those bars that don't require a change, I'd like return the default fill color. The problem is I can't determine how to access that original color to return. Nor can I figure o

[flexcoders] Chart Bug? Setting a backgroundElement bitmap at runtime

2008-01-31 Thread EddieBerman
Flex 3 newbie here with a problem I can't seem to solve by myself. I've been unable to set a backgroundElement bitmap with an image loaded at runtime. I can accomplish it without problem using either: 1) an mx:Image with a predefined @Embed source property within mx:backgroundElements tags

[flexcoders] Re: Chart Bug? Setting a backgroundElement bitmap at runtime

2008-02-01 Thread EddieBerman
her (or rather, a correct) way to accomplish this goal. I couldn't find any mention of this method in the Flex LiveDocs. Thanks again. --- In flexcoders@yahoogroups.com, "EddieBerman" <[EMAIL PROTECTED]> wrote: > > Flex 3 newbie here with a problem I can't

[flexcoders] ColumnChart - creating multiple Linear Axis via ActionScript - Help!

2008-02-06 Thread EddieBerman
I'm having difficulty understanding how to create, via AS3, a ColumnChart that contains multiple verticalAxis. I'm familiar with the sample program "MultipleAxis" provided by Adobe, but can't correctly translate this to AS3 code. All is good until I need to create and set the multiple AxisRenderer

[flexcoders] Re: ColumnChart - creating multiple Linear Axis via ActionScript - Help!

2008-02-07 Thread EddieBerman
.verticalAxisRenderers = [ar1,ar2]; > >p.addChild(c); > } > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of EddieBerman > Sent: Thursday, February 07, 2008 6:18 AM > To: flexcoders@yahoogroups.com >

[flexcoders] Charts - Problem accessing dynamically created Axis. How do I.....

2008-02-22 Thread EddieBerman
I'm changing my code to create my column chart entirely via AS3, rather than using MXML tags. Everything works fine except I can't figure out how to access my linear and category axis at runtime. When built using mxml tags, these have id's that I can use to, for example, change the labelFunctio

[flexcoders] How do I access the ClassFactory property from my chart's custom LineRenderer?

2008-04-15 Thread EddieBerman
I've created a custom LineSegmentRenderer class for my Line Chart. It works fine using a hard-coded color value for the line it draws. However, I want this color value to be dynamic. I've passed a color value property to this class (extended from LineRenderer), but am not understanding how to acces

[flexcoders] Re: Stack Chart ItemClick detail?

2008-04-16 Thread EddieBerman
I couldn't find that info either. The solution I'm using, until I learn of a more direct way, is to assign a number to the ColumnSeries Name property when I create each ColumnSeries (I happen to use "Series0", "Series1", "Series2", etc). Here's the relevant code fragmants for creating, and then a

[flexcoders] How can a Line Chart pass data to a custom LineRenderer?

2008-04-16 Thread EddieBerman
I've got a Line Chart, and I've written a custom Line Renderer. I have some chart data to share with the Renderer (apart from the chart value data that's available in the Renderer by default), but I can't figure out how to either have the Line Chart pass it to the Line Renderer, or have the Lin

[flexcoders] How do I debug a flex app that's sitting in an IE wrapper within a Java app?

2008-04-21 Thread EddieBerman
Our flex 3 app is running in an IE wrapper which is sitting within our Java application. Can anyone give me any hint as to how to go about debugging the flex app? Thanks in advance.

[flexcoders] Re: Customizing the label's frequency (adding sub-divisions)

2008-04-28 Thread EddieBerman
I've got to run out for a bit, but here's at least one area to look into for #1, and perhaps #2. Play with the interval and minorInterval properties to try to get the result you need. Here's an example - it's close, but not exactly what you want (I've inserted three lines below your ) : Good luck

[flexcoders] Re: Drawing on Charts - pixel perfection?

2008-10-29 Thread EddieBerman
Sounds like you've solved your problem, but my take is that for pixel drawing you'd be better off using a ChartElement object rather than the DataDrawingCanvas which is an abstraction more appropriate for data coords. For example - take a look at the framework code in GridLines.as. It's all pixel

[flexcoders] Re: Removing extreme ends of an Axis

2008-11-05 Thread EddieBerman
The good news is that it's not a bug. Just add caps="none" to your xAxisStroke definition. -Eddie --- In flexcoders@yahoogroups.com, "jamiebadman" <[EMAIL PROTECTED]> wrote: > > Hi, > > Weird one this... if you run the attached code, you'll see that on the > horizontal axis, at each side of it,

[flexcoders] Re: sailorsea21 - How can I modify the value in my ColumnSeries datatip.

2008-11-10 Thread EddieBerman
Here you go... private function myDataTipFunction( e:HitData ):String { var obj:Object = e.chartItem; if (e.chartItem is ColumnSeriesItem) { ...your columnSeries code here } else { ...your lineSeries code here } -Eddie --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > ---

[flexcoders] Re: How can I get my CircleItemRenderer to work with SeriesInterpolate?

2008-11-14 Thread EddieBerman
Hmmm. It works for me. Here's my quick code sample: http://www.adobe.com/2006/mxml"; xmlns:local="*" creationComplete="Init()">

[flexcoders] Re: Why aren't my .as files included when I build my project?

2008-11-19 Thread EddieBerman
There could be any number of reasons, but if you haven't already tried this, you might try right-clicking on the .as filename and selecting "Include Class in Library". -Eddie --- In flexcoders@yahoogroups.com, "sailorsea21" <[EMAIL PROTECTED]> wrote: > > Hi everyone, why are my .as files being ex

[flexcoders] Re: 3 charts side by side but only one vertical axis?

2008-11-20 Thread EddieBerman
Assuming ar is your AxisRenderer: ar.setStyle("showLabels", false); ar.setStyle('showLine', false); ar.setStyle("tickPlacement", "none"); -Eddie --- In flexcoders@yahoogroups.com, "maunger" <[EMAIL PROTECTED]> wrote: > > Hi y'all > > i have a customer who wants 3 charts jammed together (see the

[flexcoders] Re: Flex chart zoom according to series

2008-11-22 Thread EddieBerman
One idea - don't bind your legend to your chart. Create your own legend. To get the color, query your series fill style (once both series have initially been created), or just use the Halo colors array. An example: for (var i:int = 0; i < array.length; i++) { var color:uint; var legItem:Le

[flexcoders] Re: building a pie chart with XML data

2008-12-22 Thread EddieBerman
Try this: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="rockstar.send()"> --- In flexcoders@yahoogroups.com, "flexnoob" wrote: > > > I am trying to construct a pie chart using XML data and the resul

[flexcoders] Re: building a pie chart with XML data

2008-12-22 Thread EddieBerman
Try this (moved the dataprovider to the chart rather than the series and removed the "@" before the field names) http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="rockstar.send()"> --- In flexcoders@yahoogroups

[flexcoders] Re: Chart Axis Location

2009-02-11 Thread EddieBerman
If I understand correctly, you want to: 1) turn off all ticks (http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_04.html) 2) move the horizontal AxisRenderer. Ex: myHorizAxisRenderer.move(myHorizAxisRenderer.x, yourNewYPos); Keep in mind that you can set the placement fo

[flexcoders] Re: Showing grid in line series graph

2009-02-15 Thread EddieBerman
Easy. Here are some links that should help: http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a- flex-linechart-control/ http://livedocs.adobe.com/flex/3/langref/mx/charts/GridLines.html -Eddie www.edberman.com --- In flexcoders@yahoogroups.com, Vik wrote: > > Hie > I have a lin

[flexcoders] ColumnCharts - problem adding a LineSeries to ColumnChart w/o SecondSeries

2009-03-13 Thread EddieBerman
I'm trying to add a LineSeries to a ColumnChart. The problem is that for each LineSeries added, a "ghost" series of columns is also added. This doesn't happen if I add a LineSeries via the SecondSeries tag, but I'm trying to avoid that since it's been deprecated. Is there a way to avoid the gh

[flexcoders] Re: ColumnCharts - problem adding a LineSeries to ColumnChart w/o SecondSeries

2009-03-13 Thread EddieBerman
Just noticed - it appears that this behavior has been logged as a bug: https://bugs.adobe.com/jira/browse/FLEXDMV-1957 Still looking for a workaround, in the event anyone's already dealt with this. Thanks, -Eddie --- In flexcoders@yahoogroups.com, "EddieBerman" wrote: > >

[flexcoders] To Adobe Folks - General Question About Using Deprecated Tags

2009-03-16 Thread EddieBerman
I posted a related question here a few days back ("ColumnCharts - problem adding a LineSeries to ColumnChart w/o SecondSeries"), but this question is a bit more general. In order get past this bug - https://bugs.adobe.com/jira/browse/FLEXDMV-1957, I'm likely going to need to use the deprecated

[flexcoders] Help needed - assigning a custom CartesianTransform to a ColumnChart at runtime

2009-04-30 Thread EddieBerman
Anyone with CartesianTransform knowledge? I'm having a good bit of difficulty getting a dynamically assigned custom CartesianTransform to work. I'm not finding a whole lot of sample code to learn from and am currently slogging through the framework code trying to determine what's up. Hopefully

[flexcoders] How do I assign a custom CartestianTransform to a ColumnChart?

2009-04-30 Thread EddieBerman
Anyone with CartesianTransform knowledge? I'm having a good bit of difficulty getting a dynamically assigned custom CartesianTransform to work. I'm not finding a whole lot of sample code to learn from and am currently slogging through the framework code trying to determine what's up. The prob

[flexcoders] How do I assign a custom CartesianTransform to a ColumnChart?

2009-04-30 Thread EddieBerman
Anyone with CartesianTransform knowledge? I'm having a good bit of difficulty getting a dynamically assigned custom CartesianTransform to work. I'm not finding a whole lot of sample code to learn from and am currently slogging through the framework code trying to determine what's up. The problem

[flexcoders] Adobe Bug System - Please explain the internal "Found in Version" numbers

2009-06-17 Thread EddieBerman
When adding new bugs to the Adobe Bug System (chart bugs in my case), I'm never entirely clear as to what version to use from those offered in the drop-down. I'd like to use, for example, SDK 3.3.0, but that's not one of the choices. I have no idea what I12, I12, DMV 3.0.2, DMV 3.4.0, etc, are

[flexcoders] BarChart - CartesianDataCanvas lifecycle problem

2009-07-13 Thread EddieBerman
Due to a bug that causes chart item labels to not appear (https://bugs.adobe.com/jira/browse/FLEXDMV-2158 ), I'm having to create my own chart item labels. Though a simple approach is to add labels to the itemRenderers, I can't use that method in

[flexcoders] Re: Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-14 Thread EddieBerman
While I haven't yet attempted that layout, here are my thoughts on one potential path: You'll need 5 series, with the first one (series 0) being the composite (as the series are drawn from 0 to n, and if the composite column was the last one it would draw over the previous columns). You'll need

[flexcoders] Re: Charts - multiple data series (column/line) bar width issue

2009-07-15 Thread EddieBerman
This is due to a Flex bug (https://bugs.adobe.com/jira/browse/FLEXDMV-1957 ) which I'd love to see fixed. Until then, here's one solution that I found:

[flexcoders] Re: AxisRenderer Error #1009: Cannot access a property or method of a null object reference

2009-07-22 Thread EddieBerman
I have no solution for you, but have come across this problem as well. If you have a simple app that demonstrates this error, you should create a new bug on the Adobe Bug Base and attach the code. My app is too huge at this point, and I haven't yet distilled it down to a submittable size. ---

[flexcoders] Re: AxisRenderer Error #1009: Cannot access a property or method of a null object reference

2009-07-23 Thread EddieBerman
yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of EddieBerman > Sent: Wednesday, July 22, 2009 11:47 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: AxisRenderer Error #1009: Cannot access a > property or method of a null object reference > >

[flexcoders] Re: Simple chart data tip question

2009-08-31 Thread EddieBerman
You can add a callback function on your chart to return any text you'd like. Look into the "dataTipFunction" here: http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayin\ gdata_08.html other examples: http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Forma\ t-Y

[flexcoders] Re: ColumnChart & LineSeries Bug?

2009-10-10 Thread EddieBerman
It's a flex bug. It fails in applySeriesSet() in ColumnChart.as. The case statement for "stacked" and "100%" assumes that the series is a column series and chokes on the line: seriesSet[i].offset = 0; as there's no offset for lines series. You can get past this problem by extending ColumnChart

[flexcoders] Re: ColumnChart & LineSeries Bug?

2009-10-11 Thread EddieBerman
le code on how I may be able to achieve extending the ColumnChart.as? I am quite new with Flex and would appreciate a lot if you could provide me some further directions to achieve this. > > Thanks a lot. > > Rgds, > > Angelo > > > > > &

[flexcoders] Re: ColumnChart & LineSeries Bug?

2009-10-12 Thread EddieBerman
could post a resolution on this, or perhaps a little work around. > > Thanks and regards, > Angelo > > > > > > From: EddieBerman > To: flexcoders@yahoogroups.com > Sent: Monday, 12 October, 2009 0:35:08 > Subject: [flexcoders] Re:

[flexcoders] Re: How do you alternate two colors in a single column on a stacked bar chart

2009-10-19 Thread EddieBerman
Check out the fillFunction(): http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_07.html --- In flexcoders@yahoogroups.com, "rlull2001" wrote: > > I want to alternate two colors on a stacked bar chart. For example, if there > are 4 items stacked in a single column, I wa