If I understand what you want correctly, this may be the solution:
var dateFormatter = new google.visualization.DateFormat({pattern: 'dd
MMM'});
var view = new google.visualization.DataView(data);
view.setColumns([{
type: 'string',
label: data.getColumnLabel(0),
calc: function (dt, row) {
return dateFormatter.formatValue(dt.getValue(row, 0));
}
}, 1]);
On Monday, March 10, 2014 12:20:38 PM UTC-4, Missy wrote:
>
> Hello,
>
> Thank you so much for clarifying that up. I would like to ask for little
> favor, if possible is their any example (jsfiddle) available, which i can
> use as framework to get started on, especially with the following task;
> *DataView -- "where you set your columns to the same columns, except use a
> calculated column to replace the first column"*
>
> I really appreciate your support and time. Many thanks
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.