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
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
, 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
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
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
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
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
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
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]
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
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
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
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
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:
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:
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();
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:
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
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
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
mx:Style
.myRedColumnSeries {
fills: #FF0033, #FF, #FF6633;
}
.myGreenColumnSeries {
fills: #33FF00, #33FF33, #33FF66;
}
/mx:Style
mx:ColumnSeries ... styleName=myRedColumnSeries /
Thanks
-Sunil
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
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,
; 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
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,
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
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:
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
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
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:
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
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
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,
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
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
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,
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
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:
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]
/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
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
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
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
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
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
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
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
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
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
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
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 =
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;
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
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.
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
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
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
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
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
--- 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
60 matches
Mail list logo