XML to Flash Charts in a flash     

Preview Gallery

Custom Objects

Reference

chart.visual.customobjects.arc

Attribute Possible values Default Comments
color rgb in 0xRRGGBB format 0×000000
dropshadow true, false
opacity 0 to 100 100
radii number, number none x-radius, y-radius
start x and y none The starting point in (x,y)
startangle angle in degrees 0 The starting angle w.r.t positive x-axis
sweepangle angle in degrees none The arc’s angle
thickness thickness in pixels 1

chart.visual.customobjects.ellipse

Attribute Possible values Default Comments
bordercolor rgb in 0xRRGGBB format none
borderopacity 0 to 100 100
borderthickness thickness in pixels 1
center x and y none center of the ellipse in (x,y)
colors rgb,rgb in 0xRRGGBB format none colors=”0x0000ff,0xff0000”
dropshadow true, false
gradientangle angle in degrees 0 gradient stroke angle
gradienttype “linear”,”radial” none
height number none vertical diameter
opacities 0 to 100,0 to 100 100,100 opacities=”80,30”
width number none horizontal diameter

chart.visual.customobjects.html

Attribute Possible values Default Comments
position x and y 0,0 <label position=”150,100” ..>
CDATA section html text none <![CDATA[ <a href=”http://swifferchart.yaaman.com“>SwifferChart</a> ]]>

chart.visual.customobjects.label

Attribute Possible values Default Comments
align left, right, center center
bold true, false true
color rgb in 0xRRGGBB format 0×000000
dropshadow true, false
font font-family name Arial
italic true, false false
kerning true, false false
position x and y 0,0 <label position=”150,100” ..>
size text size in points 12
text Any string none
underline true, false false
visible true, false true

chart.visual.customobjects.line

Attribute Possible values Default Comments
color rgb in 0xRRGGBB format 0×000000
dropshadow true, false
end x and y none The ending point in (x,y)
endstyle none,round,square “none” The appearance of the line ends
opacity 0 to 100 100
start x and y none The starting point in (x,y)
thickness thickness in pixels 1

chart.visual.customobjects.polygon

Attribute Possible values Default Comments
bordercolor rgb in 0xRRGGBB format none
borderopacity 0 to 100 100
borderthickness thickness in pixels 1
colors rgb,rgb in 0xRRGGBB format none colors=”0x0000ff,0xff0000”
dropshadow true, false
gradientangle angle in degrees 0 gradient stroke angle
gradienttype “linear”,”radial” none
opacities 0 to 100,0 to 100 100,100 opacities=”80,30”
vertices x1,y1;x2,y2;...;xn,yn none vertices=”10,10;100,10;100,100;10,100” will draw a square at (10,10) with a width of 90 and height of 90 pixels
 
swc/customobjects.txt · Last modified: 06/19/2007 13:37 by swcdoc
 
Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki