Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 88
  • Last Modified:

C3-->D3 Line Chart

I'm trying to figure out how to call a C3 line chart like it's done below:
http://c3js.org/samples/simple_multiple.html

Here's what I have in jsfiddle:
https://jsfiddle.net/isogunro/m2cnpq7m/

Any help would be much appreciated.

Thanks!
0
Isaac
Asked:
Isaac
  • 2
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
replace your jQuery version, use 1.11.0 not the 3.0 which have too much differences.
Test page : https://jsfiddle.net/o4tq165m/

Also I used the same d3 version :
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
Hi,

I loaded the necessary files but, it still does not work for me.
https://jsfiddle.net/isogunro/m2cnpq7m/2/

Also, where did you get all the CSS from?
0
 
leakim971PluritechnicianCommented:
you're still using jQuery 3.1.1
for the CSS, I got the content by open the link from their page : https://c3js.org/css/c3-b03125fa.css

jQuery 3.1.1Clipboard02.jpg
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
Awesome! Thanks!
1

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now