This example demonstrates the use of an APEX plug-in based on the Oracle JET Legend, using the
ojLegend API.
Note that in order for this example to work, the charts must be rendering series with the same names, and those series names are then used to populate the Legend.
1. Create 3 separate chart regions, which all render series with the same name e.g Acme Store, Deli, Shop C and Store A.
2. Set the Legend 'Show' attribute to 'No' for each of the charts.
3. Create a new JET Legend plug-in region on the page, based on the jetLegend Plug-in. Navigate to Shared Components > Plug-ins > jetLegend, to inspect the plug-in.
For more information on the Legend visualization settings, refer to the Oracle JET Cookbook Legend: Basic example and ojLegend API. For more information on working with Plug-ins, refer to Chapter 19.2 Implementing Plug-ins in the Oracle APEX 20.1 User's Guide.