Conventions
In this book, you will find a number of text styles 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: "The updatePie
function is called at several places in this demo, such as to remove a series, when the legend checkbox is checked, and more."
A block of code is set as follows:
// Bring up the modify dialog box click: function(evt) { // Store the clicked pie slice // detail into the dialog box $('#updateName').text(evt.point.name); $('#percentage').val(evt.point.y); $('#dialog-form').dialog("option", "pieSlice", evt.point);
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<div data-role="content"> <ul data-role="listview" data-inset="true"> <li><a href="./gold.html" data-ajax="false" >Top 10 countries by gold</a></li> <li><a href="./medals.html" data-ajax="false" >Top 10 countries by medals</a></li> <li><a href="#">A-Z countries</a></li> <li><a href="#">A-Z olympians</a></li> </ul>
Any command-line input or output is written as follows:
java -jar batik-rasterizer.jar /tmp/chart.svg
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The order is such that the values of the subcategories for the Nintendo category are before the subcategory data for Electronic Arts, and so on."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.