Not at the moment, I'm afraid.

On Fri, Mar 18, 2011 at 11:07 PM, Brardith <[email protected]> wrote:

> So then, could I make the front bar, the 0-20 bar, transparent so that
> the user only sees the 20-30 bar stacked on top of it?
>
> On Mar 18, 7:44 am, asgallant <[email protected]> wrote:
> > As far as I'm aware, there is no explicit support for that (though it
> > would be a neat feature to have).  You can sort of fake it by using
> > stacked bars, though.
> >
> > Lets say you had one data range that was 20-30, you would input it
> > like this:
> >
> > var data = new google.visualization.DataTable();
> > data.addColumn('string', Name');
> > data.addColumn('number', 'Lower Bound');
> > data.addColumn('number', 'Upper Bound');
> >
> > data.addRow();
> > data.setValue(0, 0, 'Foo');
> > data.setValue(0, 1, 20);
> > data.setValue(0, 2, 10);
> >
> > var chart = new
> > google.visualization.BarChart(document.getElementById("chartDivID"));
> > options = {isStacked: true, <other options>};
> > chart.draw(data, options);
> >
> > which draws a chart with two bars, values 20 and 10, stacked on top of
> > each other.  The "10" bar would indicate the range of 20-30.  It's not
> > elegant, it's not pretty, but it kinda-sorta works.
> >
> > On Mar 18, 7:21 am, Brardith <[email protected]> wrote:
> >
> >
> >
> > > Hey all,
> >
> > > I'm new both to this group and to the Viz API, and I've got a very
> > > important question (for me) here:
> >
> > > Is it possible on the interactive Bar Chart (horizontal) to specify a
> > > range for a bar? For example, say I had three data points. instead of
> > > just a single value, like 20, 45, 80, I'd like to specify a start
> > > value and and end value, say 20-30, 50-70, 80-99.
> >
> > > Can it be done?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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