Re: [visualization-api] ChartWrapper using 'table' in dashboard does not refresh

2018-02-03 Thread 'Daniel LaLiberte' via Google Visualization API
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 
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 google-visualization-api+unsubscr...@googlegroups.com.
> 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
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte 
dlalibe...@google.com    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 google-visualization-api+unsubscr...@googlegroups.com.
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/CAOtcSJMWdXcLjWCxUbfy9kkq_W1xvWagBiyr4gFLARWv9449og%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] ChartWrapper using 'table' in dashboard does not refresh

2018-02-03 Thread Sean Larson
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 google-visualization-api+unsubscr...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] ChartWrapper using 'table' in dashboard does not refresh

2018-02-02 Thread Sean Larson
I have not posed my project on my website yet, maybe I can try to replicate 
in a codepen or similar...will post if I can do that.

Anyways, it is good to verify it should be doing this, I will spend some 
more time with it.

-- 
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+unsubscr...@googlegroups.com.
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/ee1ca31f-a3e0-4ba6-9bd1-11eae9584cb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] ChartWrapper using 'table' in dashboard does not refresh

2018-02-02 Thread 'Daniel LaLiberte' via Google Visualization API
I believe the Table chart ought to be getting redrawn as well, each time
you redraw the dashboard.  Can you point us at your web page so we can see
what is happening?

On Fri, Feb 2, 2018 at 2:43 PM, Sean Larson 
wrote:

> Hello,
>
> I have a ColumnChart and TableChart in a dashboard using the 'view'
> option. I can change the value of some records in the dataTable or some
> chart options then redraw the chart or redraw the dashboard, but the table
> will never update to reflect changes.
>
> Is this working as intended?
>
> --
> 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+unsubscr...@googlegroups.com.
> 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/6496f730-6681-4e1f-8fea-
> fd6f61146dda%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte 
dlalibe...@google.com    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 google-visualization-api+unsubscr...@googlegroups.com.
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/CAOtcSJMT%2BfE2RaAgU8%2BQQ0XzqwnFSS6UyOA0UfGaCKJ_kfWWzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.