$. Ajax ({Type: 'post ',URL: path + "/JSON/fusionchartsaction_searchimg1.action ",Data: 'Data = '+ data,Success: resfusionchartsimg1});
/**
* Set the image region ID to "img1"
* Responsetext ['img1'] isProgramThe graphic data required by the returned fusioncharts graph.
*/
Fucntion resfusionchartsimg1 (data ){
If (data ){VaR response = eval ("(" + Data + ")"); // convert to a JSON objectVaR responsetext = response ['analysismodule']; //
ha ' Ha , congratulations on finding me (Mo mo jin) article. This problem will be solved here, do not rush to cheer, to see the root cause of the problem ...One sentence description : Use Setdataxml () do you notice the special characters of Fusioncharts? Absolutely solve your problem, the perfect solution "look below650) this.width=650; "title=" Sogou 20141130170437.png "src=" http://s3.51cto.com/wyfs02/M00/54/2B/ Wkiom1r63chdl780aadjud_dt9w017.jpg
Fusioncharts: long-time display mode of abscissa labels
1. Wrap Method
2. Rotating display
3. Staggered display
4. Each n tags are displayed.
5. Capture and display all in tooltip
1. Wrap Method
2. Rotating display
3. Staggered display
N = 3
4. Each n tags are displayed.
Labelstep = '4'Showvalues = '0'>
5. Capture and display all in tooltip
1. When a static XML file is called, the XML file format needs to be saved as GBK, so there will be no garbled"1.0"encoding="GBK"?>"Data"showvalues="0"Showborder="0"showsum="1"Bgcolor="FFFFFF"numbersuffix="billion Yuan"Showlegend="0"useroundedges="1"formatnumberscale="0"Formatnumber="0"> SetLabel="Commissions receivable"Color="A66edd"Value="8759.51"/> SetLabel="Paid Commission"Value="4272.1"/>2. When invoking the dynamic XML file, change the file format to Utf-8.Solve the problem of Chinese garb
The XML tag attribute of fusioncharts has four data types:* Boolean-boolean type, which can only be 1 or 0. Example: * Number-number type, which can only be numbers. Example: * String: string type. It can only be a string. For example: * Hex color code-hexadecimal colorCode, The front side does not have '#'. For example:
The labels and attributes in XML are as follows:Flash background parameters:* Bgcolor = "hexcolorcode": sets the background color
Infosoft released the fusioncharts 2.3 Full flash UI. Our application only needs to provide XML data according to the specified format, and the webpage can be embedded with flash objects to obtain dynamic and good graphic results. at present, some Chinese web pages have been used in related applications. Some people may think that they are flashy, but after all, they have a good idea. Some demonstration results are absolutely first-class, and they hav
BackgroundUser histogram when the data is more than 1000, the histogram is displayed as 1k, looked for a long time, found that as long as the set Fusioncharts Formatnumberscale property is "0" can be resolved.AttachedAlso attached are the properties of Fusioncharts:BgColor: Default Value FFFFFF. Background color, the color is represented by 6-bit 16-character characters, representing three three-color components respectively.Bgalpha: Default value of
Fusioncharts is really powerful enough. The collection of functions is estimated to be more powerful. In the first use, the manual, step-by-step operation is to generate the chart tool is not successful. Always report "Invalid XML data" error.
After the investigation, found that there may be several issues.
1, XML file format problem. Especially pairing symbols. Make sure that the access is OK.
2, the XML file BOM problem. If you have Chinese in
Fusioncharts parameter settings Functional CharacteristicsAnimation whether to animate data, default 1 (True)ShowNames whether the horizontal axis (x axis) label name is displayedRotatenames whether to rotate the display label by default 0 (False): Landscape displayShowValues whether the corresponding data value is displayed in the chart, default 1 (True)YAXISMINVALUE specifies the minimum value of the longitudinal axis (Y axis), and the numberYAXISM
FusionCharts Free: http://www.fusioncharts.com/goodies/fusioncharts-free/
Next, introduce js in the jsp page.Copy codeThe Code is as follows:Then writeCopy codeThe Code is as follows:The parameters in the second line are as follows: the SWF address of the image to be displayed, the id of the image (which can be arbitrarily started, but is unique when multiple images exist on a page), the width of the image,
Today, we met FusionChartsjs without updateChartXML, So we added ** Functiontoupdatechart 039; sdataatclientside (FORFusionChartsvFREEand2x * infosoftglobalFusionChartsUtilupdat
Today, when FusionCharts. js does not contain updateChartXML
/** Function to update the chart's data at client side (FOR FusionCharts vFREE and 2. x */infosoftglobal. fusionChartsUtil. updateChartXML = function (chartId, strXML
Fusioncharts Parameters
Objects anchors are numerical points used to identify line or area. Effects animation, shadow, Glow illumination, bevel skew, and blur animation attributes _ Alpha, _ x, _ y, and _ XScale are supported., _ yscale background the background of the entire chart supports the following attributes: animation, shadow, glow, bevel, and blur: _ alpha
ObjectsAnchors anchorsSupports animation effects, shadow shadows, Glow illumination, be
How to splice a dual-axis graph in the JSON format of FusionCharts, fusionchartsjson
1. Problem background
Assume that a problem occurs in the project: Use the JSON format in FusionCharts to splice a dual-axis graph, convert the JSON string into a JSON object, and transmit it to the foreground, which is displayed on the page.
2. Design source code
/***** @ Title: DoubleYaxis. java * @ Package: com. you. u
Example of the 3D double-column Chart drawn by the jQuery plug-in FusionCharts [with demo source code], jqueryfusioncharts
This article describes how to use the jQuery plug-in FusionCharts to create a 3D double-column chart. We will share this with you for your reference. The details are as follows:
1. source code of the 3D double bar chart page is as follows:
2. doubleColumn3D. xml:
3. The running result
Program code
The code is as follows
Copy Code
Intuition is associated with character encoding. In the browser, the MVC interface data is saved as an XML file, Fusioncharts directly call the XML file is also garbled, and then use UltraEdit Open XML Save as UTF8 with BOM file, the chart shows normal, before and after two XML files:
In order to ensure that the BOM is not
Question content:
When using Fusioncharts, you may want to click on a section of the chart such as demo.html, and then display the details of this section.
Fusioncharts has setdataxml,setdataurl these two methods are used to set the data. But there will be garbled problems (may appear in the Ajax situation), the specific use of children's shoes should understand.
Details are not specified in detail.
Tre
I. Attach external file Logo
When using FusionCharts, we may need to display the logo and image in the chart when loading the image. Here we can use the logoURL attribute. For example:
This link can be opened in the current window, new window, pop-up window, or even by calling javascript functions.4. Change Logo attributes
Here we can control the logo size and transparency.
LogoAlpha: transparency. The larger the value, the clearer the image.
LogoS
We want to make an early warning line chart.0-15 is safe, 16-30 is Reminder, 31-45 is warning, and 45 is warning.But what should be done with a clear background? As the same effectThe background code is as followsKey attributesrenderas= "area" background styleAlpha= "100" transparency setting (if not set, it will have a color effect with the red background behind it)Fusioncharts Multi-line graph with background color
the hover box. The default value is 1 (true)Hovercapbgcolor indicates the background color of the frame, which is a 6-bit hexadecimal color value.Hovercapbordercolor indicates the frame border color, which is a 6-bit hexadecimal color value.Hovercapsepchar specifies the delimiter between the value in the hover box and the value. The default Delimiter is ','
Line chart ParametersLinethickness line thicknessAnchorradius line node radius, numberAnchorbgalpha line node transparency, [0-100]Anchorbg
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.