The XML tag attribute of fusioncharts has four data types:
* Boolean-boolean type, which can only be 1 or 0. Example: <graph shownames = '1'>
* Number-number type, which can only be numbers. Example: <graph yaxismaxvalue = '000000'>
* String: string type. It can only be a string. For example: <graph caption = 'my chart'>
* Hex color code-hexadecimal colorCode, The front side does not have '#'. For example: <graph bgcolor = 'ffffdd'>
The labels and attributes in XML are as follows:
<Graph> attributes
Flash background parameters:
* Bgcolor = "hexcolorcode": sets the background color of flash.
* Bgalpha = "numericalvalue (0-100)": sets the background transparency.
* Bgswf = "path of SWF file": sets an external flash as the flash background.
Chart background parameters:
* Canvasbgcolor = "hexcolorcode": sets the color of the chart background.
* Canvasbasecolor = "hexcolorcode": sets the color of the chart base.
* Canvasbasedepth = "numerical value": sets the height of the base of the chart.
* Canvasbgdepth = "numerical value": sets the depth of the chart background.
* Showcanvasbg = "1/0": sets whether to display the chart background.
* Showcanvasbase = "1/0": sets whether to display the chart base.
Title of charts and axes
* Caption = "string": The title above the chart
* Subcaption = "string": subtitle at the top of the chart
* Xaxisname = "string": name of the X axis
* Yaxisname = "string": name of the Y axis
Limit on the number of charts
* Yaxisminvalue = "value": minimum value of the Y axis
* Yaxismaxvalue = "value": maximum value of boat y
Common Parameters
* Shownames = "1/0": sets whether to display the name specified in <set> on the X axis.
* Showvalues = "1/0": sets whether to display data values on a column chart or pie chart.
* Showlimits = "1/0": sets whether to display the maximum and minimum data values on the Y axis of the chart.
* Rotatenames = "1/0": sets whether the name on the X axis is displayed horizontally or vertically.
* Animation = "1/0": sets whether the bar chart is animated.
Font attributes
* Basefont = "fontname": Set the font style.
* Basefontsize = "fontsize": Set the font size.
* Basefontcolor = "hexcolorcode": Set the font color.
* Outcnvbasefont = "fontname": Set the font style on the outside of the chart.
* Outcnvbasefontsze = "fontsize": Set the font size outside the chart.
* Outcnvbasefontcolor = "hexcolorcode": Set the font color outside the chart.
Number Format options
* Numberprefix = "$": Set the data value prefix.
* Numbersuffix = "P. A": Set the data value suffix (if it is a special character, you need to use URL encode re-encoding)
* Formatnumber = "1/0": sets whether to format data.
* Formatnumberscale = "1/0": sets whether to use "K" to represent thousands, and "M" to represent millions.
* Decimalseparator = ".": Replace the decimal point with the specified character.
* Thousandseparator = ",": Use the specified character to replace the thousands separator.
* Decimalprecision = "2": sets the decimal precision.
* Divlinedecimalprecision = "2": sets the number of decimal places in the y-axis value.
* Limitsdecimalprecision = "2": sets the maximum and minimum decimal places on the Y axis.
Horizontal Separator
* Numdivlines = "numericalvalue": sets the number of horizontal separators.
* Divlinecolor = "hexcolorcode": sets the color of the horizontal separator.
* Divlinethickness = "numericalvalue": sets the width of the horizontal separator.
* Divlinealpha = "NumericalValue0-100": sets the transparency of the horizontal separator.
* Showdivlinevalue = "1/0": sets whether to display the value of the horizontal separator.
Mouse Rotation Parameters
* Showhovercap = "1/0": displays whether to activate the mouse rotation.
* Hovercapbgcolor = "hexcolorcode": sets the background color of the mouse rotation effect.
* Hovercapbordercolor = "hexcolorcode": sets the border color of the mouse rotation effect.
* Hovercapsepchar = "char": sets the delimiter number in the text displayed after the cursor is stopped.
Chart margin settings
* Chartleftmargin = "numerical value (in pixels)": sets the left margin of the chart.
* Chartrightmargin = "numerical value (in pixels)": sets the right margin of the chart.
* Charttopmargin = "numerical value (in pixels)": sets the chart top margin.
* Chartbottommargin = "numerical value (in pixels)": sets the bottom margin of the chart.
Zero plane
The zero plane is a 3D plane that signifies the 0 position on the chart. If there are no negative numbers on the chart, you won't see a visible zero plane.
* Zeroplaneshowborder = "1/0": whether the border of a 3D zero plane wocould be plotted or not.
* Zeroplanebordercolor = "hex code": if the border is to be plotted, this attribute sets the border color for the plane.
* Zeroplanecolor = "hex code": the intended color for the Zero plane.
* Zeroplanealpha = "numerical value 0-100": the intended transparency for the Zero plane.
<Set> attributes
* Name = "string": Specifies the name displayed in the chart.
Example: <set name = 'Jan '…>
* Value = "numericalvalue": Set the values corresponding to each name in the chart.
Example: <set name = 'Jan 'value = '000000'…>
* Color = "hexcode": Set the color of the corresponding bar chart in the chart.
Example: <set name = 'Jan 'value = '000000' color = '000000'…>
* Hovertext = "string value": Set the text content displayed on the corresponding bar chart with the cursor.
Example: <set name = 'Jan 'value = '000000' color = '000000' hovertext = 'january'…>
* Link = "url": sets the link address of the bar chart (URL encode re-encoding is required)
Example: <set... Link = 'showdetails. asp % 3 fmonth = Jan '…>
* Alpha = "numerical value 0-100": sets the transparency of the corresponding bar chart in the chart.
Example: <set... Alpha = '000000'…>
* Showname = "1": Set whether to display the name of the corresponding bar chart in the chart.
Example: <set... Showname = "1"…>
this article from the csdn blog, reprinted please indicate the source: http://blog.csdn.net/daichadongqing/archive/2009/05/09/4163742.aspx