dosubot[bot] commented on issue #36779: URL: https://github.com/apache/superset/issues/36779#issuecomment-3678696485
<!-- Answer --> No, Superset does not show tooltip text just because a field is named "tooltip_text". The tooltip content in deck.gl polygon charts is determined by the fields you select in the chart configurationātypically the "name" field, the metric, and the line column. Any field you include in your dataset and select in the chart setup can appear in the tooltip; the field name itself does not matter or have any special meaning. If you want to display a custom-formatted value, you can create a new field (with any name) in your dataset and select it in the chart configuration, and Superset will show its value in the tooltip just like any other field. [Reference: deck.gl Polygon tooltip logic](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Polygon/Polygon.tsx#L63-L158) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c4d0e5d6-cfb8-402a-9e2e-07fc405147b8?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=No%2C%20Superset%20does%20not%20show%20tooltip%20text%20just%20because%20a%20field%20is%20named%20%22tooltip_text%22.%20The%20tooltip%20content%20in%20deck.gl%20polygon%20charts%20is%20determined%20by%20the%20fields%20you%20select%20in%20the%20chart%20configuration%E2%80%94typically%20the%20%22name%22%20field%2C%20the%20metric%2C%20and%20the%20line%20column.%20Any%20field%20you%20include%20in%20your%20dataset%20and%20select%20in%20the%20chart%20setup%20can%20appear%20in%20the%20tooltip%3B%20the%20field%20name%20itself%20does%20not%20matter%20or%20have%20any%20special%20meaning.%20If%20you%20want%20to%20display%20a%20custom-formatted%20value%2C%20you%20can%20create%20a%20new%20field%20%28with%20any%20name%29%20in%20your%20dataset%20and%20select%20it %20in%20the%20chart%20configuration%2C%20and%20Superset%20will%20show%20its%20value%20in%20the%20tooltip%20just%20like%20any%20other%20field.%20%20%0A%5BReference%3A%20deck.gl%20Polygon%20tooltip%20logic%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Polygon/Polygon.tsx%23L63-L158%29) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36779) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
