- Learning jqPlot
- Scott Gottreu
- 240字
- 2021-09-03 09:49:39
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "For the yaxis
option, we set our label
and use the formatString
option to format our values as currency."
A block of code is set as follows:
<script> $(document).ready(function(){ var secondPlot = $.jqplot ('secondChart', [[[5,4],[10,7],[15,6],[20,9]]]); }); </script> <div id="secondChart" style="width:400px;"></div>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<script src="../js/jqplot.dateAxisRenderer.min.js"></script>
<script>
$(document).ready(function(){
var revenue = [['2012-07-20', 807403], ['2012-08-20', 755840], ['2012-09-20', 775304]];
var profit = [['2012-07-20', 193793.82], ['2012-08-20', 183221.56], ['2012-09-20', 192797.31]];
var electronics = [['2012-07-20', 116276.29], ['2012-08-20', 95867.97], ['2012-09-20', 120591.27]];
var media = [['2012-07-20', 27596.25], ['2012-08-20', 32396.47], ['2012-09-20', 26709.06]];
var nerd_corral = [['2012-07-20', 49921.28], ['2012-08-20', 54957.12], ['2012-09-20', 45496.98]];
var rev_profit = $.jqplot ('division_profit', [revenue, profit, electronics, media, nerd_corral],
{
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "We test our chart, and a trend line for DVDs/Blu-ray is rendered since we did not pass a query string."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- 手機安全和可信應用開發指南:TrustZone與OP-TEE技術詳解
- Google Flutter Mobile Development Quick Start Guide
- Facebook Application Development with Graph API Cookbook
- JavaScript修煉之道
- 小創客玩轉圖形化編程
- PyTorch自動駕駛視覺感知算法實戰
- Python高級機器學習
- 精通Scrapy網絡爬蟲
- Visual C
- KnockoutJS Starter
- HTML5入門經典
- RealSenseTM互動開發實戰
- Troubleshooting Citrix XenApp?
- AV1視頻編解碼標準:原理與算法實現
- Julia High Performance(Second Edition)