Re: [visualization-api] Column chart and datetime

2013-03-07 Thread asgallant
You lose the other two bars per column because there isn't enough space to draw them. Lets say for the sake of argument that your chartArea (the part of the chart where the bars get drawn) is 500 pixels wide. With a 3-week range and 2 data points spaced 30 minutes apart, the chart has to make

Re: [visualization-api] Column chart and datetime

2013-03-07 Thread asgallant
If changing the width and bar group width doesn't fix it, then the only way to change it is to adjust the data. On Thursday, March 7, 2013 6:15:29 PM UTC-5, Morsi Tlili wrote: > > Thanks for your reply. I understood what you mean but what is quite > strange is that just 2 bars out of 3 disappear

Re: [visualization-api] Column chart and datetime

2013-03-07 Thread Morsi Tlili
Thanks for your reply. I understood what you mean but what is quite strange is that just 2 bars out of 3 disappear when adding the 2 last lines... Well, I tried modifying the chartwidth and the bar.grooupwidth but unfortunately that didn't change anything. I've attached two screenshots (with an

Re: [visualization-api] Column chart and datetime

2013-03-07 Thread asgallant
The last two rows, with the dates "new Date( 2013 , 2 , 5 , 11 , 55 , 59 )" and "new Date( 2013 , 2 , 5 , 12 , 29 , 37 )" are too close together. The API determines the available group width for each row of data and uses the smallest one for all rows of data; since these two rows are so close

Re: [visualization-api] Column chart and datetime

2013-03-07 Thread Morsi Tlili
Hi I'm having an issue with Column chart, I'm using the code below . It works well if I remove the last Item ( var timestamp= new Date( 2013 , 2 , 5 , 12 , 29 , 37 ) ; alert(timestamp); data.setCell(inc, 0, timestamp); data.setCell(inc, 1 , 8165 ); data.setCell(inc, 2 , 0 ); data.setCell(inc

[visualization-api] Column chart and datetime

2010-05-22 Thread FrankP
I am having issues with creating a column chart with a datetime access. The data is coming in via XML and being converted to a javascript date. The date object is valid in the js code and the code has no errors. The dates in the XML are also sequential hourly values spanning a 25 hour period. I ha