first commit
This commit is contained in:
23
www/bower_components/c3/docs/js/samples/axes_label.js
vendored
Normal file
23
www/bower_components/c3/docs/js/samples/axes_label.js
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
var chart = c3.generate({
|
||||
data: {
|
||||
columns: [
|
||||
['sample', 30, 200, 100, 400, 150, 250],
|
||||
['sample2', 130, 300, 200, 500, 250, 350]
|
||||
],
|
||||
axes: {
|
||||
sample2: 'y2'
|
||||
}
|
||||
},
|
||||
axis: {
|
||||
x: {
|
||||
label: 'X Label'
|
||||
},
|
||||
y: {
|
||||
label: 'Y Label'
|
||||
},
|
||||
y2: {
|
||||
show: true,
|
||||
label: 'Y2 Label'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user