Flot Chart logo

Tuesday, March 3, 2015 - 11:58

By default, Flot with the Flot categories plugin doesn't allow for you to use the 'ticks' or 'tickSize' option to show less ticks when there are too many data points on the x-axis for all of the labels to fit.

Our initial thought was to attempt to achieve this using a Ticks function inside the axis options. Unfortunately, this proved to be impossible due to the fact that the function appeared to run once for every tick on the axis, which would make it unworkable once we added the necessary computation.

Read more