Hi Denis.  No, the default series types don't support labels by default.
You have a couple of choices:
 
1) write a custom item renderer, that adds a label next to each point.
This shouldn't be too difficult, but you won't have any guarantee that
an automatically generated axis range will be large enough to show the
labels.
 
2) write a custom series/ extension to the plot series.  This will solve
the problem of #1, but requires a bigger investment in learning how the
charts work.
 
3) use the prototype code I just posted
(http://www.quietlyscheming.com/blog/2006/12/04/some-thoughts-and-exampl
es-on-making-custom-flex-charts-simpler/) to 'draw' a label next to each
data point. There's a sample at that link that does exactly that, with a
column series. It would be trivial to adapt that to work with a
PlotSeries.  This is the easiest approach, but least performant.
depending on how much data you're trying to show, it might suit your
needs perfectly. Try it out.
 
Ely.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Denis
Sent: Monday, December 04, 2006 2:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding Labels to the PlotSeries



The project I am working on need to be able to show a label next to
each plotseries item on the chart. From what I can see, there is no
interface supported by PlotSeries class to accomodate this. Can
someone help me how to do this? I am not very experienced so examples
are appreciated a lot!!! Thanks in advance



 

Reply via email to