This sample shows how to get array with all resources from the chart. Click 'List Resources' button to list the resources.