Created
April 5, 2020 08:34
-
-
Save arun12209/09a9ce1e055f2565801e5ea8c806a161 to your computer and use it in GitHub Desktop.
Covid19_Tracking_ChartCmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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