Hi Alex (once again),

You can place the following script on the playground

function drawVisualization() {
  // Some raw data (not necessarily accurate)
  var rowData = [['Month', 'Bolivia', 'Bolivia Line'],
                 ['2004/05', 165, 165],
                 ['2005/06', 135, 135],
                 ['2006/07', 157, 157],
                 ['2007/08', 139, 139],
                 ['2008/09', 136, 136]];

  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable(rowData);

  // Create and draw the visualization.
  var ac = new google.visualization.ComboChart(document.getElementById(
'visualization'));
  ac.draw(data, {
    title : 'Monthly Coffee Production by Country',
    width: 600,
    height: 400,
    vAxis: {title: "Cups"},
    hAxis: {title: "Month"},
    seriesType: "bars",
    series: {1: {type: "line"}}
  });
}

Enjoy,

Roni



On Tue, Jul 12, 2011 at 12:18 PM, Roni Biran <[email protected]> wrote:

> Hi Alex,
>
> You can use the ComboChart to do that  (
> http://code.google.com/apis/chart/interactive/docs/gallery/combochart.html
> )
> All you need to do is define which series use what chart type.
> You can play on the playground (
> http://code.google.com/apis/ajax/playground/?type=visualization#combo_chart
> )
>
> For your simple example, generate duplicated data series, the first will be
> a bar chart and the second line. That will give you the requested result.
>
> Hope that helped,
>
> Roni
>
>
>
> On Tue, Jul 12, 2011 at 8:01 AM, alex <[email protected]> wrote:
>
>> Is there any way to do this? I can't find the appropriate page in the
>> manual...
>>
>> It's clearly possible for image charts:
>>
>> http://code.google.com/apis/chart/image/docs/chart_params.html#gcharts_line_markers
>>
>> Thanks in advance!
>>
>> --
>> 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