View unanswered posts | View active topics It is currently Fri Mar 29, 2024 8:34 am



Reply to topic  [ 1 post ] 
Hide the axis values and currency format 
Author Message
pChart user
pChart user

Joined: Wed Feb 02, 2011 12:01 pm
Posts: 6
Post 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


Thu Feb 03, 2011 2:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron