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

How to remove X axis data label? #92

Open
nurkhamid opened this issue Apr 6, 2023 · 2 comments
Open

How to remove X axis data label? #92

nurkhamid opened this issue Apr 6, 2023 · 2 comments

Comments

@nurkhamid
Copy link

I tried to using withoutDataLabels() but the chart still showing the X axis label

@jonelpatrick
Copy link

try css

<style> .apexcharts-xaxis{display: none !important;} </style>

@faakher
Copy link

faakher commented Oct 19, 2023

I tried to using withoutDataLabels() but the chart still showing the X axis label

use

->setXAxisVisible(false)

to completely hide

or use custom jsconfig

->setJsonConfig([
    'xaxis.labels.show' => false
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants