What details from the example do you want to see in your chart?
On Mon, Nov 29, 2010 at 1:58 PM, oscuros <[email protected]> wrote:
> I have this code.
>
> function drawVisualization() {
> // Create and populate the data table.
> var data = new google.visualization.DataTable();
> data.addColumn('string', 'x');
> data.addColumn('number', '%');
> data.addRow(["Gen", 1]);
> data.addRow(["Feb", 2]);
> data.addRow(["Mar", 4]);
> data.addRow(["Abr", 8]);
> data.addRow(["May", 7]);
> data.addRow(["Jun", 7]);
> data.addRow(["Jul", 8]);
> data.addRow(["Ago", 4]);
> data.addRow(["A", 2]);
> data.addRow(["S", 3.5]);
> data.addRow(["O", 3]);
> data.addRow(["N", 3.5]);
> data.addRow(["D", 1]);
>
> // Create and draw the visualization.
> new
> google.visualization.LineChart(document.getElementById('visualization')).
> draw(data, {curveType: "none",
> width: 405,
> height: 240,
> legend: 'none',
> colors:['red'],
> tooltipTextStyle: {fontSize: 12, showTextEvery: 1},
> hAxis: {fontSize: '8', maxAlternation: 1,
> slantedText: false},
> pointSize: 7,
> vAxis: {maxValue: 10}
> }
> );
> }
>
> How would the code be for get a chart like the picture?
> Thanks.
>
> --
> 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]<google-visualization-api%[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.