Hi All,
I'm trying to see if this is possible.
I have an existing chart which combines bars and two areas as below:
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Day', 'Actual', 'Base','Uplift'],
['2013-05-01',140,100,25],
['2013-05-02',75,80,22],
['2013-05-03',130,105,10],
['2013-05-04',110,75,18],
['2013-05-05',205,140,25]
]);
// Create and draw the visualization.
var ac = new google.visualization.ComboChart(document.getElementById(
'visualization'));
ac.draw(data, {
width: 600,
height: 400,
colors:['#109618','rgb(184,204,228)','rgb(0,112,192)'],
vAxis: {title: "Cups", minValue: 0},
hAxis: {slantedTextAngle: 45},
seriesType: "bars",
isStacked:true,
series: {1: {type: "area", areaOpacity:5}, 2: {type: "area", areaOpacity
:5}}
});
}
I need to be able to highlight / mark a date range i.e. 2013-05-02 through
2013-05-04. I need this to have a fill and be slightly transparent, it
should be behind all the other layers and take up 100% of the height of the
chart.
I tried to use area again and create another series which was effectively
the same value as 100% height of the chart but it wasn't working because
this chart is configured to use stacking.
Any ideas?
Tom
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-chart-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.