Solved

C3-->D3 Line Chart

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jquery - show / hide div depending on day and time 19 26
Objects on Same Line 2 18
Sorting a string 1 10
Not seen Link button 5 14
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now