Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite
FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite

FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite: Create interactive charts in JavaScript (HTML5) and Flash for your web and enterprise applications with this book and ebook

eBook
$25.99 $28.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite

Chapter 2. Customizing your Chart

Now that you have created your first couple of charts, you must be curious to customize them both aesthetically and functionally. As charts are typically part of a larger application such as an internal reporting system or a CRM dashboard, it becomes necessary to bring the overall look and feel of the application to the charts as well. Also, the users of different applications vary widely bringing in the need for functional customization, while some of them can interpret complex figures in seconds, others need visual cues to understand their data better.

In this chapter, you will learn how to:

  • Customize visuals of the chart including border, background, and font

  • Control how numbers appear on the chart

  • Add visual context to data such as target sales on a monthly sales chart using trend lines

  • Personalize the chart by adding your logo and URL

  • Make your charts cater to an international audience by using multilingual characters

Let's get started.

Know thy chart

Before...

Know thy chart


Before we get down to customizing the charts, you need to know your charts a little better. We will look at the important elements of the chart to start with, and dive into the finer aspects as we go along.

The following screenshot shows how the chart background and canvas look in a 3D Column chart:

The following screenshot shows how it looks in a 2D Column chart:

As you can see, the chart background refers to the entire background of the chart and the canvas refers to the area the chart is plotted in. The columns in a column chart, the lines in a line chart and the wedges (slices) in a pie chart are called data plots.

Now that we have got the basics in place, let's get started. Shall we?

Customizing the chart background


The chart background is the most prominent aesthetic element of the chart, and goes a long way in keeping the look of the chart in sync with the complete application. The 3D charts have a white background by default, and the 2D ones have a light gray one.

Just like you had set the chart caption using<chart caption='Harry&apos;s SuperMart' ...>, the background color is also customized using XML/JSON attributes of the<chart> element. We will be using XML examples throughout the chapter as they are more human-readable, and implementing them in JSON should be no rocket science.

Time for action — customizing the chart background


  1. 1. Create a folder called CustomizingCharts under LearningFusionCharts. This is the folder where we are going to store all the HTML and XML files for everything we learn in this chapter.

  2. 2. Copy the files FirstChart.html and Data.xml from the FirstChart folder, and rename them as ChartBackground.html and ChartBackground.xml respectively.

  3. 3. In ChartBackground.html, update the URL of the XML data file from Data.xml to ChartBackground.xml by setting the following parameter:

    myChart.setXMLUrl("ChartBackground.xml");
    
  4. 4. In ChartBackground.xml, add the attribute bgColor='CCCCCC' to the<chart> element as shown in the following lines of code:

    <chart bgColor='CCCCCC' caption='Harry&apos;s SuperMart' subcaption='Revenue by Year' xAxisName='Year' yAxisName='Amount' numberPrefix='$'>
    
  5. 5. When you open FirstChart.html in a browser, you will see the same 3D Column chart you had created earlier but with a dark gray background instead of the...

Time for action — setting currency notes as the chart background


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to ImageBackground.html and ImageBackground.xml respectively. Also make the change in XML data URL.

  2. 2. Change the chart type to Column2D.swf in ImageBackground.html using the following line of code:

    var myChart = new FusionCharts("../FusionCharts/Column2D.swf", "myChartId", "400", "300", "0", "1" );
    
  3. 3. Find a nice background image with currency notes. You can either search for an image shared under the Creative Commons license at http://search.creativecommons.org/ or use the beautiful image at http://www.flickr.com/photos/amagill/3367543296/sizes/z/in/photostream/. Save it as money.jpg in the CustomizingCharts folder.

  4. 4. Add the attribute canvasbgAlpha='0' to the<chart> element, and remove bgColor='CCCCCC'.

  5. 5. Add the attributes bgImage='money.jpg' bgImageAlpha='30' bgImageDisplayMode='fit'.

  6. 6. Open ImageBackground.html in a browser to see...

Customizing the chart border


By default, the 2D charts have a border around them and the 3D ones do not. To enable the border in a 3D chart, you just need to set<chart showBorder='1'...>. The border's color and thickness can then be customized using the borderColor and borderThickness attributes respectively.

The 2D charts have a border around the canvas too, which can be customized using the same attributes, just that you need to prefix the word canvas before them.

Customizing the data plot


Data plots, as we talked about earlier, are the columns in a column chart, the lines in a line chart, the wedges in a pie chart and similar. These data plots come with a lot of customization options and you can use them to highlight individual data points as well.

Customizing the color of the data plot

Each of the columns pick a different color by default in the column chart, and the same behavior is exhibited by the bar and the pie chart as well. The line and the area chart are drawn in the same color throughout. However, you can specify the color you want for each of the data plots in any of these charts by using the color attribute of the<set> element.

<set label='2009' value='1487500' color='FFFFDD'/>

You can use the data plot color to highlight a specific data point as well, say the highest revenue in a month, or the lowest, for that matter. It is one of the most commonly used data highlighting techniques wherein the data to be highlighted is given...

Customizing the font properties


You can also customize the font face, size and color of all the text in the chart captions, data labels, values, and so on. This is done using the baseFont, baseFontSize, and baseFontColor attributes all of which are self-explanatory.

All the text on the chart can be classified into two the values and the tooltips inside the canvas, and all the labels and the captions outside it. There are times when you want to increase the font size of all the text on the chart but the chart can get a little cluttered when the size of the data values next to the data plots are increased as well. In such cases, you can selectively control only the text outside the canvas using the outCnvBaseFont, outCnvBaseFontSize, and outCnvBaseFontColor attributes. The outside canvas font properties override the base font properties for text outside the chart.

Configuring the y-axis and divisional lines


In all the charts that we have created until now, we just supplied the data and the chart automatically calculated the lower and upper limits. It also added divisional lines to help us in analyzing data the horizontal lines that run through the chart at $500K, $1M, $1.5M, and the like, in all our charts. While the defaults work well in most cases, there are times when you would want to set the axis limits by hand and also the number of divisional lines.

Time for action — customizing the chart limits and the number of divisional lines


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to ChartLimitCustomization.html and ChartLimitCustomization.xml respectively. Make the change in XML data URL and remove the background attribute for all the forthcoming examples, wherever we make a copy of the chart background files, let's assume this step by default to keep our focus on the new stuff.

  2. 2. Add the attributes adjustDiv='0' yAxisMaxvalue='3000000' numDivLines='2' to the<chart> element.

  3. 3. Check out ChartLimitCustomization.html in a browser to see how the chart limits and the divisional lines are under your control now.

What just happened?

First up, as we wanted to explicitly specify the y-axis upper limit and the number of divisional lines, we had to disable automatic adjustment of divisional lines using adjustDiv='0'. It is pretty simple after that, we just set the y-axis upper limit using yAxisMaxValue='3000000...

Formatting the numbers on the chart


If you have noticed the numbers on the chart carefully, you would see 1490000 and 2100000 have been neatly converted to 1.49M and 2.1M respectively, thus making them much easier to read.

FusionCharts automatically formats the number scaling to convert to K (Thousands) and M (Millions). So if the values on your chart are 13300, 14500, and 10000, the chart will automatically convert them to 13.3K, 14.5K and 10K respectively. In case you don't want the numbers getting formatted this way, you can set formatNumberScale='0'. Once you do that, the numbers are displayed as 13,300, 14,500, and 10,000. Commas have been added to make the numbers easier to read. In case you don't want the commas either, you need to set formatNumber='0' as well.

Adding a prefix or suffix to the numbers

Throughout the examples in the book, we have been adding the $ prefix to all the numbers on the chart using numberPrefix='$'. Mostly, currency signs are prefixed to all the numbers on...

Time for action — setting up a number scale to understand billions as well


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to CustomNumScale.html and CustomNumScale.xml respectively.

  2. 2. Add the attributes numberScaleValue='1000,1000,1000' numberScaleUnit='K,M,B' to the<chart> element.

  3. 3. Add three zeroes to each of the three revenue figures so that the new number scale consisting of billions can kick in.

What just happened?

We just created a number scale to convert all the numbers in the chart to K, M, and B. Here's how the conversion works in simpler terms:

1000 = 1K

1000 K=1M

1000 M=1B

The same has been explained to the chart using numberScaleValue='1000,1000,1000' numberScaleUnit='K,M,B'. Essentially, what it means for the chart is, convert any number on the scale of 1000 to K, any number on the scale of 1000x1000 to M (the next value in numberScaleUnit), and any number on the scale of 1000x1000x1000 to B (the last value in numberScaleUnit). The only...

Customizing data labels and values on the chart


Data labels are the names of data points that appear on the x-axis, and data values are the values themselves that are displayed alongside the data plot. In case you don't want to display them, you can hide them using showLabels='0' and showValues='0' respectively. Both the label and the value will be displayed in the tooltip of the data plot even if you have hidden them. You can also opt to show the label of only selective data points to highlight it first hide all of them and then display only the ones you want to, using<set showLabel='1' ...> for the respective data point. This can be done for data values as well using<set showValue='1' ...>.

Different modes to display data labels.

Quite often, the length of the labels is more than what can be accommodated in the space available to the chart. But don't you worry, all the charts come with intelligent label management to accommodate the labels in the smartest possible way. The...

Configuring the tooltips


Every time you hover over a data plot, a tooltip with the name and the value of that point will come up. In case you don't want to have tooltips on your chart, you can switch it off using showToolTip='0'.

On the other hand, you can use the tooltip to show added details about the data points, which if present on the chart can add a lot of clutter to it. To have a custom tooltip instead of the default name and value, you need to use<set tooltext='Detailed explanation comes here' ...>. You can also break down the tooltip into multiple lines using {br}. So if we wanted to add more details to Harry's revenue chart, the tooltip could be:

<set label='2009' value='1487500' toolText='Apparels: 27%{br}Household: 37%{br}Electronic Goods: 19%{br}Sports and Fitness: 17%'/>

Configuring the legend in multi-series charts


When you created your first multi-series chart, you must have seen that the legend at the bottom of the chart helps identify the series name. The legend comes up in all multi-series and combination charts by default.

The user can click on the icon for a data series to hide it and focus on the other series. To bring it back, the user just needs to click on the icon again. The interactivity comes in really handy when you have a number of series plotted on the chart, and the user just wants to focus on a particular series.

Similar to the other chart elements, even the legend is highly customizable, both aesthetically and functionally. By default, the legend is shown at the bottom of the chart. However, if you prefer it on the right, you need to set<chart legendPosition='RIGHT'...>. To learn more about how to customize the legend aesthetically, please check out www.fusioncharts.com/docs | Quick Chart Configuration | Legend.

Note

Pie and doughnut...

Adding a trendline to the chart


Trendlines help you add more meaning to the chart, by helping the user view the data in context to some pre-determined value. For example, trendlines can be used to show the target in a monthly revenue chart or mark out the critical zone for a chart monitoring the temperature of a nuclear reactor.

Time for action — adding a trendline to show target revenue


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to Trendline.html and Trendline.xml respectively.

  2. 2. Add the following code to Trendline.xml right after the chart data:

    <trendLines>
    <line startValue='430000' color='009933' displayvalue='Target' />
    </trendLines>
    
  3. 3. Open Trendline.html in a browser.

What just happened?

Your chart can have multiple trendlines on a chart, so they need to be enclosed within the<trendlines></trendlines> tags. For each trendline, you need a<line> element. We then defined its start value, color and the label to be displayed alongside the trendline. In case your trendline needs to have a different end value, you can define that as well using the endValue attribute that would result in a slanted trendline.

Have a go hero — add a trendzone to the chart

Trendzones are similar to trendlines, except that they mark out a range, and hence, necessarily...

Personalizing the chart


Personalizing your charts helps add credibility especially when you are packaging them to an external audience. With FusionCharts Suite, you can add your logo to the chart and have your own link in the context menu (right-click menu).

Time for action — adding a logo and link to the chart


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to PersonalizedChart.html and PersonalizedChart.xml respectively.

  2. 2. Get a logo that you think works well for Harry's SuperMart and place it under CustomizingCharts as logo.jpg. You could also have the logo in GIF/PNG/SWF format. The logo has to reside on the same subdomain as the chart files. In case you can't find a suitable logo, pick up this H sign from http://www.flickr.com/photos/hansdorsch/2759771921/sizes/o/in/photostream/ shared under the Creative Commons license.

  3. 3. Add the following attributes to the<chart> element: logoURL='logo.jpg' logoPosition='TL' logoScale='10' logoAlpha='60' logoLink='http://www.harryssupermart.com'.

  4. 4. Also add aboutMenuItemLabel='About Harry&apos;s SuperMart' aboutMenuItemLink='http://www.harryssupermart.com'.

  5. 5. Open the page in a browser to check out the new personalized chart. Right-click on it to see the about...

Using multilingual characters on the chart


If you cater to an international audience, wouldn't you like your charts in the reports and dashboards to be in the language of your audience? FusionCharts Suite allows you to use multilingual (UTF-8) characters on the charts, so your charts can go international too.

To use multilingual characters on the chart, you need to use UTF-8 encoded XML and the XML file/stream requires a Byte Order Mark (BOM) stamp to be present as the very first 3 bytes of the file. BOM is an indicator that the file contains UTF-8 encoded strings. Adding the BOM stamp is simple, and it depends upon the method you are using to provide data to the chart.

Adding the BOM stamp in the Data URL method

As we learned in the Chapter 1, Introducing FusionCharts, the method by which we provide a URL to the chart to get data from (either a static XML file or data relayed by a stream) is called the Data URL method. This is the method we have been using throughout this chapter to pass...

Changing chart messages


Having created so many charts, by now you must have seen the Loading Chart or Retrieving Data message at least once. Or maybe the Invalid data message when you missed something in the XML. All of these messages are customizable too and you can have anything you want, to keep the messaging style the same throughout your application, or to add your own touch to them. All the messages are controlled by the attributes that you need to set in the page that renders the chart.

Attribute name

What does it set a message for?

Default value

PBarLoadingText

When the chart is loading

Loading Chart. Please Wait.

XMLLoadingText

When the data is loading

Retrieving Data. Please Wait.

ParsingDataText

When the data is being parsed

Retrieving Data. Please Wait.

ChartNoDataText

When there is no data for the chart to display or the chart hasn't got data in the structure it expects, for example sending multi-series data to a single-series chart

No data to...

Time for action — changing the Invalid data message


  1. 1. Create a copy of ChartBackground.html and ChartBackground.xml, and rename them to CustomChartMessage.html and CustomChartMessage.xml respectively.

  2. 2. Open CustomChartMessage.html and add the following highlighted line of code in it:

    <div id="chartContainer">FusionCharts will load here!</div>
    <script type="text/javascript"><!-- var myChart = new FusionCharts("../FusionCharts/Column3D.swf", "myChartId", "400", "300", "0", "1" );
    myChart.setXMLUrl("ChartBackground.xml");
    myChart.configure("InvalidXMLText", "The world has a new order. This chart shall not render.");
    myChart.render("chartContainer");// -->
    </script>
    
  3. 3. Open CustomChartMessage.xml and mess up the XML. Don't be too destructive, removing a closing> will do the trick too.

  4. 4. Open CustomChartMessage.html in a browser and see how the world has a new order.

What just happened?

We modified the default message of the InvalidXMLText attribute. After the...

Summary


In this chapter, we took a deep dive into the massive customization possibilities FusionCharts Suite offers. Specifically, we learned how to:

  • Customize the visuals of the chart such as background, border, and the data plots themselves

  • Highlight data points using the customization properties available for individual data points

  • Format numbers on the chart and define our own number scales

  • Add context to the chart using trendlines and trendzones

  • Add multilingual characters to the chart by adding the BOM stamp

  • Customizing the chart messages by calling configure() before rendering the chart

In the next chapter, we will look at the tight integration between FusionCharts Suite and JavaScript, how that can be used to manipulate charts at client-side, and add better printing support.

Left arrow icon Right arrow icon

Key benefits

  • Go from nothing to delightful reports and dashboards in your web applications in super quick time
  • Create your first chart in 15 minutes and customize it both aesthetically and functionally
  • Create a powerful reporting experience with advanced capabilities like drill-down and JavaScript integration
  • Integrate the charts with PHP, ASP.NET, Java or other server-side scripts pulling data from databases
  • Learn reporting best practices including right chart type selection and practical usability tips
  • A fast-paced yet comprehensive guide to FusionCharts Suite filled with examples and practical tips

Description

User experience can make or break any app these days, no matter whether it's a commercial product or an internal solution. While most web applications out there are boring and outdated when it comes to their charting, you can make yours both stunning and powerful using FusionCharts Suite. Once you have mastered it, you can give your users a delightful reporting experience in no time at all. FusionCharts Beginner's Guide is a practical, step-by-step guide to using FusionCharts Suite for creating delightful web reports and dashboards. Getting you started quickly, you will learn advanced reporting capabilities like drill-down and JavaScript integration, and charting best practices to make the most out of it. Filled with examples, real-life tips and challenges, this book is the firstofitstype in the visualization industry. The book teaches you to create delightful reports and dashboards for your web applications assuming no previous knowledge of FusionCharts Suite. It gets your first chart up in 15 minutes after which you can play around with different chart types and customize them. You will also learn how to create a powerful reporting experience using drill-down and advanced JavaScript capabilities. You will also connect your charts to server-side scripts pulling data from databases. Finally you round up the experience learning reporting best practices including right chart type selection and practical usability tips. By the end of the book, you will have a solid foundation in FusionCharts Suite and data visualization itself. You will be able to give your users a delightful reporting experience, from developers to management alike.

Who is this book for?

This book is both for beginners and advanced web developers who need to create interactive charts for their web applications. No previous knowledge of FusionCharts Suite is assumed, and the book takes you right from downloading it to creating complete reports and dashboards.

What you will learn

  • Create different charts like column, bar, line, pie, multi-series and combination, each of them in under 15 minutes
  • Render the chart in Flash and JavaScript, and provide data in XML or JSON
  • Customize the charts both aesthetically and functionally including background, font, chart limits, tooltips and use of multi-lingual characters
  • Add advanced reporting capabilities like drill-down and JavaScript integration to give your users a powerful reporting experience
  • Integrate the charts with PHP, ASP.NET, Java and any other server-side script pulling data from databases
  • Create interactive maps to plot geographical data like revenue by regions, election results and office locations on interactive maps using FusionMaps
  • Understand how to select the right chart for your data, and how to make them more usable with practical tips
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 24, 2012
Length: 252 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691765
Vendor :
FusionCharts
Category :
Languages :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Apr 24, 2012
Length: 252 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691765
Vendor :
FusionCharts
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 152.97
FusionCharts Beginner's Guide: The Official Guide for FusionCharts Suite
$48.99
Learning Highcharts
$48.99
Blender 3D Basics
$54.99
Total $ 152.97 Stars icon

Table of Contents

9 Chapters
Introducing FusionCharts Chevron down icon Chevron up icon
Customizing your Chart Chevron down icon Chevron up icon
JavaScript Capabilities Chevron down icon Chevron up icon
Enabling Drill-down on Charts Chevron down icon Chevron up icon
Exporting Charts Chevron down icon Chevron up icon
Integrating with Server-side Scripts Chevron down icon Chevron up icon
Creating Maps for your Applications Chevron down icon Chevron up icon
Selecting the Right Visualization for your Data Chevron down icon Chevron up icon
Increasing the Usability of your Charts Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Kristjan Siimson Aug 31, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book helps the reader to understand how to create and customize charts, program the charts using Javascript, connect charts to backend data sources, create maps, and come up with an easy to use chart. The authors of this book, Sanket Nadhani, Shamasis Bhattacharya and Pallav Nadhani are also the authors of FusionCharts.The book flows very well, with each chapter being a tutorial that takes a small step forward building on previous chapters. There are a couple of pop quizzes and exercises to reinforce reader's understanding of the topic.To read this book one would need to have a working knowledge of Javascript, and there are some samples on back-end data sources to those who know either PHP, C# or Java.The code examples were useful. However, one of them contained a code error, which caused a code example to fail to execute. Also, the maps section seemed to contain outdated instructions on setting up the environment.If you are looking to learn the basics of FusionCharts then I would recommend to read this book, so you can quickly get up to speed.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela