Flash Player 7
Flash MX 2004.
lineChartInstance
.plotLine(points:Object[, lineLabel:String[, lineColor:Number]])
points
An object with each item refencing an identifier
of a point on the horizontal axis (See LineChart.points
for
more)
lineLabel
The label displayed in the line's tooltips,
and in the legend. Optional.
lineColor
The line color if you don't want to
use the default color scheme. Optional.
Nothing.
Method; adds a line to the LineChart, and redraws the chart.
The following example adds a line labeled Assets to linechart
instance linechart
:
chart.plotLine({Sunday:12, Monday:5, Tuesday:15, Wednesday:10, Thursday:18, Friday:30, Saturday:25}, "Assets");