Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Personalization of superset mapbox tooltips

According to superset pull request it's possible to personalize the tooltip for geographic data using some JavaScript.

enter image description here

I've tried many things to get my point data to the tooltip, yet none of them work.

Where does Superset store the extra JS parameters?

The object.props.OwnData referenced in this PR does not work https://github.com/apache/incubator-superset/pull/4173

I've no idea where my extra parameters go into the JavaScript environment.

like image 862
airliquide Avatar asked Nov 24 '25 04:11

airliquide


1 Answers

d => `test: ${d.object.extraProps.occupancy}` works for me

like image 91
Eduardo Denis Avatar answered Nov 25 '25 18:11

Eduardo Denis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!