Viji
Viji

Reputation: 61

stacked column charts appearing too thin

I have the following issues while working with stacked column charts:

Firstly,look at the following chart:

http://jsfiddle.net/QnuEA/

If you notice the time range is wide, the columns appear too thin. I know that setting pointWidth is one option. But actually the chart should be appearing as they would if the time interval range is narrow as follows:

http://jsfiddle.net/QnuEA/1/

The expectation is x-axis interval must adjust itself.

Secondly, for the same chart as above, if the width of the chart is more (say 900 px or so), the x-axis seems to have a lot of empty space before the first tick.

Is there a solution to this? (I am unable to post more than 2 jsfiddle links here.So I am not providing a link for this issue)

Upvotes: 0

Views: 1928

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

You need to define pointRange as timestamp

http://jsfiddle.net/QnuEA/3/

Upvotes: 1

Related Questions