You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/04/11 03:41:50 UTC

[GitHub] [incubator-superset] omejiasq commented on issue #7174: Deck.gl Issues

omejiasq commented on issue #7174: Deck.gl Issues
URL: https://github.com/apache/incubator-superset/issues/7174#issuecomment-612315291
 
 
   I im trying to use this code for to get one column of my table called city, but i get one error:
   function updateTooltip(object) {
      return ("Test Tooltip: " + object.object[0].extraProps.city);
   }
   I get this error: Cannot read property 'extraProps' of undefined
   I try to print only this object.object.points[0] but i get this error: Uncaught TypeError: Cannot read property '0' of undefined
   
   And finally i print in console object.object and i can to see one objec with values like : radius: 17841.241161527712 and others but i can't to see the values from my database table like city. How i can to get this field "city" in my javascript tooltip generator of this deck.gl Scatterplot chart? 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org