Ask questions. Help others.
The HP Community is here for you.
Post new question
Question
Reply
 
Note on archived topics.
This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here, or click on "Post new question" above and select the appropriate board.
Honor Student
Posts: 4
Member Since: ‎12-08-2013
Message 1 of 3 (614 Views)

Bar Chart in PCL5

Hi All!

 

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

 

Thanks in advance.

0 Kudos
Distinguished Professor
Posts: 3,325
Member Since: ‎05-27-2010
Message 2 of 3 (589 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.

Highlighted
Honor Student
Posts: 4
Member Since: ‎12-08-2013
Message 3 of 3 (580 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