[flexcoders] Re: X-axis values in flex chart

2008-11-18 Thread Sunil Bannur
Did you try using labelRenderer property in AxisRenderer. Here is a sample from livedocs http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_11.html -Sunil --- In flexcoders@yahoogroups.com, Sefi Ninio [EMAIL PROTECTED] wrote: Hey. I ended up calculating the number of

[flexcoders] Re: Seeking response to SDK-15710 jira issue.

2008-11-10 Thread Sunil Bannur
I want to comment on FLEXDMV-1882. I have fixed this locally, and have not tested the fix thoroughly, so use the fix with caution. Basically the fix is to remove the unwanted itemRenderers from the instanceCache the ColumnSeries uses, whenever the itemRenderer changes. You can find more details

RE: [flexcoders] ColumnSet vs Multiple axes

2008-06-18 Thread Sunil Bannur
, but one of the columns is always on top in the z-order, regardless of column height. Perhaps a pair of custom BoxItemRenderers that halve the box? Any other ideas? Thanks. On Sun, Jun 1, 2008 at 11:28 PM, Sunil Bannur [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Can you send a snippet

RE: [flexcoders] Making Y-Axis Invisible on LineChart

2008-06-09 Thread Sunil Bannur
The default behavior of charts is that, if no axis renderers are specified, it draws its own, If you feel that an axis need not be drawn if nothing is specified, can you pls. file an enhancement at bugs.adobe.com/flex and vote for it. Thanks -Sunil From: flexcoders@yahoogroups.com

RE: [flexcoders] How can we bring the larger radius bubble in front in the bubble chart?

2008-06-05 Thread Sunil Bannur
BubbleSeries always sorts the data that needs to be rendered on the value in the z Axis, check the updateMapping protected function in BubbleSeries.as. You can override this function to change this behavior and make the parameter as ASCENDING in the sortOn function and reverse the rendering

RE: [flexcoders] ColumnSet vs Multiple axes

2008-06-02 Thread Sunil Bannur
Can you send a snippet of your code or screenshot for more help. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Thursday, May 29, 2008 10:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnSet vs Multiple axes

RE: [flexcoders] chart data change events

2008-05-23 Thread Sunil Bannur
When the dataprovider changes, each series's protected dataChanged function gets called. Also, you could access the chart's dataProvider as a ICollection and add an event listener to it to keep track of the data changes. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] ShowDataTip makes charts impossible to destroy arrgghh!

2008-05-16 Thread Sunil Bannur
Not sure, how you are cleaning up your charts, but datatips are part of the systemManger.toolTipChildren. The best way to get rid of datatips is to position the mouse pointer where there are no items, which would make the number of datatips on the chart to be zero, which will remove the existing

RE: [flexcoders] DateTimeAxis ( or any other axis) how to get a point in pixels from Date object

2008-04-22 Thread Sunil Bannur
Use dataToLocal method in the series class. If you are using Flex 2.0.1 the method is part of ChartBase. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex Sent: Monday, April 21, 2008 10:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Flex Chart Region Selection Coordinates

2008-04-18 Thread Sunil Bannur
You could override ChartBase's getItemsInRegion(value:Rectangle):Array to get the co-ordinates i.e. value and return any item that needs to be selected. The default implementation gives items from all the series which fall in that region. The co-ordinates will be in global space, you might need to

RE: [flexcoders] Drag a PlotSeries Item?

2008-04-18 Thread Sunil Bannur
This is a bug, it would be great, if you can file this. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of frantickraken Sent: Thursday, April 17, 2008 11:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Drag a PlotSeries Item? I would like

RE: [flexcoders] Re: Stack Chart ItemClick detail?

2008-04-18 Thread Sunil Bannur
Or you could just use chart.series.indexOf(chartItem.element), which would return the index of that particular series in the series array of ChartBase Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EddieBerman Sent: Wednesday, April 16, 2008 9:18 PM

RE: [flexcoders] LineChart w/effect messes up when horizontalAxis gets more data

2008-04-11 Thread Sunil Bannur
You could try using a labelRenderer(You can customize height, width, how its written etc.) and also try the styles labelRotation, canStagger, canDropLabels, labelGap) If you can post an example, it would be useful to suggest a solution. Thanks -Sunil From: flexcoders@yahoogroups.com

RE: [flexcoders] charts: disable datatip for values min_value

2008-03-13 Thread Sunil Bannur
You have to override finddatapoints function, in the corresponding series, you can choose what points needs to be sent, whose datatips needs to be shown. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mavdzee Sent:

RE: [flexcoders] Problems with multi vertical axis charting

2008-03-06 Thread Sunil Bannur
The issue is you are using categoryAxis as your verticalAxis for your LineSeries. That should be a NumericAxis, such as LinearAxis. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kuroiryu42 Sent: Friday, March 07, 2008 8:56 AM To:

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

2008-02-07 Thread Sunil Bannur
Just use the following, p is the panel and h1 is the horizontal Axis, I'm using the same axis created by your code snippet, also changed the width, height of the other chart to 50% to make some room for this chart. private function init():void { var c:ColumnChart = new ColumnChart();

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

2008-02-01 Thread Sunil Bannur
Not sure, whether you are setting the width and height of the image you are loading dynamically. Also pushing it in to the backgroundelements array would not work, it should be assigned like this chart.backgroundelements = AnArray; Thanks -Sunil From:

RE: [flexcoders] Re: How do I alternate labeling tickmarks on a linechart?

2008-01-31 Thread Sunil Bannur
Use the interval property on the Axis -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anthony_morsey Sent: Thursday, January 31, 2008 6:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I alternate labeling

RE: [flexcoders] Re: Setting custom fills array in a chart

2008-01-23 Thread Sunil Bannur
when they add charts in to the application. tks --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sunil Bannur [EMAIL PROTECTED] wrote: mx:Style .myRedColumnSeries { fills: #FF0033, #FF, #FF6633; } .myGreenColumnSeries { fills: #33FF00, #33FF33, #33FF66

RE: [flexcoders] Re: Setting custom fills array in a chart

2008-01-23 Thread Sunil Bannur
series we add to a chart, even if we build a chart dynamically and add series on the fly it still is correct. So what I was looking for is some way to specify the pallete of colors that will be used in a chart. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sunil Bannur

RE: [flexcoders] Setting custom fills array in a chart

2008-01-22 Thread Sunil Bannur
mx:Style .myRedColumnSeries { fills: #FF0033, #FF, #FF6633; } .myGreenColumnSeries { fills: #33FF00, #33FF33, #33FF66; } /mx:Style mx:ColumnSeries ... styleName=myRedColumnSeries / Thanks -Sunil

RE: [flexcoders] edit labels of the pie chart

2008-01-18 Thread Sunil Bannur
With Flex 3, the segments get selected, if you have set the selectionMode on the chart. For the label to get selected, you have to write some custom code on item_click or change events. BTW, what is your objective of selecting the label? copy-paste? is it an air app or a flex app? Thanks

RE: [flexcoders] Two chart components w. Linear Axis calling similar function on them breaks down

2008-01-18 Thread Sunil Bannur
Can you post a small code snippet, if you use the same axis for both the charts, then this can happen, not sure whether thats the issue you are facing. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex Sent: Friday, January 18,

RE: [flexcoders] Bubble chart BUG??

2007-12-13 Thread Sunil Bannur
; Sunil Bannur Subject: Re: [flexcoders] Bubble chart BUG?? Hi Sunil, I am using flex 2 but I am sure it will be same on Flex 2.0.1. Here is an example code. Please note that once you drag the bubble chart canvas all the way up the Y axis disappears and bubbles lose their Y

RE: [flexcoders] Bubble chart BUG??

2007-12-12 Thread Sunil Bannur
What is the version you are using Flex 2.0.1, Flex 3 Beta 1, Flex 3 Beta 2? Also, could you post a little code snippet, which causes this. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Wednesday, December 12,

RE: [flexcoders] Hide data tips on one series only

2007-12-12 Thread Sunil Bannur
showAllDataTips is to show the datatips at all times, if you do not want that, just unset it and datatips would show when the user hovers the mouse on that item. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith

RE: [flexcoders] Line Chart Zooming - data points drawn incorrectly

2007-12-04 Thread Sunil Bannur
Iain, Have you overridden mapcache also? Can you post a sample code to nail down the problem? Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of imjackson84 Sent: Monday, December 03, 2007 10:47 PM To:

RE: [flexcoders] Re: Line Chart Zooming - data points drawn incorrectly

2007-12-04 Thread Sunil Bannur
that I could use my own CartesianTransform, if only to try some manual debugging (I don't have Flex Builder). Thanks, Iain --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sunil Bannur [EMAIL PROTECTED] wrote: Iain, Have you overridden mapcache also? Can you post

RE: [flexcoders] Bubble chart item

2007-11-28 Thread Sunil Bannur
This was a bug, it has been fixed in Flex 3 beta 2. You can also override guardminmax function of numericaxis to adjust your min and max values of the axis. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke

RE: [flexcoders] Multiple Bubble Chart itemRenderer

2007-11-26 Thread Sunil Bannur
Hi Steve, changing the itemrenderer dynamically (once the series and items have already been created) in charts is not supported, pls. file an enhancement request at http://bugs.adobe.com/flex , so that it can be considered. Thanks -Sunil From:

RE: [flexcoders] irregular x-axis intervals on a line chart

2007-11-21 Thread Sunil Bannur
Can you post a screenshot, it would be easier to understand. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, November 22, 2007 7:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] irregular x-axis

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Sunil Bannur
Not sure what you are trying to do, but series.items gives you the list of all pieseriesitems in the series. Can you pls. post a code snipped, which is giving this error. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] List change event to BubbleChart

2007-10-29 Thread Sunil Bannur
Flex 3 Charts has selection capabilities, and it has APIs to specify what items should be selected, which does exactly what you have described. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of picklzzz Sent: Sunday,

RE: [flexcoders] Having duplicate rows in a chart

2007-10-22 Thread Sunil Bannur
If you use a categoryAxis, this is not possible. Try using a Datetime Axis and define a label function, to get the labels you want. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Monday, October

RE: [flexcoders] Question about use of datatipFunction in AreaChart with multiple AreaSeries

2007-10-04 Thread Sunil Bannur
The hitdata parameter to the datatip function has the chartitem for which the datatip needs to be shown, chartitem has the element to which series it belongs to. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] X and Y position of AIR app...

2007-10-04 Thread Sunil Bannur
Stage.nativeWindow has x and y, it does not show in FlexBuilder as part of code hinting. You can modify them by setting your own values. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Prentice Sent: Thursday,

RE: [flexcoders] Tooltip on the CategoryAxis of a BarChart?

2007-09-27 Thread Sunil Bannur
Have you explored using a labelRenderer property in AxisRenderer - you can have a Flex Label which shows a tooltip on mouseover. This should help mx:verticalAxisRenderer mx:AxisRenderer mx:labelRenderer mx:Component

RE: [flexcoders] Specify custom colors for a LineChart is not possible ??

2007-09-27 Thread Sunil Bannur
The strokes used by the lineSeries are objects and currently object based styles cannot be specified in CSS. I would create those specific strokes and assign them in either MXML code or AS code as a workaround at this point. Thanks -Sunil From:

RE: [flexcoders] Rotate vertical axis title in Chart

2007-09-27 Thread Sunil Bannur
You cannot do this in 2.0, however it's possible in Flex 3. There is a new style added for AxisRenderer, verticalAxisTitleAlignment, the values could be flippedVertical or vertical. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Specify custom colors for a LineChart is not possible ??

2007-09-27 Thread Sunil Bannur
/27/07, Sunil Bannur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The strokes used by the lineSeries are objects and currently object based styles cannot be specified in CSS. I would create those specific strokes and assign them in either MXML code or AS code as a workaround at this point

RE: [flexcoders] Re: Rotate vertical axis title in Chart

2007-09-27 Thread Sunil Bannur
with Moxie M2. Will it be availble next week with Moxie M3 ? How can we get access to the nightly build of the chart component ? Thx-Claude --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sunil Bannur [EMAIL PROTECTED] wrote: You cannot do this in 2.0, however it's possible

RE: [flexcoders] zoom - in charts

2007-09-26 Thread Sunil Bannur
The existing zoom effects is there on the entire chart and series, but to have it for individual chart items, you probably can handle the itemRollOver events and add a chartelement dynamically as that of the itemRenderer with a appropriate scale effect and appropriate bounds. Thanks -Sunil

RE: [flexcoders] flex3: dragging from a datagrid to a chart

2007-09-25 Thread Sunil Bannur
This is because Chart is expecting only of format chartitems in the default handler in the ChartBase class, which is protected function dragEnterHandler(event:DragEvent):void and the item from the datagrid I think has the format items So make sure, after you handle the event in doDragEnter, to

RE: [flexcoders] DateTimeAxis without the weekends

2007-09-11 Thread Sunil Bannur
Have you tried using the new DateTimeAxis in Flex 3, this provides disabledDays and disabledRanges properties, where in you can provide what days of a week could be disabled or what ranges of dates needs to be disabled respectively. You can find more at

RE: [flexcoders] LineSeries Stroke color

2007-09-07 Thread Sunil Bannur
Do something like this in creationcomplete or applicationcomplete handler var istroke:IStroke = chart.getStyle(lineStroke); istroke.weight = 2; chart.setStyle(lineStroke,istroke); This would not create a new stroke and will retain the old color. Thanks -Sunil

RE: [flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

2007-08-31 Thread Sunil Bannur
You will have to remove from renderer from the verticalAxisRenderers array and re-assign the value to verticalAxisRenderers Something like verticalAxisRenderers = verticalAxisRenderers.splice(index,1), this will make the chart to re-render without the unwanted vertical Axis. Thanks

RE: [flexcoders] Re: Add series in lineaChart [ Help Ely ]

2007-06-14 Thread Sunil Bannur
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Add series in lineaChart [ Help Ely ] Thx ... but i want its show 2 or more lineseries in the same linechart. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sunil Bannur [EMAIL PROTECTED] wrote: You should use

RE: [flexcoders] [CHARTING COMPONENT] Issue in combining Interpolate effect and Chart type switch

2007-06-14 Thread Sunil Bannur
One of the workarounds is to specify an hideDataEffect as well for each series. Thanks -Sunli From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Friday, June 15, 2007 7:50 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Making an individual Bar on a BarGraph stand out?

2007-06-04 Thread Sunil Bannur
The upcoming release of Flex, has capabilities to specify fill colors for individual chart items, but till then There are 2 ways to achieve this a. Have a custom renderer, which specifically checks for the particular item during rendering and highlights that b. This is a round

RE: [flexcoders] Charts and Business day axis

2007-06-01 Thread Sunil Bannur
Pierre, You should ideally be using DateTimeAxis, by which you can control the labels and ticks. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pgherveou Sent: Thursday, May 31, 2007 8:16 AM To: flexcoders@yahoogroups.com

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

2007-05-24 Thread Sunil Bannur
Brendan, DateTimeAxis is a NumericAxis and unlike CategoryAxis will not return the index value; you could do something like this from the return value of invertTransform var d:Date = new Date; d.setTime(Number(obj)); //obj is the return value from invertTransform var str:String =

RE: [flexcoders] Re: Tooltip : Charting issues

2007-05-11 Thread Sunil Bannur
Paramjit, Something like this should work: Basically set the styles on the DataTip class, also there is a dataTipFunction which you can set the customize the text itself. See the livedocs for more details. DataTip { fontFamily: Arial;

RE: [flexcoders] Constant curve using LineChart

2007-04-27 Thread Sunil Bannur
Manuel, Ely Greenfield's DataDrawingCanvas should help you. http://www.quietlyscheming.com/blog/charts/easy-custom-charts Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manuel.villarroel Sent: Friday, April

RE: [flexcoders] Customizing datatips

2007-04-26 Thread Sunil Bannur
The correct way of doing this would be to have a custom datatip renderer and assign it to dataTipItemRenderer, As a workaround, you could do this. lineChart.setStyle(dataTipRenderer,UIComponent); or for that matter a dummy programmaticskin, It would give you the same effect as google finance.

RE: [flexcoders] ArrayCollections as source for charting

2007-04-26 Thread Sunil Bannur
Answer to First question: Just assign the same arraycollection as dataprovider to all charts Answer to Second question: The charts will update, when the base arraycollection is changed. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Identifying line series for datatip function

2007-04-23 Thread Sunil Bannur
Try LineSeriesItem(h.chartItem).yValue From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Zhu Haifeng Sent: Monday, April 23, 2007 10:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Identifying line series for datatip

RE: [flexcoders] X axis of Area Chart how to make labels always vertical

2007-04-23 Thread Sunil Bannur
Use an embedded font and use the rotation property in AxisRenderer under the AreaChart mxml tag, for example: mx:Style @font-face{ src:local(Arial); fontFamily: Arial1; } AreaChart { fontFamily: Arial1; fontSize: 20; } /mx:Style

RE: [flexcoders] Can Cartesian Chart DataTips be set to always be showing once the chart appears?

2007-04-20 Thread Sunil Bannur
A workaround for this, would be to a. override the finddatapoints and return all the items from all chartelements b. then set the showdatatips to false and back to true Everything should show up. -Sunil From: flexcoders@yahoogroups.com

[flexcoders] Re: Bubble charts with only one bubble

2007-04-19 Thread Sunil Bannur
Try overriding the protected function guardMinMax in NumericAxis, which is returning an array [min, max]. When min and max are equal it just returns [0, 100], so just try returning [max - 100, max + 100] in the overridden function, it should work. -Sunil --- In flexcoders@yahoogroups.com, Ely

[flexcoders] Re: updateTransform question on BubbleSeries

2007-04-17 Thread Sunil Bannur
--- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: anyone know what I have to alter to force a BubbleSeries to go through updateTransform? I have a situation where a user action causes the radius of one of my bubbles to change. I trap the change and I want to cause