CHAPTER 3

image

Introducing jqPlot

In the course of this chapter, you will be introduced to the basic concepts that underlie this library. After seeing how the library is structured and the files that compose it, you will begin to understand how easy it is to make a chart using only a few lines of code.

With a series of examples, and through the use of plug-ins, you will gradually learn how to represent any type of chart. Everything will be done using the $.jqPlot() function, whose three arguments characterize all the features of the jqPlot library: the target canvas, the input data array, and the options object.

Finally, after a brief illustration ...

Get Create Web Charts with jqPlot 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.