Until we have a way of measuring text even when it is not visible, you'll
have to arrange to draw the chart only when it is visible.  You can either
defer drawing until the chart is first displayed, or you may find it easier
to temporarily make each chart container visible as it is drawn the first
time.  Hope that helps.

On Sun, Mar 19, 2017 at 9:35 PM, Keny <[email protected]> wrote:

> Thanks Daniel,what action would you recommend to take in this case?
>
> Daniel LaLiberte於 2017年3月17日星期五 UTC+8下午8時52分32秒寫道:
>>
>> If you are rendering the chart when it is not visible, then the chart
>> doesn't correctly calculate the size of text, so for the PieChart, it
>> appears offset.  That looks like the cause of the problem here.
>>
>> On Fri, Mar 17, 2017 at 5:08 AM, Keny <[email protected]> wrote:
>>
>>> Hello All,
>>>
>>> I tried hard to figure out the ans but I didn't quite get my problems
>>> solved.
>>> How to fix the misaligned figures in the chosen charts in the drop list?
>>> https://codepad.remoteinterview.io/FSDZOWRIKT
>>> Many Thanks.
>>>
>>> --
>>> 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/grou
>>> p/google-visualization-api.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/google-visualization-api/f48baf65-b0f6-4e04-8ee1-b2322d
>>> a20f8d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/f48baf65-b0f6-4e04-8ee1-b2322da20f8d%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]   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 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/e726655a-ff70-4609-9280-
> 1654fbc8b6af%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/e726655a-ff70-4609-9280-1654fbc8b6af%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/CAOtcSJPKQfTCMShUjKS6D8K8F8GNs5HqwgZkGsQW2TCuTuhcGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to