Hi,

I've narrowed it down. The control is created within a DIV that is used as 
a custom Google Maps control. In that case the control is not drawn 
correctly at first (both thumbs are at the minimum value). When I query the 
state, however, the returned values are as expected. Also, when the control 
is re-drawn later by an interval timer callback, it is drawn correctly.

When I create the control outside the map, i.e. as child of a DIV that is 
not used as a maps control, it is drawn correcly immediately.


Am Freitag, 10. März 2017 16:30:52 UTC+1 schrieb perspektive42:
>
> Hi,
>
> This code is not yet on a public server.
>
> I've extracted the relevant parts to jsfiddle, and it works there: 
> https://jsfiddle.net/jp8065en/1/
>
> I have to find where the difference is compared to my development machine. 
> I also dynamically change the state (code not on jsfiddle), and calling 
> draw() with the new state yields the expected result. It's only the first 
> draw() that doesn't work. Strange.
>
>

-- 
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/94542ffd-017c-4318-a809-c7809923a558%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [visualization-api] Using ... 'perspektive42' via Google Visualization API
    • Re: [visualization-ap... 'Daniel LaLiberte' via Google Visualization API
      • Re: [visualizatio... 'perspektive42' via Google Visualization API
        • Re: [visualiz... 'Daniel LaLiberte' via Google Visualization API
          • Re: [visu... 'perspektive42' via Google Visualization API
            • Re: ... 'Daniel LaLiberte' via Google Visualization API
              • ... 'perspektive42' via Google Visualization API
                • ... 'Daniel LaLiberte' via Google Visualization API
                • ... 'perspektive42' via Google Visualization API
                • ... 'perspektive42' via Google Visualization API
                • ... 'Daniel LaLiberte' via Google Visualization API
                • ... 'perspektive42' via Google Visualization API
                • ... 'Daniel LaLiberte' via Google Visualization API

Reply via email to