<customactions>
<reference path = "Flash Charting Components/FBarChart/Methods/setSize">
 <p class = "titleStyle">setSize</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setSize(width, height)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
width </I>
The new width in pixels.</p>
 <p>

<I>
height </I>
The new height in pixels.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; lets the user specify the width (in pixels) and height of the component.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes a BarChart 300 pixels wide and 200 pixels high:</p>
 <p class = "codeStyle">


myBarChart.setSize(300,200);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/addItemAt">
 <p class = "titleStyle">addItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.addItemAt(index, value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
The position for inserting the value into the data provider.</p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; adds an object or value to a specified index position in the chart’s data provider and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 as the third item in the chart.</p>
 <p class = "codeStyle">


chart.addItemAt(3, {title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/addItem">
 <p class = "titleStyle">addItem</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.addItem(value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; pushes an object or value to the top of the chart's data provider contents, much like the “push” method in arrays, and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 to the chart.</p>
 <p class = "codeStyle">


chart.addItem({title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/removeItemAt">
 <p class = "titleStyle">removeItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.removeItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer index number of an item in the chart’s data provider.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The item to be removed from the data provider.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; removes an item from the chart's data provider at the specified index position and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes the second item from the chart, and returns that item into a variable.</p>
 <p class = "codeStyle">


deadItem = chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/removeAll">
 <p class = "titleStyle">removeAll</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.removeAll()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; clears out all the contents of the chart's data provider, rendering it empty and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes all items from the chart:</p>
 <p class = "codeStyle">


chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/sortItemsBy">
 <p class = "titleStyle">sortItemsBy</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.sortItemsBy(fieldName, order)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string specifying the name of the field used for sorting. This will normally be “label” or “data”.</p>
 <p>

<I>
order </I>
A string specifying whether to sort the items in ascending order (ASC) or descending order (DESC).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sorts the items in the chart and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sorts the chart by descending price:</p>
 <p class = "codeStyle">


chart.sortItemsBy("price", "DESC");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getLength">
 <p class = "titleStyle">getLength</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getLength()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An integer. The number of items in the data provider object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; retrieves the number of items in the chart's data provider. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code returns the number of items in the chart:</p>
 <p class = "codeStyle">


itemCount = chart.getLength();
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getItemAt">
 <p class = "titleStyle">getItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer specifying the index of the item to retrieve.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An item in the chart’s data provider at the specified index as an object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the item at the specified index as an object. If there is no item at the specified index, the method returns undefined. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the third item in the chart.</p>
 <p class = "codeStyle">


myItem = chart.getItemAt(3);
</p>
 <p class = "codeStyle">


trace(myItem["title"]);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setDataProvider">
 <p class = "titleStyle">setDataProvider</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setDataProvider(dataProvider)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
dataProvider </I>
An array of text strings listing the items to add, an instance of the Array object specifying the items to add, or an instance of the DataProvider class.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; registers an outside variable (dataProvider, which must be an instance of DataProvider class) to the component, and registers as a view to listen for any updates to the DataProvider. Any updates to the data provider will trigger a 
modelChanged
 event, which causes the graph to re-render itself. If the user has predefined a list of values in the component parameter, setting a data provider will override those values. </p>
 <p class = "subTitle">

Example</p>
 <p>

The following code creates a data provider with three items and sets it on the chart.</p>
 <p class = "codeStyle">


var theData = new DataProviderClass();
</p>
 <p class = "codeStyle">


var items = new Array({stock: "Apples", value: 19}, {stock: "Oranges", value:60}, {stock: "Pears", value: 5});
</p>
 <p class = "codeStyle">


for (var i = 0; i &lt; items.length; i++) {
</p>
 <p class = "codeStyle">


	theData.addItem(items[i]);
</p>
 <p class = "codeStyle">


}
</p>
 <p class = "codeStyle">


chart.setDataProvider(theData);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setLabelSource">
 <p class = "titleStyle">setLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setLabelSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the fieldName of the recordset that provides the labels for the independent variable (<I>
x</I>
 axis). It also causes the graph to re-render itself via the invalidate method (coalesces multiple function calls into a single function call for optimization).</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the chart's label source to the “MovieTitle” field in a recordset.</p>
 <p class = "codeStyle">


myBarGraph.setLabelSource("MovieTitle");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getLabelSource">
 <p class = "titleStyle">getLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getLabelSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset that provides the labels for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the label source of the chart:</p>
 <p class = "codeStyle">


var labelSource = chart.getLabelSource();
</p>
 <p class = "codeStyle">


trace("Label Source: " + labelSource);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setValueSource">
 <p class = "titleStyle">setValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setValueSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the field name of the recordset column that will provide the numeric values for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the value source to a recordset field called “MovieRating”.</p>
 <p class = "codeStyle">


myBarGraph.setValueSource("MovieRating");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getValueSource">
 <p class = "titleStyle">getValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getValueSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The recordset field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset that provides the labels for the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the value source of the chart:</p>
 <p class = "codeStyle">


var valueSource = chart.getValueSource();
</p>
 <p class = "codeStyle">


trace("Value Source: " + valueSource);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setChartTitle">
 <p class = "titleStyle">setChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setChartTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value that sets the title of the chart.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes the chart have the title “Car Sales Per Month” and re-renders the chart.</p>
 <p class = "codeStyle">


myBarGraph.setChartTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getChartTitle">
 <p class = "titleStyle">getChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getChartTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The chart title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the chart title:</p>
 <p class = "codeStyle">


var title = chart.getChartTitle();
</p>
 <p class = "codeStyle">


trace("The chart title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setXAxisTitle">
 <p class = "titleStyle">setXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setXAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code set the <I>
x</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myBarGraph.setXAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getXAxisTitle">
 <p class = "titleStyle">getXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getXAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
x</I>
 axis parameters.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
x</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getXAxisTitle();
</p>
 <p class = "codeStyle">


trace("The X axis title is: " + title);
</p>
 <p class = "codeStyle">

</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setYAxisTitle">
 <p class = "titleStyle">setYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setYAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sets the <I>
y</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myBarGraph.setYAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getYAxisTitle">
 <p class = "titleStyle">getYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getYAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
y</I>
 axis title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
y</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getYAxisTitle();
</p>
 <p class = "codeStyle">


trace("The Y axis title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setEnabled">
 <p class = "titleStyle">setEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setEnabled(enable)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
enable </I>
A Boolean value specifying whether the BarChart is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on a similar method defined in FComboBox. Determines whether the component is enabled (
true
) or disabled (
false
). If the component is disabled, it does not accept mouse or keyboard interaction from the user. If you omit the parameter, this method defaults to 
true
.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code disables chart1:</p>
 <p class = "codeStyle">


chart1.setEnabled(false);
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/getEnabled">
 <p class = "titleStyle">getEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.getEnabled()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

A Boolean value indicating whether the component is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; indicates whether the component is enabled.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code uses getEnabled to determine whether the component is enabled or disabled and displays the result in the Output window.</p>
 <p class = "codeStyle">


trace(chart1.getEnabled());
</p>
</reference>
<reference path = "Flash Charting Components/FBarChart/Methods/setChartEventHandler">
 <p class = "titleStyle">setChartEventHandler</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myBarChart.setChartEventHandler(functionName, eventName, [location])</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
functionName </I>
A string value that should correspond with a function name.</p>
 <p>

<I>
eventName </I>
A string value that should correspond to either “onPress”, “onRelease”, “onRollOver”, or “onRollOut”.</p>
 <p>

<I>
location </I>
This parameter is optional.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on the setChangeHandler() method defined in FComboBox and FListBox. Specifies a change handler to call when the mouse cursor interacts with a marker in the graph (i.e., bar, pie wedge, line graph plot, etc.). You can specify the same change handler function for more than one component; the function always accepts the instance of the component that has changed as a parameter. Calling this method overrides the Chart Event Handlers parameter value specified in authoring. </p>
 <p>

The triggered function will receive two parameters: a reference to the component, and an index number for the recordset item associated with the marker (bar, wedge, line plot) in the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

When the mouse cursor is released over a marker, a function named “selectRecord” will be called in the timeline containing the component, and the selectRecord function will receive two arguments: a reference to the component and a reference to the recordset item:</p>
 <p class = "codeStyle">


containerTimeline.selectRecord = function (componentRef, record) {
if (componentRef == myBarGraph) {
</p>
 <p class = "codeStyle">


		trace(record["price"]);
</p>
 <p class = "codeStyle">


	}
</p>
 <p class = "codeStyle">

}</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setSize">
 <p class = "titleStyle">setSize</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setSize(width, height)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
width </I>
The new width in pixels.</p>
 <p>

<I>
height </I>
The new height in pixels.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; lets the user specify the width (in pixels) and height of the component.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes a LineChart 300 pixels wide and 200 pixels high:</p>
 <p class = "codeStyle">


myLineChart.setSize(300,200);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setHighlights">
 <p class = "titleStyle">setHighlights</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setHighlights(showHighlights)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
showHighlights </I>
A Boolean value specifying whether the highlights should be shown.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; accepts a Boolean parameter to determine whether the line highlights should be shown.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code hides the highlights:</p>
 <p class = "codeStyle">


chart.setHighlights(false);
</p>
 <p class = "codeStyle">

</p>
 <p>

The following code shows the highlights:</p>
 <p class = "codeStyle">


chart.setHighlights(true);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getHighlights">
 <p class = "titleStyle">getHighlights</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getHighlights()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

A Boolean value returning (
true
) if line highlights will be shown or (
false
) if not.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns a Boolean value that determines whether the line highlights will be shown.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints whether line highlighting is on:</p>
 <p class = "codeStyle">


var highlights = chart.getHighlights(false);
</p>
 <p class = "codeStyle">


trace("Line highlighting is " + highlights);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setLineWeight">
 <p class = "titleStyle">setLineWeight</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setLineWeight(weight)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
weight </I>
The line weight (stroke height).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the line weight (stroke height) of the line in the line chart. Accepted values start from 0 (hairline) and upwards.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sets the line weight to 20 (very thick line).</p>
 <p class = "codeStyle">


chart.setLineWeight(20);
</p>
 <p class = "codeStyle">

</p>
 <p>

The following code sets the line weight to 0 (hairline weight).</p>
 <p class = "codeStyle">


chart.setLineWeight(0);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getLineWeight">
 <p class = "titleStyle">getLineWeight</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getLineWeight()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The line weight.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the line weight (stroke height) of the line in the line chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the line weight:</p>
 <p class = "codeStyle">


var lineWeight = chart.getLineWeight();
</p>
 <p class = "codeStyle">


trace("Line Weight: " + lineWeight);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setLineColor">
 <p class = "titleStyle">setLineColor</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setLineColor(color)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
color </I>
The color of the line in hexidecimal format.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the color of the line to a hexidecimal value.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sets the color to blue:</p>
 <p>

chart.setLineColor (0xFF0000);</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getLineColor">
 <p class = "titleStyle">getLineColor</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getLineColor()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The line color.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the color of the line.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the line color:</p>
 <p class = "codeStyle">


var lineColor = chart.getLineColor();
</p>
 <p class = "codeStyle">


trace("Line Color: " + lineColor);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/addItemAt">
 <p class = "titleStyle">addItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.addItemAt(index, value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
The position for inserting the value into the data provider.</p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; adds an object or value to a specified index position in the chart’s data provider and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 as the third item in the chart.</p>
 <p class = "codeStyle">


chart.addItemAt(3, {title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/addItem">
 <p class = "titleStyle">addItem</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.addItem(value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; pushes an object or value to the top of the chart's data provider contents, much like the “push” method in arrays and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 to the chart.</p>
 <p class = "codeStyle">


chart.addItem({title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/removeItemAt">
 <p class = "titleStyle">removeItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.removeItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer index number of an item in the chart’s data provider.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The item to be removed from the data provider.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; removes an item from the chart's data provider at the specified index position and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes the second item from the chart, and returns that item into a variable.</p>
 <p class = "codeStyle">


deadItem = chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/removeAll">
 <p class = "titleStyle">removeAll</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.removeAll()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; clears out all the contents of the chart's data provider, rendering it empty; and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes all items from the chart:</p>
 <p class = "codeStyle">


chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/sortItemsBy">
 <p class = "titleStyle">sortItemsBy</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.sortItemsBy(fieldName, order)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string specifying the name of the field used for sorting. This will normally be “label” or “data”.</p>
 <p>

<I>
order </I>
A string specifying whether to sort the items in ascending order (ASC) or descending order (DESC).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sorts the items in the chart and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sorts the chart by descending price:</p>
 <p class = "codeStyle">


chart.sortItemsBy("price", "DESC");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getLength">
 <p class = "titleStyle">getLength</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getLength()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An integer. The number of items in the data provider object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; retrieves the number of items in the chart's data provider. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code returns the number of items in the chart.</p>
 <p class = "codeStyle">


itemCount = chart.getLength();
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getItemAt">
 <p class = "titleStyle">getItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer specifying the index of the item to retrieve.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An item in the chart’s data provider at the specified index as an object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the item at the specified index as an object. If there is no item at the specified index, the method returns undefined. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the third item in the chart.</p>
 <p class = "codeStyle">


myItem = chart.getItemAt(3);
</p>
 <p class = "codeStyle">


trace(myItem["title"]);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setDataProvider">
 <p class = "titleStyle">setDataProvider</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setDataProvider(dataProvider)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
dataProvider </I>
An array of text strings listing the items to add, an instance of the Array object specifying the items to add, or an instance of the DataProvider class.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; registers an outside variable (dataProvider, which must be an instance of DataProvider class) to the component, and registers as a view to listen for any updates to the DataProvider. Any updates to the data provider will trigger a 
modelChanged
 event, which causes the graph to re-render itself. If the user has predefined a list of values in the component parameter, setting a data provider will override those values. </p>
 <p class = "subTitle">

Example</p>
 <p>

The following code creates a data provider with three items and sets it on the chart.</p>
 <p class = "codeStyle">


var theData = new DataProviderClass();
</p>
 <p class = "codeStyle">


var items = new Array({stock: "Apples", value: 19}, {stock: "Oranges", value:60}, {stock: "Pears", value: 5});
</p>
 <p class = "codeStyle">


for (var i = 0; i &lt; items.length; i++) {
</p>
 <p class = "codeStyle">


	theData.addItem(items[i]);
</p>
 <p class = "codeStyle">


}
</p>
 <p class = "codeStyle">


chart.setDataProvider(theData);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setLabelSource">
 <p class = "titleStyle">setLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setLabelSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the fieldName of the recordset that provides the labels for the independent variable (<I>
x</I>
 axis). It also causes the graph to re-render itself via the invalidate method (coalesces multiple function calls into a single function call for optimization).</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the chart's label source to the “MovieTitle” field in a recordset.</p>
 <p class = "codeStyle">


myLineGraph.setLabelSource("MovieTitle");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getLabelSource">
 <p class = "titleStyle">getLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getLabelSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset that provides the labels for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the label source of the chart:</p>
 <p class = "codeStyle">


var labelSource = chart.getLabelSource();
</p>
 <p class = "codeStyle">


trace("Label Source: " + labelSource);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setValueSource">
 <p class = "titleStyle">setValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setValueSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the field name of the recordset column which will provide the numeric values for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the value source to a recordset field called “MovieRating”.</p>
 <p class = "codeStyle">


myLineGraph.setValueSource("MovieRating");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getValueSource">
 <p class = "titleStyle">getValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getValueSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The recordset field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset which provides the labels for the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the value source of the chart:</p>
 <p class = "codeStyle">


var valueSource = chart.getValueSource();
</p>
 <p class = "codeStyle">


trace("Value Source: " + valueSource);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setChartTitle">
 <p class = "titleStyle">setChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setChartTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value that sets the title of the chart.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes the chart have the title “Car Sales Per Month” and re-renders the chart.</p>
 <p class = "codeStyle">


myLineGraph.setChartTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getChartTitle">
 <p class = "titleStyle">getChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getChartTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The chart title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the chart title:</p>
 <p class = "codeStyle">


var title = chart.getChartTitle();
</p>
 <p class = "codeStyle">


trace("The chart title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setXAxisTitle">
 <p class = "titleStyle">setXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setXAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sets the <I>
x</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myLineGraph.setXAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getXAxisTitle">
 <p class = "titleStyle">getXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getXAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
x</I>
 axis parameters.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
x</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getXAxisTitle();
</p>
 <p class = "codeStyle">


trace("The X axis title is: " + title);
</p>
 <p class = "codeStyle">

</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setYAxisTitle">
 <p class = "titleStyle">setYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setYAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code set the <I>
y</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myLineGraph.setYAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getYAxisTitle">
 <p class = "titleStyle">getYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getYAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
y</I>
 axis title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
y</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getYAxisTitle();
</p>
 <p class = "codeStyle">


trace("The Y axis title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setEnabled">
 <p class = "titleStyle">setEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setEnabled(enable)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
enable </I>
A Boolean value specifying whether the BarChart is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on a similar method defined in FComboBox. Determines whether the component is enabled (
true
) or disabled (
false
). If the component is disabled, it does not accept mouse or keyboard interaction from the user. If you omit the parameter, this method defaults to 
true
.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code disables chart1:</p>
 <p class = "codeStyle">


chart1.setEnabled(false);
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/getEnabled">
 <p class = "titleStyle">getEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.getEnabled()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

A Boolean value indicating whether the component is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; indicates whether the component is enabled.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code uses getEnabled to determine whether the component is enabled or disabled and displays the result in the Output window.</p>
 <p class = "codeStyle">


trace(chart1.getEnabled());
</p>
</reference>
<reference path = "Flash Charting Components/FLineChart/Methods/setChartEventHandler">
 <p class = "titleStyle">setChartEventHandler</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myLineChart.setChartEventHandler(functionName, eventName, [location])</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
functionName </I>
A string value that should correspond with a function name.</p>
 <p>

<I>
eventName </I>
A string value that should correspond to either “onPress”, “onRelease”, “onRollOver”, or “onRollOut”.</p>
 <p>

<I>
location </I>
This parameter is optional.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on the setChangeHandler() method defined in FComboBox and FListBox. Specifies a change handler to call when the mouse cursor interacts with a marker in the graph (i.e., bar, pie wedge, line graph plot, etc.). You can specify the same change handler function for more than one component; the function always accepts the instance of the component that has changed as a parameter. Calling this method overrides the Chart Event Handlers parameter value specified in authoring. </p>
 <p>

The triggered function will receive two parameters: a reference to the component, and an index number for the recordset item associated with the marker (bar, wedge, line plot) in the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

When the mouse cursor is released over a marker, a function named “selectRecord” will be called in the timeline containing the component, and the selectRecord function will receive two arguments: a reference to the component, and a reference to the recordset item:</p>
 <p class = "codeStyle">


containerTimeline.selectRecord = function (componentRef, record) {
if (componentRef == myLineGraph) {
</p>
 <p class = "codeStyle">


		trace(record["price"]);
</p>
 <p class = "codeStyle">


	}
</p>
 <p class = "codeStyle">

}</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setSize">
 <p class = "titleStyle">setSize</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setSize(width, height)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
width </I>
The new width in pixels.</p>
 <p>

<I>
height </I>
The new height in pixels.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; lets the user specify the width (in pixels) and height of the component.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes a PieChart 300 pixels wide and 200 pixels high:</p>
 <p class = "codeStyle">


myPieChart.setSize(300,200);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/addItemAt">
 <p class = "titleStyle">addItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.addItemAt(index, value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
The position for inserting the value into the data provider.</p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; adds an object or value to a specified index position in the chart’s data provider and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 as the third item in the chart.</p>
 <p class = "codeStyle">


chart.addItemAt(3, {title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/addItem">
 <p class = "titleStyle">addItem</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.addItem(value)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
value </I>
An object or primitive data type.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; pushes an object or value to the top of the chart's data provider contents, much like the “push” method in arrays, and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code adds an item called “Flash5Magic”, author “Sam” with price 34 to the chart.</p>
 <p class = "codeStyle">


chart.addItem({title:"Flash5Magic", author:"Sam", price:34});
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/removeItemAt">
 <p class = "titleStyle">removeItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.removeItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer index number of an item in the chart’s data provider.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The item to be removed from the data provider.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; removes an item from the chart's data provider at the specified index position and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes the second item from the chart, and returns that item into a variable.</p>
 <p class = "codeStyle">


deadItem = chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/removeAll">
 <p class = "titleStyle">removeAll</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.removeAll()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; clears out all the contents of the chart's data provider, rendering it empty; and triggers the chart to redraw itself. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code removes all items from the chart:</p>
 <p class = "codeStyle">


chart.removeItemAt(2);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/sortItemsBy">
 <p class = "titleStyle">sortItemsBy</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.sortItemsBy(fieldName, order)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string specifying the name of the field used for sorting. This will normally be “label” or “data”.</p>
 <p>

<I>
order </I>
A string specifying whether to sort the items in ascending order (ASC) or descending order (DESC).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sorts the items in the chart and triggers the chart to redraw itself. A cover method for manipulating a registered Data Provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sorts the chart by descending price:</p>
 <p class = "codeStyle">


chart.sortItemsBy("price", "DESC");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getLength">
 <p class = "titleStyle">getLength</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getLength()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An integer. The number of items in the data provider object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; retrieves the number of items in the chart's data provider. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code returns the number of items in the chart:</p>
 <p class = "codeStyle">


itemCount = chart.getLength();
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getItemAt">
 <p class = "titleStyle">getItemAt</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getItemAt(index)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
index </I>
An integer specifying the index of the item to retrieve.</p>
 <p class = "subTitle">

Returns</p>
 <p>

An item in the chart’s data provider at the specified index as an object.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the item at the specified index as an object. If there is no item at the specified index, the method returns undefined. A cover method for manipulating a registered data provider indirectly through the chart instance.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the third item in the chart:</p>
 <p class = "codeStyle">


myItem = chart.getItemAt(3);
</p>
 <p class = "codeStyle">


trace(myItem["title"]);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setDataProvider">
 <p class = "titleStyle">setDataProvider</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setDataProvider(dataProvider)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
dataProvider </I>
An array of text strings listing the items to add, an instance of the Array object specifying the items to add, or an instance of the DataProvider class.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; registers an outside variable (dataProvider, which must be an instance of DataProvider class) to the component, and registers as a view to listen for any updates to the DataProvider. Any updates to the data provider will trigger a 
modelChanged
 event, which causes the graph to re-render itself. If the user has predefined a list of values in the component parameter, setting a data provider will override those values. </p>
 <p class = "subTitle">

Example</p>
 <p>

The following code creates a data provider with three items and sets it on the chart.</p>
 <p class = "codeStyle">


var theData = new DataProviderClass();
</p>
 <p class = "codeStyle">


var items = new Array({stock: "Apples", value: 19}, {stock: "Oranges", value:60}, {stock: "Pears", value: 5});
</p>
 <p class = "codeStyle">


for (var i = 0; i &lt; items.length; i++) {
</p>
 <p class = "codeStyle">


	theData.addItem(items[i]);
</p>
 <p class = "codeStyle">


}
</p>
 <p class = "codeStyle">


chart.setDataProvider(theData);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setLabelSource">
 <p class = "titleStyle">setLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setLabelSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the fieldName of the recordset that provides the labels for the independent variable (<I>
x</I>
 axis). It also causes the graph to re-render itself via the invalidate method (coalesces multiple function calls into a single function call for optimization).</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the chart's label source to the “MovieTitle” field in a recordset.</p>
 <p class = "codeStyle">


myPieChart.setLabelSource("MovieTitle");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getLabelSource">
 <p class = "titleStyle">getLabelSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getLabelSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset that provides the labels for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the label source of the chart:</p>
 <p class = "codeStyle">


var labelSource = chart.getLabelSource();
</p>
 <p class = "codeStyle">


trace("Label Source: " + labelSource);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setValueSource">
 <p class = "titleStyle">setValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setValueSource(fieldName)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
fieldName </I>
A string value that should correspond with a field name in the recordset (which is defined as an object in the DataProvider API).</p>
 <p class = "subTitle">

Returns</p>
 <p>


true
 if a field name exists and 
false
 if the field name is invalid.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the field name of the recordset column that will provide the numeric values for the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

This code sets the value source to a recordset field called “MovieRating”.</p>
 <p class = "codeStyle">


myPieChart.setValueSource("MovieRating");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getValueSource">
 <p class = "titleStyle">getValueSource</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getValueSource()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The recordset field name.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; returns the field name of the recordset that provides the labels for the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the value source of the chart:</p>
 <p class = "codeStyle">


var valueSource = chart.getValueSource();
</p>
 <p class = "codeStyle">


trace("Value Source: " + valueSource);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setChartTitle">
 <p class = "titleStyle">setChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setChartTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value that sets the title of the chart.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code makes the chart have the title “Car Sales Per Month” and re-renders the chart.</p>
 <p class = "codeStyle">


myPieChart.setChartTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getChartTitle">
 <p class = "titleStyle">getChartTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getChartTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The chart title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the chart title:</p>
 <p class = "codeStyle">


var title = chart.getChartTitle();
</p>
 <p class = "codeStyle">


trace("The chart title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setXAxisTitle">
 <p class = "titleStyle">setXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setXAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code sets the <I>
x</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myPieChart.setXAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getXAxisTitle">
 <p class = "titleStyle">getXAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getXAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
x</I>
 axis parameters.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
x</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
x</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getXAxisTitle();
</p>
 <p class = "codeStyle">


trace("The X axis title is: " + title);
</p>
 <p class = "codeStyle">

</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setYAxisTitle">
 <p class = "titleStyle">setYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setYAxisTitle(title)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
title </I>
A string value.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; sets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code set the <I>
y</I>
 axis of the chart to “Car Sales Per Month”.</p>
 <p class = "codeStyle">


myPieChart.setYAxisTitle("Car Sales Per Month");
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getYAxisTitle">
 <p class = "titleStyle">getYAxisTitle</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getYAxisTitle()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

The <I>
y</I>
 axis title.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; gets the title of the <I>
y</I>
 axis.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code prints the title of the <I>
y</I>
 axis:</p>
 <p class = "codeStyle">


var title = chart.getYAxisTitle();
</p>
 <p class = "codeStyle">


trace("The Y axis title is: " + title);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setEnabled">
 <p class = "titleStyle">setEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setEnabled(enable)</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
enable </I>
A Boolean value specifying whether the BarChart is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on a similar method defined in FComboBox. Determines whether the component is enabled (
true
) or disabled (
false
). If the component is disabled, it does not accept mouse or keyboard interaction from the user. If you omit the parameter, this method defaults to 
true
.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code disables chart1:</p>
 <p class = "codeStyle">


chart1.setEnabled(false);
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/getEnabled">
 <p class = "titleStyle">getEnabled</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.getEnabled()</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

None.</p>
 <p class = "subTitle">

Returns</p>
 <p>

A Boolean value indicating whether the component is enabled (
true
) or disabled (
false
).</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; indicates whether the component is enabled.</p>
 <p class = "subTitle">

Example</p>
 <p>

The following code uses getEnabled to determine whether the component is enabled or disabled and displays the result in the Output window.</p>
 <p class = "codeStyle">


trace(chart1.getEnabled());
</p>
</reference>
<reference path = "Flash Charting Components/FPieChart/Methods/setChartEventHandler">
 <p class = "titleStyle">setChartEventHandler</p>
 <p class = "subTitle">

Availability</p>
 <p>

Flash Player 6.</p>
 <p class = "subTitle">

Usage</p>
 <p class = "codeStyle">

<I>
myPieChart.setChartEventHandler(functionName, eventName, [location])</I>
</p>
 <p class = "subTitle">

Parameters </p>
 <p>

<I>
functionName </I>
A string value that should correspond with a function name.</p>
 <p>

<I>
eventName </I>
A string value that should correspond to either “onPress”, “onRelease”, “onRollOver”, or “onRollOut”.</p>
 <p>

<I>
location </I>
This parameter is optional.</p>
 <p class = "subTitle">

Returns</p>
 <p>

Nothing.</p>
 <p class = "subTitle">

Description</p>
 <p>

Method; based on the setChangeHandler() method defined in FComboBox and FListBox. Specifies a change handler to call when the mouse cursor interacts with a marker in the graph (i.e., bar, pie wedge, line graph plot, etc.). You can specify the same change handler function for more than one component; the function always accepts the instance of the component that has changed as a parameter. Calling this method overrides the Chart Event Handlers parameter value specified in authoring. </p>
 <p>

The triggered function will receive two parameters: a reference to the component, and an index number for the recordset item associated with the marker (bar, wedge, line plot) in the chart.</p>
 <p class = "subTitle">

Example</p>
 <p>

When the mouse cursor is released over a marker, a function named “selectRecord” will be called in the timeline containing the component, and the selectRecord function will receive two arguments: a reference to the component and a reference to the recordset item:</p>
 <p class = "codeStyle">


containerTimeline.selectRecord = function (componentRef, record) {
if (componentRef == myPieGraph) {
</p>
 <p class = "codeStyle">


		trace(record["price"]);
</p>
 <p class = "codeStyle">


	}
</p>
 <p class = "codeStyle">

}

</p>
 <p class = "codeStyle">



</p>
</customactions>
