Alignment off ticks on bar and point charts

22 views
Skip to first unread message

Jez

unread,
Mar 14, 2011, 11:34:53 AM3/14/11
to JSFlot JavaServer Faces JSF Chart Library
Hi,

I am trying to do my first task with JSFlot and i am finding it a
little difficult.

I have two charts on the page which are the same width and cover a 24
hour period from 0 to 23.
The top one is a point chart and the second is a step chart.

Currently the top chart shows slightly wider columns so that 23 is on
the right hand edge of the chart.
The second chart has 23 one column in from the right hand edge.
They both have the same number of values on them but the columns are
minutely narrower on the top chart.

Is there a way to align the grids of both charts even though they are
different types.
I tried setting the barWidth but that is not going to be reliable for
dynamic data.

Any ideas?

Thanks.


Jez
Reply all
Reply to author
Forward
0 new messages