Fusioncharts usage Problems and Solutions (III)-fusioncharts FAQs

Source: Internet
Author: User

First twoArticleWe have summarized some of the fusioncharts charts.FAQs)AndSolution, This article continues to discuss some common complex errors and solutions for fusioncharts users.>>> Fusioncharts tutorial

When HTML, SwF, and JavaScript files are in the same folder, fusioncharts works normally, but if they are put in different folders, fusioncharts cannot work normally?

Pay attention to the following points:

1. If you get data from another domain, fusioncharts will not work properly, because the flash chart will prevent cross-Origin data transmission.

2. If you put these three files in a folder that is inaccessible to your website, the fusioncharts chart reports an error.

3. If you put three files in different folders, make sure that youCodeThe file relative path in is correct.

Why does fusioncharts display "chart" instead of a chart when rendering a chart?

This problem may be caused by the following reasons:

1. The fusioncharts. js path in the Code is incorrect.

2. The page contains JavaScript errors.

3. If you set the data to an XML/JSON string, the XML/JSON string may contain a new line of characters, which may cause JavaScript errors.

Why does the flash Chart display normally while the Javascript chart prompts "retrieving data..." during local running .."?

Javascript charts use ajax to load data from the URL data source. When running a chart from a local file system (using file: // protocol), some Browsers Do Not Allow ajax to load data, which leads to this error.

When exporting a fusioncharts chart, why do the "Waiting" button always fail to be replaced with the "save" button?

To avoid this situation, you need to confirm the following points:

1. Define the correct client-side export handler ID in the XML/JSON data of the chart. To provide cross-browser compatibility, we recommend that you do not use a value or a space to start your ID.

2. Whether the client-side export handler ID is correct when the exportchart () function is called.

3. Whether Flash Player 10 or later is installed in the system.

4. Whether the Flash Player global security settings are configured to run the example in the local file system.

Why can't the 'save as PDF 'option be deleted from the right-click menu?

1. If you want to delete the "Save as..." option in the right-click menu, you can set the exportshowmenuitem attribute in the <chart> element to 0.

2. If you want to disable the Save as PDF option, you can define exportformats = "JPG | PNG" in the <chart> element ". In a similar way, you can disable any other options.

Although <? XML version = "1.0" encoding = "UTF-8"?>, However, the fusioncharts chart still cannot contain multiple languages or special characters?

To use multiple languages in the fusioncharts chart, you must use UTF-8-encoded XML/JSON. More importantly, an XML/JSON file or stream requires the UTF-8 BOM header (BOM stamp) as the first three bytes of the file. Most text editors (such as NotePad) can perform this operation automatically. For how to mark a file in Bom, see multi-language text

Http://docs.fusioncharts.com/charts/contents/advanced/special-chars/SpChar.html

Please help with two important principles:

1. For the dataurl method, an XML file or data stream should have a BOM header (BOM stamp ).
2. For the dataxml method: HTML or application that contains XML and graph SWF filesProgramThe file should have a BOM Header

Additional reading:

Fusioncharts historical Version Download summary and update Introduction

Fusioncharts free and fusioncharts XT


 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.