Questions tagged [d3]
The d3 tag has no usage guidance.
5
questions with no upvoted or accepted answers
5
votes
0answers
463 views
d3.js in Lightning Component - TypeError: cannot use the given object as a weak map key throws in Firefox
this error appears in Firefox (56.0) when trying to run (d3.js v4):
svg = svg.call(d3.zoom().on("zoom", zoomed)).append("g");
or
.call(d3.drag()...
in Lightning component.
error:
TypeError: ...
2
votes
0answers
322 views
The d3 js initialization failed in firefox with locker service activated (Summer 17)
The issue is that I am trying to draw a tree using the d3 js library and it works perfectly in chrome and edge, but when I tried to use firefox for this purpose the tree didn't look correctly. The ...
1
vote
0answers
201 views
Issue with d3.4.4.0 and lightning locker service
I used the below code to implement collapsible tree chart using d3.js. The same code works fine with lockerservice off. With lockerservice on the tree chart is not working. What I have found is the ...
1
vote
0answers
544 views
Issue with disappearing charts in Salesforce Lightning
I am using D3, a 3rd party JS library, to create a bar chart and a progression chart on a lightning component. I am using the following line to load the library.
<ltng:require scripts='/resource/...
1
vote
0answers
328 views
How to draw bullet chart in Lightning component?
Is there any js library to draw bullet chart in Lightning component ?
I have tried with d3.js and bullet.js in two different approaches but failed.
I created lightning component and in helper method, ...