(function basic(container) {
var
d1 = [[0, 3], [4, 8], [8, 5], [9, 13]], // First data series
graph;
// Draw Graph
graph = Flotr.draw(container, [ d1 ], {
xaxis: {
minorTickFreq: 2,
title: "The x-axis"
},
yaxis: {
minorTickFreq: 2,
title: "The y-axis",
titleAngle: 90
},
grid: {
minorVerticalLines: true
}
});
})(document.getElementById("example"));
HtmlText : false