Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [chartjs]

A javascript Library that provides Charting capabilities. http://www.chartjs.org/

0
votes
1answer
59 views

Rendering Chart JS via a Slot

I am new to Lightning Web Components. I am trying to render a Chart JS canvas via a slot; chartWrapper.html <template> <div class="chart-wrapper"> <slot name="chart"></...
-2
votes
1answer
37 views

Can this below dashboard be devloped with Standard Salesforce functionality?? [closed]

Can this below chart be developed with Standard salesforce features. 1. Chart should allow negative values in Y-axis. 2. X-axis should allow more than 1 system for each unit as shown in image. 3. ...
0
votes
2answers
280 views

Pie chart not displaying in aura component [closed]

I am developing a simple pie chart which will be included in the Accounts lightning page and I've stored Chart.js(Version 2.7.3) in static resources. However I'm struggling to get it working and no ...
0
votes
1answer
1k views

display report in lightning component salesforce

I have a report that needs to display its data in chart format using chart.js I am getting error: Assertion Failed!: Unable to get value for key 'chart.js'. No value provider was found for 'chart'. ...
0
votes
0answers
82 views

Using apex:tab and executing JS on the embedded page (ChartJS)

I have some VF's which there they have their own jS being executed. When I had embed these pages as apex:tabs and tried navigate through them the jS apparently aren't being executed. Even when I ...
0
votes
1answer
450 views

ReferenceError: require is not defined

I am trying to sets up a chart using the Chart.js library, which is uploaded as a static resource, I am getting the below error: ReferenceError: require is not defined throws at https://karima-dev-ed....
1
vote
1answer
179 views

chart js crash after last chrome update in lightning community

I'm working on lightning component for community and using Chartjs library. Bar chart was working fine on chrome , but today when chrome install last update ( Version 60.0.3112.90 (Official Build) (...
1
vote
0answers
351 views

ChartJS no longer works in Lightning context

I have a few ChartJS charts displayed within lightning components. Up until the other day they were working fine. However, now when I try to draw the charts, the application crashes with no error ...
2
votes
1answer
218 views

Lightning component - v40 (LockerService) - uncaught exception: out of memory out of memory

I have a lightning component that has Chart.js (v.2.3) as a dependency. It has been packaged before Summer 17 and it was functional. It has also been tested and was functional in LockerService enabled ...
3
votes
1answer
468 views

Lightning Component - Caching / reload / render issue (whilst using ChartJS)

I have a Lightning component that displays a chart with ChartJS. I am in an org with Locker Service disabled. I have designed the Lightning component for reuse, so that I can use the same component ...
1
vote
2answers
1k views

Chart.js with Locker Service - Failed to create chart: can't acquire context from the given item

Any help appreciated, I have seen a few post on this subject, but none with a conclusive answer that solves the issue. I have followed all advice in these posts. I am using ChartJS within a Lightning ...