Question
Reply
 
Highlighted
Honor Student
Posts: 4
Member Since: ‎12-08-2013
Message 1 of 3 (383 Views)

Bar Chart in PCL5

Hi All!

 

Does anybody know how to make bar (or pie) charts using PCL5 code?

 

Thanks in advance.

Reply
0
Associate Professor
Posts: 1,595
Member Since: ‎05-27-2010
Message 2 of 3 (358 Views)

Re: Bar Chart in PCL5

You can draw filled rectangles using the appropriate PCL Rectangular Area Fill escape sequences.

 

For drawing pie sections, you'd be better off looking at the HP-GL/2 commands (HP-GL/2 is a subset of the PCL5 Page Description Language); this language subset can also be used to draw rectangles.

Honor Student
Posts: 4
Member Since: ‎12-08-2013
Message 3 of 3 (349 Views)

Re: Bar Chart in PCL5

yes Chris I got that, but I'd like to see some code examples to figure it out. Thanks anyway for your support!

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation