developer
developer

Reputation: 728

Multiple YAxis with different tick size

Just want to find out if anyone have encountered this problem before.

Basically I am currently using Flot version 0.8. I am trying to plot a chart with multiple yaxis against datetime in xaxis.

The Left yaxis are for values which normally range between 10-80 whereas right yaxis are for values range between 100-500.

Is that even possible to have them plotted with the same tick size (E.g., 20) and the dimension of the chart is fixed.

At the moment, FLOT will automatically apply different tick size on left and right yaxis.

What do you guys think?

Upvotes: 0

Views: 5902

Answers (1)

DNS
DNS

Reputation: 38199

Use the tickSize option to set the same interval on both axes. See the customizing the axes section of the docs for more info.

Upvotes: 2

Related Questions