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 2021/02/15 10:59:52 UTC

[GitHub] [superset] jcalhinho commented on issue #7174: Deck.gl Issues

jcalhinho commented on issue #7174:
URL: https://github.com/apache/superset/issues/7174#issuecomment-779142657


    "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?"
   
   
   Don't forget to put your name column in "extra data js" field.


----------------------------------------------------------------
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



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