
 
   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%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 . 3 . 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%      S e v e r e   r e f a c t o r i n g   :   M o m c h i l   B o z h i n o v           	 	 	 	             Q%
 
   Q%      L a s t   U p d a t e   :   0 1 / 0 4 / 2 0 1 8                                                                                                   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%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%]%
 
 
 
   a"  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 .   
 
 
 
   a"  P A C K A G E   C O N T E N T S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
 
   
 
   ,%
 
   %
 
   % %  / 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 . 
 
   %
 
   % %  / t e m p 	 	 	 T h i s   f o l d e r   i s   u s e d   b y   t h e   p I m a g e M a p   m o d u l e . 
 
   %
 
   % %  / p C h a r t 	 	 	 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   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   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   t o   d r a w   b u b b l e   c h a r t s . 
 
   %      % %  p C h a r t s 	 	 C l a s s   t o   d r a w   s e v e r a l   t y p e s   o f   c h a r t s 
 
   %      % %  p C o l o r 	 	 D a t a   s t r u c t u r e   f o r   c o l o r s 
 
   %      % %  p C o l o r G r a d i e n t 	 D a t a   s t r u c t u r e   f o r   g r a d i e n t   c o l o r 
 
   %      % %  p D a t a 	 	 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 	 	 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 D r a w . D e b u g 	 S p o o f e d   G D   f u n c t i o n s .   D u m p   G D   o p e r a t i o n s . 
 
   %      % %  p E x c e p t i o n 	 E x c e p t i o n s   f o r   a l l   c l a s s e s 
 
   %      % %  p I n d i c a t o r 	 C l a s s   t o   d r a w   i n d i c a t o r s . 
 
   %      % %  p P i e 	                 C l a s s   t o   d r a w   p i e   c h a r t s . 
 
   %      % %  p S p r i n g 	 	 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   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   t o   d r a w   s t o c k   c h a r t s . 
 
   %      % %  p S u r f a c e 	 C l a s s   t o   d r a w   s u r f a c e   c h a r t s . 
 
   %
 
   % %  / p C h a r t / p C a c h e / 
 
   %      %
 
   %      % %  p C a c h e F i l e 	 	 C l a s s   e n a b l i n g   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 C a c h e S Q L i t e 	 	 C l a s s   e n a b l i n g   c h a r t   c a c h i n g   t o   a   S Q L i t e   d a t a b a s e . 
 
   %      % %  p C a c h e I n t e r f a c e 	 	 I n t e r f a c e   f o r   t h e   c a c h i n g   c l a s s e s . 
 
   %	 
 
   % %  / p C h a r t / p I m a g e M a p / 
 
   %      %
 
   %      % %p I m a g e M a p F i l e 	 	 C l a s s   f o r   t h e   I m a g e   M a p s   u s i n g   f i l e   s t o r a g e 
 
   %      % %p I m a g e M a p I n t e r f a c e   	 I n t e r f a c e   f o r   t h e   I m a g e   M a p   c l a s s e s . 
 
   %      % %p I m a g e M a p S Q L i t e 	 	 C l a s s   f o r   t h e   I m a g e   M a p s   w i t h   S Q L i t e   s t o r a g e . 
 
   %      % %p I m a g e M a p S e s s i o n 	 	 C l a s s   f o r   t h e   I m a g e   M a p s   u s i n g   s e s s i o n   s t o r a g e 
 
   %      
 
   % %  / p C h a r t / 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 . 
 
   %
 
   % %  / p C h a r t / f o n t s 	 	 T h i s   f o l d e r   c o n t a i n s   a   b u n c h   o f   T T F   f o n t s . 
 
   %
 
   % %  / p C h a r t / 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 . 
 
   %
 
   % %  / 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 . 
 
   %      % %  i m a g e M a p 	 	 I m a g e   m a p   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 . 
 
   %
 
   % %  c h a n g e . l o g 	 	 	 H i s t o r y   o f   a l l   t h e   c h a n g e s   s i n c e   t h e   2 . 0 
 
   % %  r e a d m e . t x t 	 	 	 T h i s   f i l e . 
 
 
 
   a"  P R E R E Q U I S I T E S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
 
 
 
     T h e   p C h a r t   l i b r a r y   i s   c o m p a t i b l e   w i t h   P H P   7 +   v e r s i o n s . 
 
     I t   r e q u i r e s   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   i n s t a l l e d . 
 
 
 
   a"  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 . 
 
 
 
 
 
   a"  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   t h e   L I C E N S E   f i l e . 
 
 
 
     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 
 
 
 
 
 
   a"  E X T E R N A L   C O P Y R I G H T S    % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
 
 
 
     T h o s e   e x t e r n a l     c o m p o n e n t s   a r e     o n l y   p r o v i d e d   a s   a   b a s e   t o   r u n   e x a m p l e s .   T h e 
 
     p C h a r t   l i b r a r y   d o e s   n o t   d e p e n d s   o n   a n y   o f   t h e m   t o   b e   u s e d . 
 
 
 
     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 
 
     J a v a s c r i p t   C o l o r   P i c k e r   f r o m   h t t p : / / j s c o l o r . c o m / 
 
     j Q u e r y   -   h t t p s : / / j q u e r y . o r g / l i c e n s e / 
 
 
 
     T h e   p r o v i d e d   f o n t   f i l e s   a r e   l i c e n s e d   u n d e r   t h e i r   o w n   t e r m s   : 
 
 
 
       %
 
       % %  a d v e n t _ l i g h t . t t f 	 C o p y r i g h t   A n d r e a s   K .   i n d e 
 
       % %  B e d i z e n . t t f 	 C o p y r i g h t   T e p i d   M o n k e y   F o n t s 
 
       % %  F o r g o t t e . t t f 	 C o p y r i g h t   R a y   L a r a b i e 
 
       % %  G e o s a n s L i g h t . t t f 	 C o p y r i g h t   M a n f r e d   K l e i n 
 
       % %  M a n k S a n s . t t f 	 C o p y r i g h t   M a n f r e d     K l e i n 
 
       % %  p f _ a r m a _ f i v e . t t f 	 C o p y r i g h t   Y u s u k e   K a m i y a m a n e 
 
       % %  S i l k s c r e e n . t t f 	 C o p y r i g h t   J a s o n   A l e k s a n d r   K o t t k e 
 
 
 
 
 
   a"  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 .   
 
 
 
     O r i g i n a l   p C h a r t   p o r t a l   :   h t t p : / / w w w . p c h a r t . n e t 
 
     D o c u m e n t a t i o n 	 	   :   p h p   - S   1 2 7 . 0 . 0 . 1 : 8 0 8 0 
 
     R e p o r t   i s s u e s                     :   h t t p s : / / g i t h u b . c o m / b o z h i n o v / p C h a r t 2 . 0 - f o r - P H P 7 / i s s u e s 
 
 
 
 
 
   - - - 
 
   ( c ) 2 0 1 4   J e a n - D a m i e n   P O G O L O T T I   -   1 3 k   l i n e s   o f   c o d e s 
 
   2 0 1 8   M o m c h i l   B o z h i n o v   -   1 1 k   l i n e s   o f   c o d e s 