Hi,
i want to breakup the line in geochart tooltip but it always
displays in the single (like in the Attachment file), after i am inserting
'\n' character in the tooltip string also.
My Code:
{
type: 'string',
label: valueColumn, // (get the column from user)
role: 'tooltip',
calc: function (dt, row) {
var combineColumn = "";
for (var i = 2; i <= aTooltip.length; i++) {
var combineColumn = combineColumn + aTooltip[i - 1] + " "
+ dt.getFormattedValue(row, i) + ',';
}
combineColumn = combineColumn.substring(0,
combineColumn.length - 1);
combineColumn = valueColumn + ":\n" +
dt.getFormattedValue(row, 1) + "(\n" + combineColumn + ")";
return combineColumn;
}
Thanks & Regards,
Sivakumar
--
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/groups/opt_out.
<<attachment: Map ToolTip.png>>
