Im having a problem with getting all of my custom tool tips with a scatter
chart that has 2 series of data.
I can see the custom tool tip for the Sales Series, but the quote tool tip
reverts to the basic tool tip not the custom one.
Below is my code snippet that you can run it in the visualization
playground. Any help will be most appreciated.
function drawVisualization() {
// Create and populate the data table.
var data = new google.visualization.DataTable();
data.addColumn('number', 'Quantity');
data.addColumn('number', 'Quotes');
data.addColumn('number', 'Sales');
data.addColumn({type: 'string', role: 'tooltip'});
data.addRow([1, 4, null, 'Quote Special Tool Tip 1/4']);
data.addRow([3, 7, null, 'Quote Special Tool Tip 3/7']);
data.addRow([9, 11, null, 'Quote Special Tool Tip 9/11']);
data.addRow([5, null, 8, 'Sales Special Tool Tip 5/8']);
data.addRow([15, null, 21, 'Sales Special Tool Tip 15/21']);
data.addRow([3, null, 11, 'Sales Special Tool Tip 3/11']);
// Create and draw the visualization.
var chart = new google.visualization.ScatterChart(
document.getElementById('visualization'));
chart.draw(data, {title: 'Cool shapes',
width: 600, height: 400,
vAxis: {title: "Y", titleTextStyle: {color: "green"}},
hAxis: {title: "X", titleTextStyle: {color: "green"}}}
);
}
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.