Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning jqPlot
  • Table Of Contents Toc
Learning jqPlot

Learning jqPlot

By : Scott Gottreu
5 (1)
close
close
Learning jqPlot

Learning jqPlot

5 (1)
By: Scott Gottreu

Overview of this book

If you are a developer with a good understanding of JavaScript and jQuery and have been burdened with the task of analyzing and presenting some data, this book will provide you with the start you need to create some very attractive data visualizations.
Table of Contents (14 chapters)
close
close
13
Index

Summary

We started this chapter by looking at how canvas elements work. We discussed what parts of a jqPlot chart can be modified using CSS and which have to be modified by JavaScript on the canvas. We looked at the x2axis element and how to smooth lines. We also changed the default colors for negative numbers within our series.

We then created a function expression to create default options for our bar charts. Then with our default options set, we passed the object into another function to style our charts. With all this up-front work, it reduced the amount of code needed and also reduced the development time for each subsequent chart.

In the next chapter, we will combine all of these charts into one document. We will also look at modifying one of the rendering plugins for jqPlot.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning jqPlot
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon