flotグラフのx軸とy軸のタイトルを表示することはできますか?Flotグラフのx軸とy軸のタイトル
以下はコードです:
$.plot($("#placeholder_1w"), [d], {
series: {
lines: { show: true, fill: false, fillColor: "red" },
points: { show: true, fill: true,fillColor: "red" }
},
grid: { hoverable: true, clickable: true , color: 'green'},
xaxis: {
mode: "time",
minTickSize: [1, "day"],
min: (myWeekDate).getTime(),
max: (new Date()).getTime()
},
colors: ["red", "green", "#919733"]
});
@ Ryleyの回答に加えて、プラグインも利用可能です:https://github.com/markrcote/flot-axislabels – Mark
@マーク - それを答えてください、私はそれに投票します:) – Ryley