jQplot チャートがありmonth
、X 軸にラベル (1 月、2 月、3 月、4 月、5 月、6 月、7 月など) を付ける必要があります。
チュートリアルからいくつかの例を試しましたが、うまくいきません。
誰か助けてくれませんか?
これは私がこれまでに持っているものです:
jQuery(document).ready(function(){
jQuery.plot(jQuery("#chartplace2"), [{
data : [[6, '0'], [5, '0'], [4, '0'], [3, '0'], [2, '0'], [1, '0'], [0, '32000']],
label : "Mijolino",
color : "#79755c"
}, {
data : [[6, '0'], [5, '0'], [4, '0'], [3, '0'], [2, '0'], [1, '0'], [0, '42500']],
label : "Mija",
color : "#78d6d0"
}], {
series : {
lines : {
show: true,
fill : true,
fillColor : {
colors : [{
opacity : 0.1
}, {
opacity : 0.20
}]
}
},
points: {
show : true
}
},
legend: {
position : 'nw'
},
grid: {
hoverable : true,
clickable : true,
borderColor : '#ccc',
borderWidth : 1,
labelMargin : 10
},
yaxis : {
min : 0,
max : 100000
},
title : {
text : 'Grafikon',
show : true
}
});
});