*Likely resolved*: Adding a 500ms delay to the jQuery that moves the charts 
to their intended tab after drawn using a `setTimeout()` seems to have done 
the trick. There is probably something asynchronous still going on between 
calling `draw()` on the charts and the main JS wanting to move them to 
their intended tab.

Thanks for suggesting an avenue for me to explore Daniel. :)

On Thursday, 12 October 2017 12:27:49 UTC+1, Adam Reece wrote:
>
> Interestingly the pie charts in question are on different tabs (Bootstrap).
>
> However to fix a different issue what we do is render them on the first 
> visible tab, then once all charts have finished rendering they are shifted 
> onto their intended tabs. I'll have a play around with this, but shifting 
> the chart after it has completed rendering shouldn't cause this?
>
> On Tuesday, 10 October 2017 16:06:33 UTC+1, Daniel LaLiberte wrote:
>>
>> The issue is most likely that the text size is effectively zero because 
>> you are drawing the chart when it is not yet displayed.  That's why it 
>> appears to be left aligned rather than centered.
>>
>> The workaround is to arrange that you only draw the chart when it is 
>> displayed.
>>
>> On Tue, Oct 10, 2017 at 7:22 AM, Adam Reece <ad...@webboxdigital.co.uk> 
>> wrote:
>>
>>> I forgot to mention -- Changing the donut size down does not impact the 
>>> label position, even if the donut mode is disabled completely.
>>>
>>> -- 
>>> 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-visua...@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/deef5020-9389-443b-9013-57ae13227d6b%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-visualization-api/deef5020-9389-443b-9013-57ae13227d6b%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>
>> dlali...@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/7dc959b1-a8c3-4cce-a82a-052b6e09c5b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to