1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | (function () { Flotr.ExampleList.add({ key: 'test-boundaries', name: 'Test Boundaries', callback: test_boundaries }); function test_boundaries(container) { var d1 = [ [0, 0], [5, 0], [6, 10], [9, 10] ], // First data series i, graph; // Draw Graph graph = Flotr.draw(container, [ d1 ], { title: 'test', xaxis: { minorTickFreq: 4 }, lines: { lineWidth: 2 }, grid: { outlineWidth: 2, minorVerticalLines: true } }); } })(); |