Browse Source

Fix indentation in sample

pull/30/head
mikhail samoilov 11 years ago
parent
commit
83f66a8818
  1. 42
      htdocs/samples/chart_bar_stacked.html

42
htdocs/samples/chart_bar_stacked.html

@ -1,33 +1,33 @@
<html>
<head>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
</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({
<script src="/js/c3.js"></script>
<script>
var chart = c3.generate({
data: {
columns: [
['data1', 30, 200, 200, 400, 150, 250],
['data2', 130, -100, 100, 200, 150, 50]
],
types: {
data1: 'bar',
data2: 'bar'
},
groups: [
['data1', 'data2']
]
columns: [
['data1', 30, 200, 200, 400, 150, 250],
['data2', 130, -100, 100, 200, 150, 50]
],
types: {
data1: 'bar',
data2: 'bar'
},
groups: [
['data1', 'data2']
]
},
axis: {
x: {
type: 'categorized'
}
}
});
</script>
</body>
});
</script>
</body>
</html>

Loading…
Cancel
Save