Browse Source

Add sample html

pull/1/head
Masayuki Tanaka 12 years ago
parent
commit
6521fd5137
  1. 1
      htdocs/css/c3.css
  2. 1
      htdocs/js/c3.js
  3. 21
      htdocs/samples/simple.html

1
htdocs/css/c3.css

@ -0,0 +1 @@
../../c3.css

1
htdocs/js/c3.js

@ -0,0 +1 @@
../../c3.js

21
htdocs/samples/simple.html

@ -0,0 +1,21 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',
data: {
columns: [
['sample', 30, 200, 100, 400, 150, 250]
]
}
});
</script>
</body>
</html>
Loading…
Cancel
Save