Google::Chart Sample

(generated on Thu Oct 29 21:12:49 2009)
These samples were taken from the Google Chart API Developer's Manual
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('size', '250x100', 'pie_type', '3d'));
    $g->add_dataset('data', [60, 40]);
    $g->add_pie_label('Hello', 'World');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x100'));
    $g->data_encoding('Simple');
    $g->add_dataset('data', ['31', '40', '33', '38', '39', '50', '45', '30', '39', '30', '31', '40', '33', '38', '39', '50', '45', '30', '39', '30']);
    $g->add_axis('location', 'x', 'labels', ['Apr', 'May', 'June']);
    $g->add_axis('location', 'y', 'labels', [undef, 50]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x100'));
    $g->data_encoding('Simple');
    $g->add_dataset('data', ['31', '43', '40', '45', '33', '44', '38', '51', '39', '29', '50', '40', '45', '30', '30', '41', '39', '32', '30', '39', '31', '43', '40', '45', '33', '44', '38', '51', '39', '29', '50', '40', '45', '30', '30', '41', '39', '32', '30', '39']);
    $g->add_axis('location', 'x', 'labels', ['Apr', 'May', 'June']);
    $g->add_axis('location', 'y', 'labels', [undef, 50]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x100'));
    $g->data_encoding('Simple');
    $g->add_dataset('data', ['31', '40', '43', '38', '40', '44', '45', '45', '33', '34', '44', '26', '38', '26', '51', '34', '39', '32', '29', '26', '50', '31', '40', '43', '45', '33', '30', '37', '30', '26', '41', '34', '39', '32', '32', '43', '30', '30', '39', '37', '31', '40', '43', '38', '40', '44', '45', '45', '33', '34', '44', '26', '38', '26', '51', '34', '39', '32', '29', '26', '50', '31', '40', '43', '45', '33', '30', '37', '30', '26', '41', '34', '39', '32', '32', '43', '30', '30', '39', '37']);
    $g->add_axis('location', 'x', 'labels', ['Apr', 'May', 'June']);
    $g->add_axis('location', 'y', 'labels', [undef, 50]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125'));
    $g->data_encoding('Simple');
    $g->add_dataset('data', ['31', '40', '40', '25', '26', '43', '40', '40']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('XY', ('size', '200x125'));
    $g->add_dataset('color', '3072F3', 'data', [0, 30, 60, 70, 90, 95, 100], 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 1);
    $g->add_dataset('color', 'ff0000', 'data', [20, 30, 40, 50, 60, 70, 80]);
    $g->add_dataset('color', '00aaaa', 'data', [10, 30, 40, 45, 52]);
    $g->add_dataset('data', [100, 90, 40, 20, 10]);
    $g->add_dataset('data', [-1]);
    $g->add_dataset('data', [5, 33, 50, 55, 7]);
    $g->add_marker('dataset_index', 0, 'type', 's', 'color', 'FF0000', 'point', -1, 'size', 5);
    $g->add_marker('dataset_index', 1, 'type', 's', 'color', '0000ff', 'point', -1, 'size', 5);
    $g->add_marker('dataset_index', 2, 'type', 's', 'color', '00aa00', 'point', -1, 'size', 5);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('SparkLine', ('size', '100x20'));
    $g->add_dataset('color', '0077CC', 'data', [27, 25, 25, 25, 25, 27, 100, 31, 25, 36, 25, 25, 39, 25, 31, 25, 25, 25, 26, 26, 25, 25, 28, 25, 25, 100, 28, 27, 31, 25, 27, 27, 29, 25, 27, 26, 26, 25, 26, 26, 35, 33, 34, 25, 26, 25, 36, 25, 26, 37, 33, 33, 37, 37, 39, 25, 25, 25, 25], 'line_thickness', 1, 'line_segment_length', 0, 'blank_segment_length', 0);
    $g->add_range_fill('type', 'B', 'color', 'E6F2FA', 'start_index', 0, 'end_index', 0);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('size', '200x125', 'stacked', 1, 'orientation', 'horizontal'));
    $g->data_encoding('Simple');
    $g->add_dataset('color', '4d89f9', 'data', ['30', '37', '37', '40']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('bar_width', 20, 'size', '200x125', 'stacked', 1));
    $g->add_dataset('color', '4d89f9', 'data', [10, 50, 60, 80, 40]);
    $g->add_dataset('color', 'c6d9fd', 'data', [50, 60, 100, 40, 20]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('bar_width', 20, 'size', '200x125', 'stacked', 1, 'data_encoding', 'Extended'));
    $g->add_dataset('color', '4d89f9', 'data', [10, 50, 60, 80, 40], 'min_value', 0, 'max_value', 160);
    $g->add_dataset('color', 'c6d9fd', 'data', [50, 60, 100, 40, 20]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('color', '4d89f9', 'data', [30, 37]);
    $g->add_dataset('color', 'c6d9fd', 'data', [40, 43]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('color', '4d89f9', 'data', ['33', '30', '37', '37', '40']);
    $g->add_dataset('color', 'c6d9fd', 'data', ['48', '40', '43', '37', '29']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'stacked', 1, 'encoding', 'Simple', 'size', '200x125'));
    $g->add_dataset('color', '4d89f9', 'data', ['33', '30', '37', '37', '40']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'stacked', 1, 'bar_width', 10, 'encoding', 'Simple', 'size', '200x125'));
    $g->add_dataset('color', '4d89f9', 'data', ['33', '30', '37', '37', '40']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('encoding', 'Simple', 'size', '200x100'));
    $g->add_dataset('data', [20, 31, 61, 26]);
    $g->add_pie_label('January', 'February', 'March', 'April');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('encoding', 'Simple', 'size', '250x100', 'pie_type', '3d'));
    $g->add_dataset('data', [20, 31, 61, 26]);
    $g->add_pie_label('January', 'February', 'March', 'April');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Venn', ('size', '200x100'));
    $g->add_dataset('data', [100, 80, 60, 30, 30, 30, 10]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('ScatterPlot', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('data', ['61', '60', '56', '44', '45', '45', '47', '46', '47', '36', '16', '8', '1', '11', '10', '13', '2', '0', '8', '34']);
    $g->add_dataset('data', ['3', '4', '9', '15', '32', '42', '52', '46', '40', '47', '53', '59', '51', '48', '40', '41', '16', '14', '3', '18']);
    $g->add_dataset('data', ['0', '5', '11', '15', '19', '23', '26', '31', '37', '41', '45', '49', '53', '57', '61', '32', '44', '3', '43', '39']);
    $g->add_axis('location', 'x', 'labels', ['0', '2', '3', '4', '5', '6', '7', '8', '9', '10']);
    $g->add_axis('location', 'y', 'labels', ['0', '25', '50', '75', '100']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Radar', ('size', '200x200'));
    $g->add_dataset('data', [10, 20, 30, 40, 50, 60, 70, 80, 90]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Radar', ('size', '200x200'));
    $g->add_axis('location', 'x', 'labels', [0, 45, 90, 135, 180, 225, 270, 315], 'range', [0, 360]);
    $g->add_dataset('data', [77, 66, 15, 0, 31, 48, 100, 77], 'line_thickness', '2.0', 'line_segment_length', '4.0', 'blank_segment_length', '0.0', 'color', 'FF0000');
    $g->add_dataset('data', [20, 36, 100, 2, 0, 100], 'line_thickness', '2.0', 'line_segment_length', '4.0', 'blank_segment_length', '0.0', 'color', 'FF9900');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Radar', ('size', '200x200', 'encoding', 'Text'));
    $g->set_grid('x_step_size', 25, 'y_step_size', 25, 'line_length', 4, 'blank_length', 4);
    $g->add_axis('location', 'x', 'labels', ['0', '45', '90', '135', '180', '225', '270', '315']);
    $g->add_dataset('color', 'FF0000', 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 0, 'data', [77, 66, 15, 0, 31, 48, 100, 77]);
    $g->add_dataset('color', 'FF9900', 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 0, 'data', [20, 36, 100, 2, 0, 100]);
    $g->add_range_fill('type', 'B', 'color', 'FF000080', 'start_index', 0, 'end_index', 1);
    $g->add_range_fill('type', 'B', 'color', 'FF990080', 'start_index', 1, 'end_index', 1);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Radar', ('size', '200x200', 'encoding', 'Text'));
    $g->set_grid('x_step_size', 25, 'y_step_size', 25, 'line_length', 4, 'blank_length', 4);
    $g->add_axis('location', 'x', 'labels', ['0', '45', '90', '135', '180', '225', '270', '315']);
    $g->add_dataset('color', 'FF0000', 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 0, 'data', [77, 66, 15, 0, 31, 48, 100, 77]);
    $g->add_dataset('color', 'FF9900', 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 0, 'data', [20, 36, 100, 2, 0, 100]);
    $g->add_range_fill('type', 'B', 'color', 'FF000080', 'start_index', 0, 'end_index', 1);
    $g->add_range_fill('type', 'B', 'color', 'FF990080', 'start_index', 1, 'end_index', 1);
    $g->add_marker('type', 'h', 'color', '0000FF', 'point', 1, 'size', 4);
    $g->add_marker('type', 'h', 'color', '3366CC80', 'point', 0.5, 'size', 5);
    $g->add_marker('type', 'V', 'color', '00FF0080', 'point', 1, 'size', 5);
    $g->add_marker('type', 'V', 'color', '008000', 'point', 5.5, 'size', 5);
    $g->add_marker('type', 'v', 'color', '00A000', 'point', 6.5, 'size', 4);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Map', ('size', '440x220'));
    $g->add_dataset('data', [undef]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Map', ('size', '440x220', 'colors', ['ffffff', 'edf0d4', '13390a'], 'codes', ['MG', 'KE', 'TN'], 'area', 'africa', 'encoding', 'Simple'));
    $g->add_solid_fill('type', 'bg', 'color', 'EAF7FE');
    $g->add_dataset('data', ['0', '31', '61']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Map', ('size', '440x220', 'colors', ['f5f5f5', 'edf0d4', '6c9642', '365e24', '13390a'], 'codes', ['NY', 'PA', 'TN', 'WV', 'NV', 'NJ', 'NH', 'VA', 'HI', 'VT', 'NM', 'NC', 'ND', 'NE', 'LA', 'SD', 'DC', 'DE', 'FL', 'WA', 'KS', 'WI', 'OR', 'KY', 'ME', 'OH', 'IA', 'ID', 'CT', 'WY', 'UT', 'IN', 'IL', 'AK', 'TX', 'CO', 'MD', 'MA', 'AL', 'MO', 'MN', 'CA', 'OK', 'MI', 'GA', 'AZ', 'MT', 'MS', 'SC', 'RI', 'AR'], 'area', 'usa', 'encoding', 'Simple'));
    $g->add_solid_fill('type', 'bg', 'color', 'EAF7FE');
    $g->add_dataset('data', ['31', '18', '6', '1', '3', '16', '1', '16', '1', '1', '0', '6', '0', '1', '2', '1', '3', '0', '10', '11', '2', '3', '6', '5', '2', '11', '1', '1', '4', '1', '1', '4', '15', '0', '18', '3', '10', '9', '1', '3', '3', '61', '1', '7', '7', '4', '0', '0', '2', '0', '2']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('GoogleOMeter', ('size', '225x125', 'label', 'Hello'));
    $g->add_dataset('data', [70]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('QRcode', ('size', '150x150', 'qrcode_encoding', 'UTF-8', 'text', 'Hello world'));
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'y', 'labels', [undef, '20K', undef, '60K', undef, '100K']);
    $g->add_axis('location', 'x', 'labels', ['Oct', 'Nov', 'Dec']);
    $g->add_dataset('color', 'ff0000', 'data', ['5', '14', '4', '19', '7', '4', '2', '26', '45']);
    $g->add_dataset('color', '00ff00', 'data', ['37', '36', '35', '45', '31', '55', '26', '44', '47']);
    $g->add_dataset('color', '0000ff', 'data', ['10', '0', '19', '24', '15', '18', '13', '23', '9']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('SparkLine', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('color', 'ff0000', 'data', ['5', '14', '4', '19', '7', '4', '2', '26', '45']);
    $g->add_dataset('color', '0000ff', 'data', ['37', '36', '35', '45', '31', '55', '26', '44', '47']);
    $g->add_dataset('data', ['10', '0', '19', '24', '15', '18', '13', '23', '9']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('stacked', 1, 'orientation', 'horizontal', 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [undef, '20K', undef, '60K', undef, '100K', undef]);
    $g->add_axis('location', 'y', 'labels', ['Dec', 'Nov', 'Oct']);
    $g->add_dataset('color', 'ff0000', 'data', ['5', '14', '4']);
    $g->add_dataset('color', '00ff00', 'data', ['19', '7', '4']);
    $g->add_dataset('color', 'ff0000', 'data', ['1', '26', '43']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('size', '200x125', 'stacked', 1, 'orientation', 'horizontal', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [undef, '20K', undef, '60K', undef, '100K', undef]);
    $g->add_axis('location', 'y', 'labels', ['Dec', 'Nov', 'Oct']);
    $g->add_dataset('color', 'ff0000', 'data', ['5', '14', '4']);
    $g->add_dataset('color', '00ff00', 'data', ['19', '7', '4']);
    $g->add_dataset('color', '0000ff', 'data', ['1', '26', '43']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('size', '200x125', 'orientation', 'horizontal', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [undef, '20K', undef, '60K', undef, '100K', undef]);
    $g->add_axis('location', 'y', 'labels', ['Dec', 'Nov', 'Oct']);
    $g->add_dataset('color', 'ff0000', 'data', ['30']);
    $g->add_dataset('color', '00ff00', 'data', ['37']);
    $g->add_dataset('color', '0000ff', 'data', ['40']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('size', '200x90', 'pie_type', '3d', 'encoding', 'Simple'));
    $g->add_dataset('color', '0000ff', 'data', ['7', '30', '37', '37', '40', '27', '37', '26']);
    $g->add_pie_label('May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Venn', ('size', '200x100'));
    $g->add_dataset('data', ['100', '80', '60', '30', '30', '30', '10']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('GoogleOMeter', ('size', '200x125', 'colors', ['ffffff', 'ff0000']));
    $g->add_dataset('data', [70]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 25, 'y_step_size', 25);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'color', '000000', 'data', ['61', '61']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'color', '000000', 'data', ['28', '30', '31', '33', '35', '36', '42', '48', '43', '37', '32', '24', '28', '31', '32', '28']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'color', '000000', 'data', ['16', '18', '18', '21', '23', '23', '29', '36', '31', '25', '20', '12', '17', '19', '20', '16']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 4, 'blank_segment_length', 0, 'color', '000000', 'data', ['7', '9', '9', '12', '14', '14', '20', '27', '21', '15', '10', '3', '7', '10', '11', '7']);
    $g->add_dataset('color', '000000', 'data', ['0', '0']);
    $g->add_range_fill('color', '76A4FB', 'start_index', 0, 'end_index', 1);
    $g->add_range_fill('color', '224499', 'start_index', 1, 'end_index', 2);
    $g->add_range_fill('color', 'FF0000', 'start_index', 2, 'end_index', 3);
    $g->add_range_fill('color', '80C65A', 'start_index', 3, 'end_index', 4);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['28', '30', '31', '33', '35', '36', '42', '48', '43', '37', '32', '24', '28', '31', '32', '28']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['16', '18', '18', '21', '23', '23', '29', '36', '31', '25', '20', '12', '17', '19', '20', '16']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['7', '9', '9', '12', '14', '14', '20', '27', '21', '15', '10', '3', '7', '10', '11', '7']);
    $g->add_range_fill('type', 'b', 'color', '224499', 'start_index', 0, 'end_index', 1);
    $g->add_range_fill('type', 'b', 'color', 'FF0000', 'start_index', 1, 'end_index', 2);
    $g->add_range_fill('type', 'b', 'color', '80C65A', 'start_index', 2, 'end_index', 3);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('color', '224499', 'data', ['0', '19', '18', '19', '26', '21', '29', '54', '53', '61', '60', '53', '46', '40', '28', '0']);
    $g->add_range_fill('type', 'B', 'color', '76A4FB', 'start_index', 0, 'end_index', 0);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jun', 'July', 'Aug']);
    $g->add_axis('location', 'y', 'labels', [undef, 20, 30, 40, 50]);
    $g->add_dataset('color', 'FF0000', 'line_thickness', 4, 'line_segment_length', 3, 'blank_segment_length', 0, 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '1', '0', '10', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26', '25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '55', '61', '55', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    $g->add_solid_fill('type', 'bg', 'color', 'efefef');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('ScatterPlot', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jun', 'July', 'Aug']);
    $g->add_axis('location', 'y', 'labels', [undef, 20, 30, 40, 50]);
    $g->add_dataset('color', 'FF0000', 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26']);
    $g->add_dataset('data', ['25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    $g->add_solid_fill('type', 'bg', 'color', 'efefef');
    $g->add_solid_fill('type', 'c', 'color', '000000');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('ScatterPlot', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jun', 'July', 'Aug']);
    $g->add_axis('location', 'y', 'labels', [undef, 20, 30, 40, 50]);
    $g->add_dataset('color', 'FF0000', 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26']);
    $g->add_dataset('data', ['25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    $g->add_solid_fill('type', 'bg', 'color', 'efefef20');
    $g->add_solid_fill('type', 'c', 'color', '00000080');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('ScatterPlot', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jun', 'July', 'Aug']);
    $g->add_axis('location', 'y', 'labels', [undef, 20, 30, 40, 50]);
    $g->add_dataset('data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26']);
    $g->add_dataset('data', ['25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    $g->add_solid_fill('type', 'a', 'color', 'efefeff0');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_linear_gradient_fill('type', 'c', 'angle', 0, 'colors', ['76A4FB', 1, 'ffffff', 0]);
    $g->add_solid_fill('type', 'bg', 'color', 'EFEFEF');
    $g->add_dataset('color', '676767', 'line_thickness', 4, 'line_segment_length', 3, 'blank_segment_length', 0, 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '1', '0', '10', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26', '25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '55', '61', '55', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('encoding', 'Simple', 'size', '200x125'));
    $g->add_axis('location', 'x', 'labels', ['1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_linear_gradient_fill('type', 'c', 'angle', 45, 'colors', ['ffffff', 0, '76A4FB', 0.75]);
    $g->add_solid_fill('type', 'bg', 'color', 'EFEFEF');
    $g->add_dataset('color', '676767', 'line_thickness', 4, 'line_segment_length', 3, 'blank_segment_length', 0, 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '1', '0', '10', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26', '25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '55', '61', '55', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('encoding', 'Simple', 'size', '200x125'));
    $g->add_axis('location', 'x', 'labels', ['1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_linear_gradient_fill('type', 'c', 'angle', 90, 'colors', ['76A4FB', 0.5, 'ffffff', 0]);
    $g->add_solid_fill('type', 'bg', 'color', 'EFEFEF');
    $g->add_dataset('color', '676767', 'line_thickness', 4, 'line_segment_length', 3, 'blank_segment_length', 0, 'data', ['41', '42', '40', '36', '30', '24', '14', '13', '14', '12', '4', '1', '0', '10', '15', '14', '16', '21', '19', '23', '25', '29', '30', '28', '26', '25', '28', '32', '37', '41', '43', '42', '49', '46', '46', '49', '55', '61', '55', '51', '45', '41', '40', '40', '39', '36', '30', '32', '32', '35', '41']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 100, 'y_step_size', 25);
    $g->add_axis('location', 'y', 'labels', ['0', '25', '50', '75', '100']);
    $g->add_axis('location', 'x', 'labels', ['Jan', 'Feb', 'Mar', 'Jun', 'Jul', 'Aug']);
    $g->add_dataset('color', '0000FF', 'line_thickness', 2, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['20', '21', '21', '20', '21', '21', '20', '20', '20', '21', '21', '20', '18', '18', '21', '21', '21', '23', '23', '24', '26', '29', '31', '33', '35', '37', '37', '37', '37', '37', '37', '37', '38', '38', '37', '34', '34', '32', '29', '27', '27', '25', '25', '23', '21', '21', '20', '20', '20', '19', '20']);
    $g->add_linear_stripe('type', 'c', 'angle', 0, 'colors', ['CCCCCC', 0.2, 'ffffff', 0.2]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 100, 'y_step_size', 25);
    $g->add_axis('location', 'y', 'labels', ['0', '25', '50', '75', '100']);
    $g->add_axis('location', 'x', 'labels', ['Jan', 'Feb', 'Mar', 'Jun', 'Jul', 'Aug']);
    $g->add_dataset('color', '0000FF', 'line_thickness', 2, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['20', '21', '21', '20', '21', '21', '20', '20', '20', '21', '21', '20', '18', '18', '21', '21', '21', '23', '23', '24', '26', '29', '31', '33', '35', '37', '37', '37', '37', '37', '37', '37', '38', '38', '37', '34', '34', '32', '29', '27', '27', '25', '25', '23', '21', '21', '20', '20', '20', '19', '20']);
    $g->add_linear_stripe('type', 'c', 'angle', 90, 'colors', [999999, 0.25, 'CCCCCC', 0.25, 'ffffff', 0.25]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'stacked', 1, 'size', '180x150', 'encoding', 'Simple', 'title', 'Site'));
    $g->add_dataset('color', '0000FF', 'data', ['24', '20', '21', '38', '48', '53']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('SparkLine', ('size', '250x150'));
    $g->add_dataset('color', 'ff0000', 'legend', 'NASDAQ', 'data', [0, 30, 60, 70, 90, 95, 100]);
    $g->add_dataset('color', '00ff00', 'legend', 'FTSE100', 'data', [20, 30, 40, 50, 60, 70, 80]);
    $g->add_dataset('color', '0000ff', 'legend', 'DOW', 'data', [10, 30, 40, 45, 52]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Venn', ('size', '200x100', 'legend', ['First', 'Second', 'Third'], 'colors', ['ff0000', '00ff00', '0000ff']));
    $g->add_dataset('data', [100, 20, 20, 20, 20, 0, 0]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Venn', ('size', '200x100', 'legend_position', 'l', 'legend', ['First', 'Second', 'Third'], 'colors', ['ff0000', '00ff00', '0000ff']));
    $g->add_dataset('data', [100, 20, 20, 20, 20, 0, 0]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('size', '220x100', 'pie_type', '3d'));
    $g->add_dataset('data', ['7', '30', '37', '37', '40', '27']);
    $g->add_pie_label('May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('size', '220x100', 'pie_type', '3d'));
    $g->add_dataset('data', ['7', '30', '37', '37', '40', '27']);
    $g->add_pie_label('May', 'June', 'July', 'August', 'September', 'October');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Pie', ('size', '280x100', 'pie_type', '3d'));
    $g->add_dataset('data', ['7', '30', '37', '37', '40', '27']);
    $g->add_pie_label('May', 'June', 'July', 'August', 'September', 'October');
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('GoogleOMeter', ('size', '225x125', 'label', 'Hello'));
    $g->add_dataset('data', [70]);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x');
    $g->add_axis('location', 'y');
    $g->add_axis('location', 'r');
    $g->add_axis('location', 'x');
    $g->add_axis('location', 't');
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x');
    $g->add_axis('location', 'y');
    $g->add_axis('location', 'r');
    $g->add_axis('location', 'x');
    $g->add_axis('location', 't');
    $g->add_dataset('color', '76A4FB', 'data', ['28', '11', '9', '7', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'stacked', 1, 'size', '200x200', 'encoding', 'Simple'));
    $g->add_axis('location', 'x');
    $g->add_axis('location', 'y');
    $g->add_axis('location', 'r');
    $g->add_axis('location', 'x');
    $g->add_axis('location', 't');
    $g->add_dataset('color', '76A4FB', 'data', ['28', '11', '9', '7', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jan', 'July', 'Jan', 'July', 'Jan']);
    $g->add_axis('location', 'y', 'labels', ['0', '100']);
    $g->add_axis('location', 'r', 'labels', ['A', 'B', 'C']);
    $g->add_axis('location', 'x', 'labels', ['2005', '2006', '2007']);
    $g->add_dataset('line_thickness', 2, 'color', '76A4FB', 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jan', 'July', 'Jan', 'July', 'Jan']);
    $g->add_axis('location', 'y', 'labels', ['0', '100']);
    $g->add_axis('location', 'r', 'labels', ['A', 'B', 'C']);
    $g->add_axis('location', 'x', 'labels', ['2005', '2005', '2006', '2006', '2007']);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '61', '46', '3', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jan', 'July', 'Jan', 'July', 'Jan']);
    $g->add_axis('location', 'y');
    $g->add_axis('location', 'r', 'labels', ['A', 'B', 'C']);
    $g->add_axis('location', 'x', 'labels', ['2005', '2006', '2007']);
    $g->add_dataset('line_thickness', 2, 'color', '76A4FB', 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['Jan', 'July', 'Jan', 'July', 'Jan']);
    $g->add_axis('location', 'y');
    $g->add_axis('location', 'r', 'labels', ['A', 'B', 'C']);
    $g->add_axis('location', 'x', 'labels', ['2005', '2005', '2006', '2006', '2007']);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '61', '46', '3', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x');
    $g->add_axis('location', 'y', 'labels', ['min', 'average', 'max'], 'label_positions', [10, 35, 75]);
    $g->add_axis('location', 'r', 'range', [0, 4], 'label_positions', [0, 1, 2, 4]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('vertical', 1, 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'label_positions', [10, 35, 75]);
    $g->add_axis('location', 'y', 'labels', ['min', 'average', 'max'], 'label_positions', [10, 35, 75]);
    $g->add_axis('location', 'r', 'range', [0, 4], 'label_positions', [0, 1, 2, 4]);
    $g->add_axis('location', 'x', 'range', [0, 4], 'label_positions', [0, 1, 2, 4]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '61', '46', '3', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'range', [100, 500]);
    $g->add_axis('location', 'y', 'range', [0, 200]);
    $g->add_axis('location', 'r', 'range', [1000, 0]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('vertical', 1, 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'range', [100, 500]);
    $g->add_axis('location', 'y', 'range', [0, 200]);
    $g->add_axis('location', 'r', 'range', [1000, 0]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '61', '46', '3', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [200, 300, 400], 'label_positions', [200, 300, 400], 'range', [100, 500]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('vertical', 1, 'stacked', 1, 'size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [200, 300, 400], 'label_positions', [200, 300, 400], 'range', [100, 500]);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '61', '46', '3', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '220x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x');
    $g->add_axis('location', 'y', 'labels', ['min', 'average', 'max'], 'label_positions', [10, 35, 75]);
    $g->add_axis('location', 'r', 'range', [0, 4]);
    $g->add_axis('location', 'x', 'labels', ['Jan', 'Feb', 'Mar'], 'color', '0000dd', 'font_size', 12);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '220x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', ['1st', '15th', '1st', '15th', '1st'], 'color', '0000dd', 'font_size', 10);
    $g->add_axis('location', 'x', 'labels', [undef, ('Feb', 'Mar'), undef], 'color', '0000dd', 'font_size', 12);
    $g->add_dataset('color', '76A4FB', 'line_thickness', 2, 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125', 'bar_width', 10, 'encoding', 'Simple'));
    $g->add_dataset('color', 'cc0000', 'data', ['30', '37', '32']);
    $g->add_dataset('color', '00aa00', 'data', ['40', '43', '44']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125', 'bar_width', 10, 'bar_space', 5, 'group_space', 15, 'encoding', 'Simple'));
    $g->add_dataset('color', 'cc0000', 'data', ['30', '37', '32']);
    $g->add_dataset('color', '00aa00', 'data', ['40', '43', '44']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125', 'bar_width', 10, 'bar_space', 8, 'encoding', 'Simple'));
    $g->add_dataset('color', 'cc0000', 'data', ['30', '37', '32']);
    $g->add_dataset('color', '00aa00', 'data', ['40', '43', '44']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125', 'bar_width', 10, 'bar_space', 15, 'encoding', 'Simple'));
    $g->add_dataset('color', 'cc0000', 'data', ['30', '37', '32']);
    $g->add_dataset('color', '00aa00', 'data', ['40', '43', '44']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'bar_zero', 0.5, 'size', '200x125'));
    $g->add_dataset('color', 'cc0000', 'data', ['20', '35', '50', '10', '95']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'size', '200x125'));
    $g->add_dataset('color', 'cc0000', 'data', [30, -60, 50, 120, 80], 'min_value', -80, 'max_value', 140);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('line_thickness', 3, 'line_segment_length', 6, 'blank_segment_length', 3, 'data', ['61', '55', '51', '50', '47', '39', '30', '19', '19', '14', '12', '9', '12', '11', '8', '9', '5', '7', '4', '0', '4', '2', '5', '9', '6', '7', '3', '1', '5', '2', '5', '8', '4', '17', '28', '32', '39', '41', '50', '56', '57', '60', '59', '61']);
    $g->add_dataset('line_thickness', 1, 'line_segment_length', 1, 'blank_segment_length', 0, 'data', ['8', '9', '10', '13', '20', '22', '20', '22', '24', '29', '39', '44', '48', '51', '52', '56', '59', '61', '59', '59', '55', '53', '57', '57', '55', '55', '51', '50', '53', '54', '56', '58', '60', '59', '54', '45', '39', '36', '32', '28', '26', '25', '16', '14', '13', '7', '2', '4', '2', '0', '0', '0', '0', '4', '8', '8']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'vertical', 'bar_width', 5, 'bar_space', 2, 'size', '200x150', 'encoding', 'Simple'));
    $g->add_range_fill('type', 'B', 'color', 'C6D9FD', 'start_index', 0, 'end_index', 0);
    $g->add_dataset('color', '4D89F9', 'size', 5, 'priority', 0, 'data', ['53', '23', '16', '27', '39', '31', '56']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('SparkLine', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('data', ['31', '40', '30', '25', '61', '6', '26', '45']);
    $g->add_dataset('data', ['37', '36', '35', '45', '31', '55', '26', '44', '47']);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 20, 'y_step_size', 50);
    $g->add_axis('location', 'x', 'labels', ['0', '1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_dataset('color', '76A4FB', 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28'], 'line_thickness', 2, 'line_segment_length', 0, 'blank_segment_length', 0);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 20, 'y_step_size', 50, 'line_length', 1, 'blank_length', 5);
    $g->add_axis('location', 'x', 'labels', ['0', '1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_dataset('color', '76A4FB', 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28'], 'line_thickness', 2, 'line_segment_length', 0, 'blank_segment_length', 0);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 20, 'y_step_size', 50, 'line_length', 1, 'blank_length', 0);
    $g->add_axis('location', 'x', 'labels', ['0', '1', '2', '3', '4', '5']);
    $g->add_axis('location', 'y', 'labels', ['0', '50', '100']);
    $g->add_dataset('color', '76A4FB', 'data', ['28', '4', '0', '4', '11', '5', '9', '7', '7', '7', '10', '20', '35', '46', '61', '46', '46', '23', '20', '28'], 'line_thickness', 2, 'line_segment_length', 0, 'blank_segment_length', 0);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_axis('location', 'x', 'labels', [undef, ('c', 'd', 'a', 'o', 'x', 'v', 'V', 'x'), undef]);
    $g->add_dataset('color', '008000', 'data', ['61', '32', '40', '46', '39', '35', '42', '6', '9', '3'], 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 1);
    $g->add_marker('type', 'a', 'color', '990066', 'point', 3, 'size', 9);
    $g->add_marker('type', 'c', 'color', 'FF0000', 'point', 1, 'size', 20);
    $g->add_marker('type', 'd', 'color', '80C65A', 'point', 2, 'size', 20);
    $g->add_marker('type', 'o', 'color', 'FF9900', 'point', 4, 'size', 20);
    $g->add_marker('type', 's', 'color', '3399CC', 'point', 5, 'size', 10);
    $g->add_marker('type', 'v', 'color', 'BBCCED', 'point', 6, 'size', 1);
    $g->add_marker('type', 'V', 'color', '3399CC', 'point', 7, 'size', 1);
    $g->add_marker('type', 'x', 'color', 'FFCC33', 'point', 8, 'size', 20);
    $g->add_marker('type', 'h', 'color', '000000', 'point', 0.3, 'size', 0.5);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('ScatterPlot', ('size', '200x125', 'encoding', 'Simple'));
    $g->set_grid('x_step_size', 20, 'y_step_size', 25);
    $g->add_axis('location', 'x', 'labels', [undef, 1, 2, 3, 4, 5]);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('data', ['61', '60', '56', '44', '45', '45', '47', '46', '47', '36', '16', '8', '1', '11', '10', '13', '2', '0', '8', '34', '41', '43', '55', '51', '61']);
    $g->add_dataset('data', [('3', '4', '9', '15', '32', '42', '52', '46', '40', '47', '53', '59'), undef, ('51', '48', '40', '41', '16', '14', '3')]);
    $g->add_marker('dataset_index', 1, 'type', 's', 'color', 'FF0000', 'point', 1, 'size', 10);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_dataset('data', ['7', '30', '37', '37', '40']);
    $g->add_dataset('data', ['53', '40', '37', '43', '29']);
    $g->add_marker('dataset_index', 0, 'type', 'o', 'color', 'ff9900', 'point', -1, 'size', 10);
    $g->add_marker('dataset_index', 1, 'type', 'd', 'color', 'ff9900', 'point', -1, 'size', 10);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Bar', ('orientation', 'horizontal', 'size', '200x125'));
    $g->add_dataset('color', 'FF9900', 'data', ['40', '60']);
    $g->add_dataset('color', 'FFCC33', 'data', ['50', '30']);
    $g->add_marker('dataset_index', 0, 'type', 'tApril mobile hits', 'color', '000000', 'size', 13, 'point', 0);
    $g->add_marker('dataset_index', 1, 'type', 'tApril desktop hits', 'color', '000000', 'size', 13, 'point', 0);
    $g->add_marker('dataset_index', 0, 'type', 'tMay mobile hits', 'color', '000000', 'size', 13, 'point', 1, 'priority', -1);
    $g->add_marker('dataset_index', 1, 'type', 'tMay desktop hits', 'color', '000000', 'size', 13, 'point', 1);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_range_marker('orientation', 'horizontal', 'color', 'E5ECF9', 'start', 0.75, 'end', 0.25);
    $g->add_range_marker('orientation', 'horizontal', 'color', '000000', 'start', 0.1, 'end', 0.11);
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('color', '008000', 'data', ['61', '32', '40', '46', '39', '35', '42', '6', '9', '3'], 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 1);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_range_marker('orientation', 'vertical', 'color', 'ff0000', 'start', 0.1, 'end', 0.11);
    $g->add_range_marker('orientation', 'vertical', 'color', 'A0BAE9', 'start', 0.75, 'end', 0.25);
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('color', '008000', 'data', ['61', '32', '40', '46', '39', '35', '42', '6', '9', '3'], 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 1);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('Line', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_range_marker('orientation', 'vertical', 'color', 'ff0000', 'start', 0.1, 'end', 0.11);
    $g->add_range_marker('orientation', 'vertical', 'color', 'A0BAE9', 'start', 0.75, 'end', 0.25);
    $g->add_range_marker('orientation', 'horizontal', 'color', 'E5ECf9', 'start', 0.75, 'end', 0.25);
    $g->add_range_marker('orientation', 'horizontal', 'color', '000000', 'start', 0.1, 'end', 0.11);
    $g->add_axis('location', 'x', 'labels', ['Sep', 'Oct', 'Nov', 'Dec']);
    $g->add_axis('location', 'y', 'labels', [undef, 50, 100]);
    $g->add_dataset('color', '008000', 'data', ['61', '32', '40', '46', '39', '35', '42', '6', '9', '3'], 'line_thickness', 2, 'line_segment_length', 4, 'blank_segment_length', 1);
    return $g;
};
From the Manual Generated
sub {
    my $g = Google::Chart->create('SparkLine', ('size', '200x125', 'encoding', 'Simple'));
    $g->add_range_marker('orientation', 'horizontal', 'color', '000000', 'start', 0, 'end', 0.002);
    $g->add_range_marker('orientation', 'horizontal', 'color', '000000', 'start', 0.499, 'end', 0.501);
    $g->add_range_marker('orientation', 'horizontal', 'color', '000000', 'start', 0.998, 'end', 1);
    $g->add_axis('location', 'r', 'labels', ['0', '5', '10']);
    $g->add_dataset('data', ['7', '4', '37', '40', '48', '40', '43', '44', '53']);
    return $g;
};