Curt Christianson
2016-08-19 16:40:34 UTC
I've added the column to the data:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Task ID');
data.addColumn('string', 'Task Name');
data.addColumn('string', 'Resource');
data.addColumn('date', 'Start Date');
data.addColumn('date', 'End Date');
data.addColumn('number', 'Duration');
data.addColumn('number', 'Percent Complete');
data.addColumn('string', 'Dependencies');
* data.addColumn({type: 'string', role: 'tooltip'});*
I've added the extra data in the data.addRows([
['1', 'Title here', "Res", new Date(2016, 7, 2), new Date(2016, 10, 2),
0, 100, null, 'tooltip here']
]);
I've added it to the options:
var options = {
*tooltip: {isHtml: true)*
};
But I can't get anything but the default tooltip. I would like to remove
existing items from the tooltip and add custom items. What am I missing?
var data = new google.visualization.DataTable();
data.addColumn('string', 'Task ID');
data.addColumn('string', 'Task Name');
data.addColumn('string', 'Resource');
data.addColumn('date', 'Start Date');
data.addColumn('date', 'End Date');
data.addColumn('number', 'Duration');
data.addColumn('number', 'Percent Complete');
data.addColumn('string', 'Dependencies');
* data.addColumn({type: 'string', role: 'tooltip'});*
I've added the extra data in the data.addRows([
['1', 'Title here', "Res", new Date(2016, 7, 2), new Date(2016, 10, 2),
0, 100, null, 'tooltip here']
]);
I've added it to the options:
var options = {
*tooltip: {isHtml: true)*
};
But I can't get anything but the default tooltip. I would like to remove
existing items from the tooltip and add custom items. What am I missing?
--
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 google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/1197464a-5202-41bd-9aff-4b62446f2821%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 google-visualization-api+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/1197464a-5202-41bd-9aff-4b62446f2821%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.