LineChart Component for Flash

The LineChart Component allows you to easily create detailed line charts.  The user-friendly charts can be generated using a very small amount of actionscript. Every aspect of the data display is customizable.

The component is very lightweight


Example




Actionscript used for this example:
import com.dwuser.charting.LineChart;
this.createClassObject(LineChart, "chart", getNextHighestDepth(), {_x:25, _y:50});
chart.setSize(400, 300);
chart.numberPrefix = "$";
chart.numberPostfix = "K";
chart.points = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
chart.plotLine({Sunday:12, Monday:5, Tuesday:15, Wednesday:10, Thursday:18, Friday:30, Saturday:26}, "Assets");
chart.plotLine({Sunday:10, Monday:5, Tuesday:15, Wednesday:10, Thursday:20, Friday:24, Saturday:25}, "Liabilities");
chart.plotLine({Sunday:8, Monday:7, Tuesday:10, Wednesday:1, Thursday:4, Friday:19, Saturday:24}, "Captital");
chart.plotLine({Sunday:6, Monday:17, Tuesday:12, Wednesday:3, Thursday:9, Friday:34, Saturday:12}, "Income");
chart.plotLine({Sunday:3, Monday:1, Tuesday:15, Wednesday:6, Thursday:7, Friday:30, Saturday:18}, "Expenses");

this.createEmptyMovieClip("legend_mc", getNextHighestDepth());
legend_mc._x = 450;
legend_mc._y = 50;
chart.drawLegend(legend_mc);
Note: Multi-word horizontal axis labels are supported, too

Download Extension



Support Info

Detailed help is available from the LineChart section of the Help Panel.  To view the help panel, select Help > Help.
If you need support directly relating to the extension then use the Contact Form on DWUser.com.

Support our free extensions

Check out our other extensions »

Flash Slideshow Creator for Dreamweaver

Flex-style UI Components for Flash