Using Images From UE Assets
How to embed and reference chart images from UE project assets
Step By Step Guide: How to embed and reference chart images from UE project assets
How to embed and reference chart images from UE project assets.
1 Using a Pie Chart with BP_Preview Controller, we need some images and then connect those images to the chart. Within Content Browser naviaget to a folder with Images - in this instance it is 'Images' with four images named TEAM_1 to TEAM_4
2 Via UE Settings, Project Settings - below Plugins: select 'Idonix - Image Cache' and then below 'Preloaded Images', below 'Project Images' we can add the link to the TEAM images in the 'Images' folder. Using the '+' icon (Add Elements), from the dropdown select the image. Add TEAM_1 to TEAM_3
3 Looking at the sample JSON file it important to note that the original texture asset name (e.g. TEAM_1) becomes the name in 'Preloaded Images' and has to be the same name in the JSON when being referenced by ImageKey
4 In World Outliner, select the BP_PieChart_PreviewJSONController then below Details, copy the JSON into Graphic Data - JSON Data.
You can now 'Animate' and the images will map to the three pie sections in the data.