Minimiser/Maximiser Menu

Minimiser/Maximiser Tumbler (beta)

Minimiser/Maximiser Yell Box
boyter
Thats what health insurance is for I recon... the feeling not so sure though...

TeX
Bullet in your head! Such a good song!!

TeX
The only downside to that is that its really expensive! And its just bizarre waking up after it

boyter
I figure I will opt for a general and be totally knocked out

TeX
Not a bad idea. Reasonably pain free right now, but anestheatic is wearing off slowly. Tomorrow=pain

boyter
Wisdom? I should get mine looked at I guess

TeX
Getting teeth ripped out today! #! w00t!

boyter
Yep thats for sure. That could have ended pretty badly...


Name
Content
Enter fatty

Minimiser/Maximiser RandPic (Beta)

Minimiser/Maximiser Login

Minimiser/Maximiser Advertisement
Advantage of Free Software (Open Source)
Icon

Ok while im not as extreme in my views on free software as Richard Stallman I so like to use free libre open source software where possible. Not so much because im a tight arse (although that does factor in) but also because I like to ability to fix bugs or add features when I need them. Sure I have never had to do it before, but the thought that I could do it was always comforting. Well finally I needed to do such last night. I was playing with pChart which is a PHP charting library. I wanted to create a Pie Chart which would display not just the % of each slice
but also the actual value. Sadly it didnt support this functionality. So I opened the correct class in trusty Notepad++ and added two lines in the correct locations and everything is as I expected. Now I get the Pie chart I want.

Ahhh the beauty of Open Source software (where open is not just a look but dont touch affair AKA Free Sofware).

For those interested the lines in question are in pChart.class in the drawPieChart functions.

elseif ($DrawLabels == PIE_VALUE_LABEL)
  $Caption  = $Value." - ".$iLabels[$Key]."\r\n".
(round($Value * pow(10,$Decimals) * $SplicePercent)/pow(10,$Decimals))."%";

Published on Friday 15th January 2010

Pemalink Icon Comments Icon Comments (3)

philderbeast
i must say i love the idea of open source as well... so much that I'm going to make my own open source control panel for webhosting since i cant find something that suits my needs since i moved on to the vps Smile


boyter
I like the idea of Free Software more then Open Source. Although the name isnt that good (probably why Open Source is used) as it implies you didnt pay for it which is not always the case.

But yes it is very nice when you can solve your own issues.

"Eternal life or your money back!"


nisch
If you did the dashboard course, you would know how evil pie charts are and would know to avoid them where possible Smile



Enter fatty

© Ben Boyter 2007 Powered by Hamster Wheels Ver 3.5