StockByMakeSheet

The StockByMakeSheet class will be used to create either a pie chart or a bar chart based on the value of the {constructor} argument. It has this functionality because the reports are based on the same XML schema, the difference being in the amount of data contained in the XML message. Figure 16-5 shows the constructor and class fields required to support this functionality.

Figure 16-5. StockByMakeSheet.constructor method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: StockByMakeSheet.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: Creates the layout for the stock by make bar || report to be displayed in a Sheet ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| {define-class ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.