You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ReilTride (via GitHub)" <gi...@apache.org> on 2024/11/27 11:44:30 UTC

[I] Bar chart v2 hide x-axis labels [superset]

ReilTride opened a new issue, #31179:
URL: https://github.com/apache/superset/issues/31179

   ## Screenshot
   ![image](https://github.com/user-attachments/assets/53d9c8e2-8eb5-4f5a-a109-700230a771b9)
   
   ## Description
   
   Is there any way to hide these x-axis labels? And also still be able to see in the bar tooltip?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "geido (via GitHub)" <gi...@apache.org>.
geido commented on issue #31179:
URL: https://github.com/apache/superset/issues/31179#issuecomment-2512233594

   @ReilTride feel free to join us on Apache Superset Slack or open a discussion Q&A thread for this type of questions. Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "geido (via GitHub)" <gi...@apache.org>.
geido closed issue #31179: Bar chart v2 hide x-axis labels v.4.0.2
URL: https://github.com/apache/superset/issues/31179


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "ReilTride (via GitHub)" <gi...@apache.org>.
ReilTride commented on issue #31179:
URL: https://github.com/apache/superset/issues/31179#issuecomment-2503680453

   Guess bot is talking about legacy bar chart


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #31179:
URL: https://github.com/apache/superset/issues/31179#issuecomment-2503678393

   <!-- Answer -->
   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!
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "ReilTride (via GitHub)" <gi...@apache.org>.
ReilTride commented on issue #31179:
URL: https://github.com/apache/superset/issues/31179#issuecomment-2503677841

   @dosu where do i change this param?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Bar chart v2 hide x-axis labels v.4.0.2 [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #31179:
URL: https://github.com/apache/superset/issues/31179#issuecomment-2503667778

   <!-- Greeting -->
   Hey @ReilTride! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together!
   
   <!-- Answer -->
   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 <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org