Flash Player 7
Function. Called when the user clicks on an item in the chart.
myChart.onClick = function( title, xvalue, yvalue, color )
{
trace( "TITLE: " + title + ", X-VALUE: " + xvalue + ", Y-VALUE: " + yvalue + ", COLOR: " + color );
}
Flash Player 7
Function. Called when the cursor leaves an area of the chart.
myChart.onMouseOut = function( title, xvalue, yvalue, color )
{
trace( "TITLE: " + title + ", X-VALUE: " + xvalue + ", Y-VALUE: " + yvalue + ", COLOR: " + color );
}
Flash Player 7
Function. Called when the cursor moves over an area of the chart.
myChart.onMouseOver = function( title, xvalue, yvalue, color )
{
trace( "TITLE: " + title + ", X-VALUE: " + xvalue + ", Y-VALUE: " + yvalue + ", COLOR: " + color );
}
Flash Player 7
Method. Removes all chart items.
myChart.clearChart();
Flash Player 7
Method. Used to pront the chart and the legend description.
myChart.print();
Flash Player 7
Method. Prints just the chart.
myChart.printChart()
Flash Player 7
Method. Prints the chart legend description.
myChart.printLegend();
Flash Player 7
Method. Sets the size of the component. The first parameter is the width, the second is the height.
myChart.setSize(200, 180);
Flash Player 7
Method. Sets the data source of the component. It accepts one parameter, the source of the chart. The source may be the url of an external xml file or a reference to an XML object.
myChart.setSource("chart.xml");
Flash Player 7
String, write-only. Used to set the alignment of the captions.
myChart.Align = "left";
Flash Player 7
Number, write-only. Sets the background caption color.
myChart.BGColor = 0x999999;
Flash Player 7
Number, write-only. Sets the caption border color.
myChart.BRDColor = 0x000000;
Flash Player 7
Number, write-only. Sets the size of the chart's dots.
myChart.DotSize = 1;
Flash Player 7
Boolean, write-only. Used to enable (true) or disable (false) captions.
myChart.EnableCapt = true;
Flash Player 7
Boolean, write-only. Used to enable (true) or disable (false) dots.
myChart.EnableDots = true;
Flash Player 7
Boolean, write-only. Used to enable (true) or disable (false) grid line numeration.
myChart.EnableGridNum = true;
Flash Player 7
Boolean, write-only. Used to enable (true) or disable (false) chart lines.
myChart.EnableLines = true;
Flash Player 7
Boolean, write-only. Determines whether the chart will fade in (true) or not (false).
myChart.Fade = true;
Flash Player 7
String, write-only. Sets the font to be used for text.
myChart.Font = "myFont";
Flash Player 7
Number, write-only. Sets the color of the caption text.
myChart.FontColor = 0x000000;
Flash Player 7
Number, write-only. Sets the font size of the caption text.
myChart.FontSize = 12;
Flash Player 7
String, write-only. Sets the alignment of grid line numeration.
myChart.GAlign = "left";
Flash Player 7
Number, write-only. Sets the grid color.
myChart.GRColor = 0x336699;
Flash Player 7
Number, write-only. Sets the color of the grid numbers.
myChart.GRNumColor = 0x336699;
Flash Player 7
Number, write-only. Specifies the number of horizontal grid lines.
myChart.HLines = 4;
Flash Player 7
String, write-only. Specifies the instance name of the BJCChartLegend component to display the chart's legend.
myChart.Legend = "myLegend";
Flash Player 7
Number, write-only. Sets the thickness of chart lines.
myChart.LineHeight = 1;
Flash Player 7
Number, write-only. Sets the color of the text when printed.
myChart.PTColor = 0x000000;
Flash Player 7
String, write-only. Specifies the XML data source.
myChart.source = "chart.xml";
Flash Player 7
Number, write-only. Sets the number of vertical grid lines.
myChart.VLines = 5;