Hi Vicky,

You will have to play around with AxisRenderer class. I am not sure if it
will work, but you can try this..

The labelFunction property of AxisRenderer provides you the labels that it
is going to place on the axis. Based on the value you get in the function,
you can probably set the style. But again, getting the reference of the
label wont be a cakewalk. You will have to extend the AxisRenderer class. If
I remember correctly, all the references for the labels are stored in a
protected array in the AxisRenderer class. You will have to get the array
and then color up your labels...

Regards,
Venkat
www.venkatv.com

On Mon, Oct 20, 2008 at 3:45 PM, vicky <[EMAIL PROTECTED]> wrote:

>
> Hi Venkat,
>
> I am trying to customize the look and feel of the complete x-axis...
> If u say I can send u the screen shot of the same...
>
> Thanks Venkat.
>
>
> On Oct 17, 9:06 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]>
> wrote:
> > Hi Vicky,
> >
> > Are you trying to change the color of the entire x-axis (verticalAxis)?
> Or
> > the series?
> >
> > And which chart are you using?
> >
> > Regards,
> > Venkat
> >
> > On Fri, Oct 17, 2008 at 1:16 PM, vicky <[EMAIL PROTECTED]> wrote:
> >
> > > Can anyone please let me know how can I get the actual label values of
> > > the axis in the renderer...
> > > As i need to give different-2 colors to the axis points based upon
> > > their values...
> >
> > > For example.. if x-axis value = 0, then color of the axis is red...if
> > > 1, then green and so on...
> >
> > > Well, i am doing all this in the customised renderer.as file and have
> > > made a diff.square boxes for every axis interval point.....But unable
> > > to capture the actual x-axis values...based upon which I need to give
> > > the color code for these square box...
> >
> > > If i can get some source code....that wud b gr8 help....
> >
> > > Thanks.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to