Right. Or to put it differently, the legend assigns text description to
colors. But there's no color difference among the companies, in the data
table to gave, so there's no meaning to making them the legend.

What you probably want to is to change your data table:
data.addColumn('number', 'cash');
data.addColumn('number', 'company 1','');
data.addColumn('number', 'company 2','');

Take a look at the
playground<http://code.google.com/apis/ajax/playground/?type=visualization#scatter_chart>
.

On Tue, Aug 31, 2010 at 7:39 PM, Lucas <[email protected]> wrote:

> I think that it's not possible... your legend is about the data that's
> been shown on the chart, in this case, cash and people.
>
> On 31 ago, 10:05, lol <[email protected]> wrote:
> >  data.addColumn('string', 'company_name');
> >  data.addColumn('number', 'cash','');
> >  data.addColumn('number', 'people','');
> >
> > I want to company_name be my scatter chart's legend
> >
> > How can I do?
> >
> > It takes me lots of time to solve this question T.T
> >
> > thank u
>
> --
> 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.

Reply via email to