Import Statement

The enterprise framework 2D bar chart module will be contained in the same package as the 2D pie chart discussed in Chapter 15, so we now have to add these new classes in the import file statement for that package. The new code required is shown in Figure 17-19.

By adding the three new classes, BarLabelType, MultiBar, and SimpleBar, into the package declaration for CURL.SAMPLES.SIMPLE-GRAPH, we make the entire 2D bar chart functionality available to whatever application chooses to import and utilize it.

Figure 17-19. Additional code for the CURL.SAMPLES.SIMPLE-GRAPH import file.
{curl 2.0 package}
{package CURL.SAMPLES.SIMPLE-GRAPH,
    {files
          …,
          "BarLabelType.scurl", "MultiBar.scurl",
          "SimpleBar.curl"
          …
}
…

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.