The first part is composed of two pieces: the x and y axes. The other two parts are the grid and the ticks.
We can create one object and store it in a variable, and we can use a jQuery selector to create another.
In the data series, we set yaxis to y2axis.
The first two options are
outsideGrid
andinsideGrid
. Both of these will place the legend within the plot object. Theoutside
option will place the legend outside the object. With this option, the legend may overlap other elements on the page.The four main styles are
circle
,diamond
,square
, andx
. The other three options are the filled in versions ofcircle
,diamond
, andsquare
.We will use
$%'d
. The dollar sign is literal and the apostrophe tells jqPlot that we want the thousands place separator.
Learning jqPlot
By :
Learning jqPlot
By:
Overview of this book
Table of Contents (19 chapters)
Learning jqPlot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started
More Line Charts, Area Charts, and Scatter Plots
Bar Charts and Digging into Data
Horizontal and Stacked Bar Charts
Pie Charts and Donut Charts
Spice Up Your Charts with Animation, Tooltips, and Highlighting
Stock Market Charts – OHLC and Candlestick Charts
Bubble Charts, Block Plots, and Waterfalls
Showing Real-time Data with Our Charts
Beautifying and Extending Your Charts
Bringing it All Together
Answers
Index
Customer Reviews