Solved

C3-->D3 Line Chart

Posted on 2016-11-13
4
48 Views
Last Modified: 2016-11-14
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
Comment
Question by:Isaac
  • 2
  • 2
4 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 41885780
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
 
LVL 5

Author Comment

by:Isaac
ID: 41886147
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
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 41886208
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
 
LVL 5

Author Closing Comment

by:Isaac
ID: 41886510
Awesome! Thanks!
1

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question