I want to make dotplot like http://www.bmj.com/statsbk/fig1_3.gif .
I tried to use scatterchart in Google Visualization API. But it
couldn't display letters on x-axis.
Do you know the way to create dotplot by using Google Visualization
API?

Sample data is below.

var dt = new google.visualization.DataTable(
{
  cols: [{id: 'sex', label: 'Sex', type: 'string'},
         {id: 'weight', label: 'Wetight', type: 'number'}
        ],
  rows: [{c:[{v: 'male'}, {v: 55}]},{c:[{v: 'male'}, {v: 59}]},{c:[{v:
'male'}, {v: 66}]},{c:[{v: 'male'}, {v: 70}]},
          {c:[{v: 'female'}, {v: 45}]},{c:[{v: 'male'}, {v: 49}]},{c:
[{v: 'male'}, {v: 46}]},{c:[{v: 'male'}, {v: 50}]}
        ]
}

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.


Reply via email to