I'm formatting an table column to 2 decimal places:
var formatter = new google.visualization.NumberFormat({fractionDigits: 2});
formatter.format(data, 7);
The problem:
In that column, last few cells are containing *strings*, and after the
formatting they are replaced with: "*NaN.aN*"
Is there way to format the column but preserve the strings?
(tip: if column with all strings is equally formatted, then it is all
preserved - no NaN appears there.)
--
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.