Skip to content

Scatter chart x-axis custom formatting option ignored with GENERIC_CHART_AXES enabled #32902

@og-foobarred

Description

@og-foobarred

Bug description

Scatter chart X-axis custom formatting using D3 format syntax is not working for my scatter charts, despite having GENERIC_CHART_AXES enabled.

  1. Enable GENERIC_CHART_AXES feature flag.
  2. Create a scatter chart with a non-timeseries X-Axis data series.
  3. Select the "Customize" tab.
  4. X-axis formatting box still says "Time Format", enter a custom non-time D3 format (ie. .2f | $.2f).
  5. Click "Update Chart"
  6. Note that the configured x-axis format does not get applied to the chart.

Screenshots/recordings

Image

Superset version

master / latest-dev

Python version

3.12

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions