I didn't find c3.css and c3.min.js for c3.js chart -


<%@ page language="java" contenttype="text/html; charset=iso-8859-1"     pageencoding="iso-8859-1"%> <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>insert title here</title> <link href="/path/to/c3.css" rel="stylesheet" type="text/css">  <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>  <script src="/path/to/c3.min.js"></script>     </head> <body>  <script type="text/javascript">  var chart = c3.generate({     data: {         columns: [             ['data1', 30, 200, 100, 400, 150, 250],             ['data2', 50, 20, 10, 40, 15, 25]         ]     } });  settimeout(function () {     chart.load({         columns: [             ['data1', 230, 190, 300, 500, 300, 400]         ]     }); }, 1000);  settimeout(function () {     chart.load({         columns: [             ['data3', 130, 150, 200, 300, 200, 100]         ]     }); }, 1500);  settimeout(function () {     chart.unload({         ids: 'data1'     }); }, 2000);   </script> 

i want make c3.js chart example. tried ... didn't find css , js this... can me find out c3.css , c3.min.js path .... can solved problem ... thank every one.

i think should start again using original zip file, can sure files in right spot.

in \htdocs\samples folder, open sample. in head -

<link rel="stylesheet" type="text/css" href="/css/c3.css"> 

change to

<link rel="stylesheet" type="text/css" href="../css/c3.css"> 

same line calls .js file.

now, go master folder, should called c3-0.4.4 or similar. copy .css files , dump in css folder. place .js files in js folder.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -