Read Data from Report and display chart
If you are seeing this post directly just go through this article contains Apex class with details. Click Here Aura Component : <aura:component controller=”GetApexReadData” implements=”flexipage:availableForAllPageTypes” access=”global”> <aura:attribute name=”dashboardData” type=”List” /> <ltng:require scripts=”{!$Resource.ChartJSScript}” afterScriptsLoaded=”{!c.ScriptLoaded}”/> <aura:handler name=”init” value=”{!this}” action=”{!c.doInit}”/> <canvas aura:id=”chart” id=”chart” /> </aura:component> JS Controller : ({ doInit: function(component, event, helper) { helper.loadChartJS(component, helper); } }) […]
Read More