Solved

C3-->D3 Line Chart

Posted on 2016-11-13
4
54 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 92
What cart is this? 2 31
How to get text of href without any ID using Javascript 9 23
Table style position to the left 8 24
This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

679 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