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

Heatmap Chart: Unable to Display Duplicate Y-Axis Labels #4757

Closed
ZahidChandio opened this issue Oct 11, 2024 · 2 comments · Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Closed

Heatmap Chart: Unable to Display Duplicate Y-Axis Labels #4757

ZahidChandio opened this issue Oct 11, 2024 · 2 comments · Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Labels
bug Something isn't working

Comments

@ZahidChandio
Copy link

ZahidChandio commented Oct 11, 2024

I encountered an issue where duplicate labels on the y-axis were not allowed. In the image below, the y-axis represents the days of the week. As a result, some labels, like Tuesday ('T') and Saturday ('S'), are missing. You can check the sample in the provided CodeSandbox.

image

These are the y-axis options I tried.

yaxis: {
      forceNiceScale: false,
      showAlways: true,
      show: true,
      showForNullSeries: true,
      crosshairs: {
        show: true
      },
      labels: {
        show: true,
        formatter(val, opts) {
          console.log('opts', opts);
          return val?.toString();
        }
      }
    }

I am using "^3.54.0" version of apexcharts.

Reproduction link
https://codesandbox.io/p/sandbox/apexcharts-heatmap-p6ddt7

@ZahidChandio ZahidChandio changed the title I couldn't show duplicate labels for y-axis. Couldn't show duplicate labels for y-axis. Oct 11, 2024
@junedchhipa junedchhipa added the bug Something isn't working label Oct 11, 2024
@brianlagunas
Copy link
Member

Did not provide required reproduction link.

@brianlagunas brianlagunas closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
@ZahidChandio
Copy link
Author

ZahidChandio commented Oct 11, 2024

@brianlagunas reproduction link added, please reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment