pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Hide the axis values and currency format http://wiki.pchart.net/forum/viewtopic.php?f=3&t=170 |
Page 1 of 1 |
Author: | lukas.P [ Thu Feb 03, 2011 2:08 pm ] |
Post subject: | Hide the axis values and currency format |
Hello. I would like to know is it possible to hide the values on the axis? I have a bar chart and I do not need any values on the left side, the bottom is ok. I've solved this by simply defining graph area X value as 0. Another case is currency format. I liked it very much, but I needed to have only the integer part - "$5" instead of "$5.00". I've solved this by adding another case inside pDraw.class.php inside scaleFormat() function like this: Code: if ( $Mode == MY_MAGIC_VALUE ) { return($Format.number_format($Value,0)); } And it works ok, however I would like to know if it's already implemented or it not I suggest to do so, because for very big money values, there's no need to have those ".xy" parts . Thanks in advance. Lukas |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |