We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [d3]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
248 views

Aligning D3 Area Chart X-Axis Ticks correctly [closed]

I am building an area chart using the D3 Library, and I used their area chart example to help me construct it. However, I am not using dates as along the x-axis, instead I am using Strings, so I tried ...
5
votes
0answers
387 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
305 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 ...
0
votes
1answer
595 views

D3 Js with Visual Force [closed]

I am Creating a Customize Chart using D3.Js I am able see the graph with Static data as a given in example But I am not aware of how to bind data dynamically Here is My Code <apex:page ...
1
vote
0answers
143 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 ...
8
votes
1answer
397 views

Issues with running LockerService, d3, and Lightning components

Our d3 & Lightning Components work correctly when LockerService is turned off, but do not work when Locker Service is turned on. We're running d3 4.4.0 as specified by the list of Locker Service ...
1
vote
0answers
26 views

Salesfoce client side updated content (d3 chart) not showing on subsequent loads [duplicate]

I am trying to create a d3 Chart from third party JavaScript file, calling the JavaScript function from Salesforce lightning component on afterScriptsLoaded event. <ltng:require scripts='/resource/...
4
votes
1answer
210 views

LockerService with Lightning Components & d3 transformation issue

I'm experiencing issues with d3 v4.4.0 and v4.7.3 when I'm trying to redraw some chart. There is a problem with g tag decomposition. When I try to redraw some element: rect.transition() ....
1
vote
0answers
437 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
299 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, ...
2
votes
2answers
723 views

LockerService and D3 version 4 causing random Promise error in ltng:require [closed]

I'm trying to use D3 Graph library in Lightning Component with LockerService activated. The component works fine, but randomly it fails to load with error messages like: Error Message in Chrome: ...
4
votes
2answers
2k views

Using dc.js (d3.js and crossfilter) in visualforce

Today I was able to make angular.js run in visualforce. Now, I am trying to use the dc.js in visualforce to generate graphs. I create a page and this is how my code looks like: <apex:page ...
0
votes
1answer
3k views

Uncaught ReferenceError: d3 is not defined

While trying to execute, i'm getting an error saying d3 is not defined . Referring to the link : http://bl.ocks.org/mbostock/3885705 to create bar chart. Appreciate the help. <apex:page sidebar="...