There is a "cheat" around this.  Create a DataTable with 3 columns; the 
first contains your domain-axis values, the second sets the distance from 
the axis that the bar will start, and the third is your data.  In the 
chart's options, set "IsStacked" to true and "series.0.color" to 
"transparent" and  "series.0.visibleInLegend" to false.  This creates a 
chart with two stacked data series where the first series is transparent - 
the bars don't trigger the tooltips and aren't visible - so it gives the 
impression that the bars for the second series are "floating."  See an 
example here: http://jsfiddle.net/asgallant/uHTE8/ 

On Thursday, July 12, 2012 6:40:09 PM UTC-4, Stjepan Brbot wrote:
>
> I need the same thing! The only possibility with Google visualization API 
> is to achieve something similar with CandlestickChart but in vertical 
> direction. It seems that it is not possible to have CandlestickChart in 
> horizontal direction. The CandlestickChart is only one offering start 
> position of bar. Bars in all other chart types start from axis.
>
> Dana srijeda, 27. siječnja 2010. 01:44:30 UTC+1, korisnik anthos napisao 
> je:
>>
>> I am looking for ways to draw a chart with date on y-axis and time on
>> x-axis to have a task duration of start time to end time plotted
>> similar to 
>> http://pubs.logicalexpressions.com/Pub0009/userimages/ai1408.gif
>>
>> Can I use Google Visualization API for this purpose ? If so could
>> someone please provide me a snippet to start with ?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/W9BuF0WbFKoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to