LineChart.drawLegend()

Availability

Flash Player 7

Edition

Flash MX 2004.

Usage

lineChartInstance.drawLegend(destination:MovieClip)

Parameters

destination A movieclip for the legend to be drawn on

Returns

Nothing.

Description

Method; draws the legend on the specified MovieClip.

Example

The following example creates a movieclip, then draws the legend for linechart instance linechart on it:

createEmptyMovieClip("legend_mc", getNextHighestDepth());
linechart.drawLegend(legend_mc);