Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect display format for horizontal bar charts when using formatter functions #4472

Open
fabio-sp opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fabio-sp
Copy link

Description

When displaying an horizontal bar chart, x axis format is not correctly shown on the tooltip. The values displayed on the axis itself are correctly formatted using the x-axis formatter function, but the values shown in the tooltip are formatted using the y-axis formatter (if provided).

I'm willing to triage this issue but since I'm not familiar with the codebase some guidance could be helpful.

Steps to Reproduce

  1. Create a chart with chart type 'bar' and plotOptions.bar.horizontal 'true';
  2. Apply a fomatter function on both axes;
  3. Render the chart;

Expected Behavior

Actual Behavior

Screenshots

image

Reproduction Link

https://codepen.io/FabioSpa/pen/QWRjvMY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant