Sean, If you changed the value of each cell with setValue, then it would seem reasonable to expect the formatted value to be cleared. That is not done, however. This might be considered a bug, but fixing it could potentially affect applications that depend on the current behavior. Perhaps someone has preset the formatted value of everything to some default string, with the intention of later setting values and formatted values for only some of the rows.
We should document the behavior, however, so it is clear. On Sat, Feb 3, 2018 at 1:40 PM, Sean Larson <[email protected]> wrote: > It was due to a formatter I applied to the dataTable before calling the > dashboard > > The function I was testing cycles the dashboard between the raw values, % > of total, and proportional %. It starts as '% of total' so I applied a > formatter with pattern "###%" to the columns then when I changed the data I > did not reapply or change the formatter, so the table remained "frozen". > > It is kind of strange that the table did not try to force the values into > the format and display some strange output, and instead just froze the > original value. I guess it encountered a format error and became > disconnected? > > -- > 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 google-visualization-api@ > 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/570651cc-a13d-497b-9c2f- > b44a7d1a17e0%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/570651cc-a13d-497b-9c2f-b44a7d1a17e0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- 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 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/CAOtcSJMWdXcLjWCxUbfy9kkq_W1xvWagBiyr4gFLARWv9449og%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
