Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created April 5, 2020 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arun12209/09a9ce1e055f2565801e5ea8c806a161 to your computer and use it in GitHub Desktop.
Save arun12209/09a9ce1e055f2565801e5ea8c806a161 to your computer and use it in GitHub Desktop.
Covid19_Tracking_ChartCmp
<aura:component controller="Covid19_IND_TrackerController" access="global">
<!-- load chart js library from static resource-->
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<ltng:require scripts="/resource/Chart_Js/Chart.js-2.9.3/dist/Chart.bundle.js" />
<aura:attribute name="chartObj" type="object" access="public"/>
<aura:attribute name="property1" type="string"/>
<aura:attribute name="property2" type="string"/>
<div aura:id="chartContainer" style=" ">
<canvas aura:id="myChart" id="{!v.property1}" /><!--reportChart-->
</div>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment