Skip to content

Scatter Plot doesn't honor data label format #4291

@susodapop

Description

@susodapop

Issue Summary

The Chart visualization type can be configured to use specific data label formatting. It works for Line and Bar charts, but the scatter plot ignores the format rule. Here's an example where the data label format code is 0.0.

When it Works

line

When it Doesn't

scatter

Steps to Reproduce

  1. Make a scatter plot from this query: SELECT 'pi' 3.14159
  2. Set the format code for data labels to 0.0
  3. Hover over the data point and see it displays the full float value instead of 3.1

Technical details:

  • Redash Version: v9 alpha
  • Browser/OS: Firefox MacOS
  • How did you install Redash: SaaS

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