The BJCChartLegend component supplements the BJC Charting components by providing contextual information about the data on display. The BJCChartLegend can be used with the BJCBarChart, the BJCLineChart, the BJCPieChart or the BJCStackedPercentChart.
1. Before beginning this tutorial you need to complete either the BJCBarChart, BJCLineChart, BJCPieChart or BJCStackedPercentChart tutorial.
2. With your Flash file from step 1 still open, press Ctrl+F7 (Windows) or Cmnd+F7 (Mac) to open your components panel and locate the BJCChartLegend component. Drag a copy of the component onto the stage.
3. With the BJCChartLegend component still selected press Ctrl+F3 (Windows) or Cmnd+F3 (Mac) to open the properties panel and give the component the instance name 'myLegend' (without the quotes).

4. With the BJCChartLegend component still selected press Alt+F7 to open the component inspector panel. Locate the 'Font' parameter and enter the name of the font you embedded in step 1 ('myFont' without the quotes).

5. Select your chart component on your stage (BJCBarChart, BJCLineChart, BJCPieChart or BJCStackedPercentChart). Open the component inspector panel and enter the instance name you gave your BJCChartLegend component in step 3 ('myLegend' without the quotes).

6. Press Ctrl+S (Windows) or Cmnd+S (Mac) to save your file and Ctrl+Enter (Windows) or Cmnd+Enter (Mac) to test your file.