 
   T%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%W% 
   Q%                                                                                  Q% 
   Q%      p C h a r t   -   a   P H P   C h a r t i n g   l i b r a r y               Q% 
   Q%                                                                                  Q% 
   Q%      V e r s i o n           :   2 . 1 . 0                                       Q% 
   Q%      M a d e   b y           :   J e a n - D a m i e n   P O G O L O T T I       Q% 
   Q%      L a s t   U p d a t e   :   2 6 / 0 1 / 1 1                                 Q% 
   Q%                                                                                  Q% 
   Z%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%]% 
  
   ,% 
   % 
   % %  / c a c h e 	 	 	 T h i s   f o l d e r   i s   u s e d   b y   t h e   p C a c h e   m o d u l e .  
   % 
   % %  / c l a s s 	 	 	 T h i s   f o l d e r   c o n t a i n s   t h e   l i b r a r y   c o r e   c l a s s e s .  
   %      % 
   %      % %  p B a r c o d e 3 9 . c l a s s 	 C l a s s   t o   d r a w   C o d e   3 9   b a r c o d e s .  
   %      % %  p B a r c o d e 1 2 8 . c l a s s 	 C l a s s   t o   d r a w   C o d e   1 2 8   b a r c o d e s .  
   %      % %  p B u b b l e . c l a s s 	 	 C l a s s   t o   d r a w   b u b b l e   c h a r t s .  
   %      % %  p C a c h e . c l a s s 	 	 C l a s s   e n a b l e   c h a r t   c a c h i n g   f u n c t i o n a l i t i e s .  
   %      % %  p D a t a . c l a s s 	 	 C l a s s   t o   m a n i p u l a t e   c h a r t   d a t a .  
   %      % %  p D r a w . c l a s s 	 	 E x t e n d e d   d r a w i n g   f u n c t i o n s .  
   %      % %  p I m a g e . c l a s s 	 	 C o r e   d r a w i n g   f u n c t i o n s .  
   %      % %  p P i e . c l a s s 	 	 C l a s s   t o   d r a w   p i e   c h a r t s .  
   %      % %  p S p l i t . c l a s s 	 	 C l a s s   t o   d r a w   s p l i t   p a t h   c h a r t s .  
   %      % %  p S p r i n g . c l a s s 	 	 C l a s s   t o   d r a w   s p r i n g   c h a r t s .  
   %      % %  p S c a t t e r . c l a s s 	 	 C l a s s   t o   d r a w   s c a t t e r   c h a r t s .  
   %      % %  p S t o c k . c l a s s 	 	 C l a s s   t o   d r a w   s t o c k   c h a r t s .  
   % 
   % %  / d a t a 	 	 	 T h i s   f o l d e r   c o n t a i n s   e x t e n d e d   d a t a .  
   %      % 
   %      % %  3 9 . d b 	 	 	 C o d e   3 9   b a r c o d e s   s t a t i c   d a t a b a s e .  
   %      % %  1 2 8 . d b 	 	 	 C o d e   1 2 8   b a r c o d e s   s t a t i c   d a t a b a s e .  
   % 
   % %  / e x a m p l e s 	 	 	 T h i s   f o l d e r   c o n t a i n s   s o m e   P H P   e x a m p l e s .  
   %      % 
   %      % %  d e l a y e d L o a d e r 	 	 D e l a y e d   l o a d e r   s c r i p t   e x a m p l e .  
   %      % %  s a n d b o x 	 	 	 P o w e r f u l   d e v .   t o o l   t o   d e s i g n   y o u r   c h a r t s .  
   % 
   % %  / f o n t s 	 	 	 T h i s   f o l d e r   c o n t a i n s   s o m e   T T F   f o n t s .  
   % 
   % %  / p a l e t t e s 	 	 	 S a m p l e   p a l e t t e s   f i l e s .  
  
  
   P R E R E Q U i S i T E S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     T h i s   l i b r a r y   h a s   b e e n   w r i t t e n   t o   w o r k   w i t h   P H P   5 +   v e r s i o n s .   I t   w i l l   a l s o   w o r k  
     w i t h   P H P   4   b u t   t h e   r e n d e r i n g   q u a l i t y   m a y b e   d o w n g r a d e d   a n d   t h e   r e n d e r i n g   s p e e d  
     s e r i o u s l y   i m p a c t e d .  
  
     p C h a r t   r e q u i r e   t h e   G D   a n d   F r e e T y p e   P H P   e x t e n s i o n s   t o   b e   i n s t a l l e d   o n   y o u r  
     w e b   s e r v e r .   T h i s   i s   a n   i m p o r t a n t   p r e r e q u i s t e   t h a t   c a n ' t   b e   o v e r r i d e d .      
  
  
   W H A T   C A N   p C H A R T   D O   F O R   Y O U ?    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     p C h a r t   i s   a   P H P   f r a m e w o r k   t h a t   w i l l   h e l p   y o u   t o   c r e a t e   a n t i - a l i a s e d   c h a r t s   o r  
     p i c t u r e s   d i r e c t l y   f r o m   y o u r   w e b   s e r v e r .   Y o u   c a n   t h e n   d i s p l a y   t h e   r e s u l t   i n  
     t h e   c l i e n t   b r o w s e r ,   s e n t   i t   b y   m a i l   o r   i n s e r t   i t   i n t o   P D F s .    
  
     T h i s   l i b r a r y   h a s   n o w   r e a c h e d   a n   i m p o r t a n t   p o i n t   i n   i t s   d e v e l o p m e n t   c y c l e  
     g o i n g   o u t   o f   t h e   b e t a   s t e p .   p C h a r t   2 . 0   i s   a   c o m p l e t l y   r e w r i t t e n   l i b r a r y   b a s e d  
     o n   w h a t   I ' v e   l e a r n e d   d o i n g   t h e   f i r s t   v e r s i o n .    
  
  
   R U N N i N G   T H E   E X A M P L E S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     p C h a r t   i s   s h i p p e d   w i t h   e x a m p l e s   ( l o c a t e d   i n   t h e   / e x a m p l e s   f o l d e r )   t h a t   y o u  
     c a n   e i t h e r   r e n d e r   f r o m   a   w e b   p a g e   u s i n g   y o u r   h t t p   a n d   p o i n t i n g   t o   t h i s   f o l d e r  
     o r   f r o m   t h e   c o m m a n d   l i n e   i n v o k i n g   t h e   p h p   i n t e r p r e t e r .  
  
     O n   w i n d o w s   O S ,   a s s u m i n g   t h a t   y o u r   P H P   b i n a r i e s   a r e   c o r r e c t l y   c o n f i g u r e d   i n  
     t h e   P A T H   e n v i r o n m e n t   v a r i a b l e   y o u   c a n   a l s o   e x e c u t e   t h e   B u i l d A l l . c m d   b a t c h  
     f i l e .  
  
  
   L i C E N S E    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     T h e   p C h a r t   l i b r a r y   i s   r e l e a s e d   u n d e r   t w o   d i f f e r e n t   l i c e n s e s .   I f   y o u r  
     a p p l i c a t i o n   i s   n o t   a   c o m m e r c i a l   o n e   ( e g :   y o u   m a k e   n o   m o n e y   b y   r e d i s t r i b u t i n g  
     i t )   t h e n   t h e   G N U   G P L v 3   l i c e n s e   ( G e n e r a l   P u b l i c   L i c e n s e )   a p p l i e s .   T h i s   l i c e n s e  
     a l l o w s   y o u   t o   f r e e l y   i n t e g r a t e   t h i s   l i b r a r y   i n   y o u r   a p p l i c a t i o n s ,   m o d i f y   t h e  
     c o d e   a n d   r e d i s t r i b u t e   i t   i n   b u n d l e d   p a c k a g e s   a s   l o n g   a s   y o u r   a p p l i c a t i o n   i s  
     a l s o   d i s t r i b u t e d   w i t h   t h e   G P L   l i c e n s e .    
  
     T h e   G P L v 3   l i c e n s e   d e s c r i p t i o n   c a n   b e   f o u n d   i n   G P L v 3 . t x t .  
  
     I f   y o u r   a p p l i c a t i o n   c a n ' t   m e e t   t h e   G P L   l i c e n s e   o r   i s   a   c o m m e r c i a l   o n e   ( e g :  
     t h e   l i b r a r y   i s   i n t e g r a t e d   i n   a   s o f t w a r e   o r   a n   a p p l i a n c e   y o u ' r e   s e l l i n g )   t h e n  
     y o u ' l l   h a v e   t o   b u y   a   c o m m e r c i a l   l i c e n s e .   W i t h   t h i s   l i c e n s e   y o u   d o n ' t   n e e d   t o  
     m a k e   p u b l i c l y   a v a i l a b l e   y o u r   a p p l i c a t i o n   c o d e   u n d e r   t h e   G P L   l i c e n s e   t e r m s .  
     C o m m e r c i a l   l i c e n s e   p r i c e   a r e   d e p e n d i n g   o f   y o u r   n e e d s .  
  
     P l e a s e   c o n s u l t   t h e   w e b   p a g e   :   h t t p : / / w w w . p c h a r t . n e t / l i c e n s e  
  
  
   E X T E R N A L   C O P Y R i G H T S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     F a m f a m f a m   i c o n s   h a s   b e e n   m a d e   b y   M a r k   J a m e s ,   R o u n d e d   c o r n e r s   l i t e   h a s   b e e n  
     c o d e d   b y   C a m e r o n   C o o k e   a n d   T i m   H u t c h i s o n ,   J a v a s c r i p t   C o l o r   P i c k e r   h a s   b e e n  
     w r i t t e n   b y   H o n z a   O d v a r k o .  
  
  
   S U P P O R T    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 
  
     S i n c e   t h e   b e g i n n i n g ,   p C h a r t   i s   a   c o m m u n i t y   d r i v e n   p r o j e c t .   Y o u ' r e   m i s s i n g  
     f e a t u r e   t h e n   a s k !   W e ' l l   t r y   t o   g e t   i t   i m p l e m e n t e d   i n   t h e   f u t u r e   v e r s i o n   o r  
     y o u ' l l   b e   g u i d e d   t o   c r e a t e   a   c l a s s   e x t e n s i o n   f o r   y o u r   o w n   n e e d s .    
  
     A l l   t h e   l i b r a r y   c l a s s e s   a n d   m e t h o d s   a r e   e x p l a i n e d   o n   t h e   p W i k i   p a g e s .   J u s t  
     c l i c k   o n   t h e   d o c u m e n t a t i o n   l i n k   o n   t o p   o f   t h i s   p a g e .    
  
     T o   g e t   s u p p o r t   p l e s e   g o   t o   o u r   f o r u m   :   h t t p : / / w i k i . p c h a r t . n e t / f o r u m  
  
 