Skip to Main Content
Enterprise Curl
book

Enterprise Curl

by Paul Sheehan
December 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
9h 25m
English
Pearson
Content preview from Enterprise Curl

SimpleGraph

The SimpleGraph class is used as a container for a report, regardless of the report's style. In this chapter, we will see how a 2D pie chart can be added into and displayed within its boundaries, and in Chapter 17, we will see how a 2D bar chart can be added to it. A SimpleGraph is really used to provide a consistent way of labeling charts and applying common font characteristics to text displayed on a graph. The {constructor} and class fields required to support this functionality are shown in Figure 15-2.

SimpleGraph inherits from the Curl system class BaseFrame, which is the base class for containers that contain one graphical child. We use the {…} rest argument definition in the {constructor} declaration, as this enables it to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Web 2.0 Architectures

Web 2.0 Architectures

James Governor, Dion Hinchcliffe, Duane Nickull
Juniper Networks® Field Guide and Reference

Juniper Networks® Field Guide and Reference

Aviva Garrett, Gary Drenan, Cris Morris, Juniper Networks®

Publisher Resources

ISBN: 0131461222Purchase book