Hi Johannes. I see Brian also set you up with the
labelFunction, but if you could send a simplified bug file directly to me, that
would be great. What you're seeing is a floating point rounding error,
which is pretty much unavoidable. We're trying to get the actual label
generation to be smarter about detecting these errors and correcting them, but
we have to be careful not to accidentally blow away actual significant
differences in values (i.e., if .000005 actually mattered in your chart, you
wouldn't want to end up with a chart with five labels that all read '12').
So if you can send me a bug file, I'd appreciate
it.
Ely.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: Thursday, March 02, 2006 11:21 AM
To: [email protected]
Subject: [flexcoders] Flex2 line chart and vertical axis
i have a line chart that i am feeding a fair bit of info into. all good. the problem is that the vertical axis displays stuff like
7590.9999999999999999995 as a refpoint.
now i looked at the IAxis interface and it has a getUnitSize method, no setter for it (and no documentation yet), and i assume that this is the function or value that has to change to round the values displayed on the yaxis? if this is by default == 1(which i assume otherwise the deault at the moment would be 0.000000000000005), then something else is coming into play here. any ideas on how i can get the vertical axis to display digestible information?
Thanks
j
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
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.

