Hello:
I've added necessary code to allow the following Number Formatting options, as described here:
http://teethgrinder.co.uk/open-flash-chart/gallery-format-numbers.php
Functions:
set_y_format( $val )
set_num_decimals( $val )
set_is_fixed_num_decimals_forced( $val )
set_is_decimal_separator_comma( $val )
set_is_thousand_separator_disabled( $val )
I have attached a "hacked" version of open_flash_chart_api.module which includes tested changes to allow for the above functionality. Just search for '//START HACK' and you'll find what I've added. IIRC, there are three separate sections where I'd added to the code.
Please let me know if you have other questions.
Cheers!
Ian Bezanson
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | open_flash_chart_api.module.gz | 5.55 KB | IanBezanson |
Comments
Comment #1
redndahead commentedneed to attach file.
Comment #2
redndahead commentedComment #3
IanBezanson commentedOh, sorry about that :( I must have browsed the file but not actually attached it the first time.
Comment #4
IanBezanson commentedComment #5
jvandervort commentedI'm not running a drupal-5 site anymore (so I can't test changes), but this was fixed in
Open Flash Chart 6.x-2.x-dev from 2008-Sep-24. Sorry, right now there is no 5.x fix.
-John
Comment #6
jvandervort commentedLook for a 5.x-dev snapshot dated on or after 2008-10-02.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.