Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Understanding IMLPlus Classes > 6.6 Creating Dynamically Linked Grap...

6.6 Creating Dynamically Linked Graphs

The program in the previous section created a bar chart of the data in the MPAARating variable in a data object created from the Movies data set. It is simple to extend that program to create a second graph (say, a scatter plot) that is dynamically linked to the bar chart: merely create the second graph from the same data object, as shown in the following statements:

/* create a second graph. The two graphs are dynamically linked. */
declare ScatterPlot plot;
plot = ScatterPlot.Create(dobj, "ReleaseDate", "Budget");


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint