Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2007, 07:08 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Jpgraph Problem

I am facing a problem in generating pie chart. Some-time the in generated pie-chart total of %value is not equal to 100, due to rounding error. For ex, by pie chart generating from values 59.24,95.36,7.61 gives %age of 59%,37%,5%. How to fix it? I don't want to go beyond 1 decimal.


Sandip






Similar Threads
Thread Thread Starter Forum Replies Last Post
hyperlink+jpgraph tessy Beginning PHP 0 May 8th, 2008 01:35 AM
jpgraph+headers tessy Beginning PHP 0 May 7th, 2008 12:03 AM
jpGraph hosefo81 Beginning PHP 5 October 30th, 2003 01:43 PM
jpgraph setup problem wokoci PHP How-To 8 July 24th, 2003 05:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.