Using the SimplePlot Library
In the past, charting in JavaScript has meant creating your own code that generated HTML to display the data. This has stopped most applications from moving the charting code from the server to the client and has therefore greatly reduced the number of applications using charting to aid the user. The SimplePlot library attempts to allow programmers to define and display charts in JavaScript with only a few simple lines of code. SimplePlot is found in the source code for this chapter at www.OraclePress.com. Figure 8-1 shows a chart generated using the SimplePlot API.
The SimplePlot API consists of a single object. This SimplePlot object, found in the SimplePlot.js file, is a wrapper around a more complex JavaScript ...
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.
Read now
Unlock full access