The
redraw
method is used when we want to manually update plot data or change properties in our chart. If we want to change the axes or have jqPlot update the data series from a remote data source, we need to usereplot
.The axes and ticks were rendered before the data from our remote source was processed.
If too many data series are added to the remote data source, the charts generated will be unreadable.
We set the
min
andmax
values for our gauge. We createdlabel
and usedlabelPosition
to move the label below the chart. We created an array for theticks
option to allow us know the position of where our needle sat. We also setintervals
to create colored bands below the needle and usedintervalColors
to color those bands.We can overload jqPlot with the amount of data it will need to process and try to plot. Also, with too many data points, the chart will be unreadable.
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