Leo
Leo

Reputation: 1136

vertical line chart (time series) in jqplot

I'm trying to plot a time-series in a vertical line chart, something like this:

[EDIT The link is now a demos in the download archive which is available here:

https://www.rgraph.net/download.html#stable

And the demo is called demos/scatter-vertical-line.html ]

The reason is simple: mobile phones have a "vertical" aspect ratio, so a x-based chart is not as effective.

Is there any way I can do it with jqplot? I tried the "rotate" property in css, but it's not available in Opera Mini so I can't use it...

Upvotes: 0

Views: 606

Answers (1)

Pavitar
Pavitar

Reputation: 4384

Adding this should do it :

seriesDefaults: {rendererOptions: {barDirection: 'horizontal'}}.

Upvotes: 0

Related Questions