Skip to content

Advanced tooltip customization  #3190

@sfc-gh-cheliu

Description

@sfc-gh-cheliu

Hi there,

I want to contribute to the altair repo such that I can achieve:

  1. Filter out/hide null/nan values in tooltip
  2. Sort the values in tooltip

Not sure whether this is the feasible approach, but I think if alt.Chart can be built based on a dictionary, then I somehow sort and filter out some keys/values. Could you please give me some pointers where I can start?

Thanks


Please follow these steps to make it more efficient to respond to your feature request.

  • Since Altair is a Python wrapper around the Vega-Lite visualization grammar, most feature requests should be reported directly to Vega-Lite. You can click the Action Button of your Altair chart and "Open in Vega Editor" to create a reproducible Vega-Lite example.
  • Search for duplicate issues.
  • Describe the feature's goal, motivating use cases, and its expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions