Commit 7981ee67 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Update sample for requirejs

parent ef60246c
......@@ -7,7 +7,7 @@ require.config({
require(["d3", "c3"], function(d3, c3) {
var chart = c3.generate({
window.chart = c3.generate({
data: {
columns: [
['sample', 30, 200, 100, 400, 150, 250]
......@@ -15,4 +15,4 @@ require(["d3", "c3"], function(d3, c3) {
}
});
});
\ No newline at end of file
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment