I am using flot to display bar charts. When I set the tickLength to 0, it hides the vertical and horizontal lines but it also hides the x-axis and y-axis lines. I need the x
For the case of a (0,0) origin, you can fake the axes by just drawing bottom and left border lines:
grid: { borderColor: 'black', borderWidth: { top: 0, right: 0, bottom: 2, left: 2 }, ... }