Posts

Showing posts from November, 2019

Draw Chart in LWC using chart.js

Image
Leverage The art of Chart in our very own LWC R eports are the soul of any business. Though Salesforce provides the power of customizable reports, it comes with limited filtering options. To solve this limitation and spice up our visuals, we have something called “ ChartJS”. For any complex business reports, this shall act has a medium of simplicity, providing visual extravaganza. By using ChartJs , we can make sure that reports can be visualized much easier, also adding exponential power filters. This intern will make your business float on Cloud Nine. All these can be done in the new booming phrase “LWC”. Please find the steps below to achieve ChartJs in LWC. First Things First:                             ·    Download ChartJs from here .               ·       Create the Lightning Web Component. displayChart.html <template> <div class="chart" lwc:dom="manual"></div> <div class='slds-box s