http://www.quietlyscheming.com/blog/charts/chart-sampler/
Run the app, and go to the 'custom annotation' sample under
the 'customization' folder.
Ely.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of tddclareSent:
Tuesday, July 11, 2006 2:07 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] strategery help: how
to make crosshair on AreaChart
I have an area chart. As the user mouses around over it, I'd like
ahirzontal and vertical "crosshair" (one horiz, one vert gridline,
sortof) to track the mouse pointer.I see the annotationelements, and
am already using it for mygridlines. I'm wondering if anyone has ideas of
how to implement thecrosshair? I'm guessing a canvas that I can use
the drawing API on to draw thelines as the mouseMoves. But how to tie the
position of the mouseover JUST the chart area showing the actual data (not
over the axeslabels, etc) to the X and Y to draw the lines? And how to get
it towork in the annotationElements array?I'm assuming I need to
make whatever I create a ChartElement, but Ihaven't ever actually cracked
open the existing objects and tried totie into them at such a low
level.If anyone has any thoughts or guidance, even just for general ways
toget into the source code and create a new class from them,
I'dappreciate it.Thanks!
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___