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

Bar chart v2 hide x-axis labels v.4.0.2 #31179

Open
ReilTride opened this issue Nov 27, 2024 · 4 comments
Open

Bar chart v2 hide x-axis labels v.4.0.2 #31179

ReilTride opened this issue Nov 27, 2024 · 4 comments
Labels
viz:charts:bar Related to the Bar chart

Comments

@ReilTride
Copy link

Screenshot

image

Description

Is there any way to hide these x-axis labels? And also still be able to see in the bar tooltip?

@ReilTride ReilTride changed the title Bar chart v2 hide x-axis labels Bar chart v2 hide x-axis labels v.4.0.2 Nov 27, 2024
Copy link

dosubot bot commented Nov 27, 2024

Hey @ReilTride! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together!

Yes, you can hide the x-axis labels in a Bar chart v2 while still displaying them in the bar tooltip. You can achieve this by setting the reduceXTicks property to true. This will hide the x-axis labels, but the tooltip will still display the labels as it uses a different mechanism for rendering [1].

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the viz:charts:bar Related to the Bar chart label Nov 27, 2024
@ReilTride
Copy link
Author

@dosu where do i change this param?

Copy link

dosubot bot commented Nov 27, 2024

You can change this parameter in the chart configuration settings. Look for the chart's properties panel in the visualization editor where you can customize the chart settings. There, you should find an option to set reduceXTicks to true. If you're editing the code directly, locate the chart configuration object and add or modify the reduceXTicks property. If you need further assistance, let me know!

To continue talking to Dosu, mention @dosu.

@ReilTride
Copy link
Author

Guess bot is talking about legacy bar chart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
viz:charts:bar Related to the Bar chart
Projects
None yet
Development

No branches or pull requests

1 participant