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

[Feature Request] Global font size settings to adjust font size of axis labels #8904

Open
selgebali opened this issue Nov 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@selgebali
Copy link

selgebali commented Nov 19, 2024

Is your feature request related to a problem? Please describe

I am experiencing difficulty adjusting the font size of the x and y-axis labels in OpenSearch Dashboards visualizations. The default font size is too small for presentations or displays that require larger text for better readability. Currently, there is no straightforward way to universally change the font size of axis labels through the user interface or settings.
When inspecting the elements of a visualization, I see that the axis label text elements have a font-size set to 8pt. Manually changing this value in the browser's developer tools to 18pt provides the desired readability but is not a sustainable solution.

<text dy=".32em" x="-9" y="0" style="text-anchor: end; font-size: 8pt;">0</text>

Describe the solution you'd like

I would like OpenSearch Dashboards to provide an option to adjust the font size of axis labels in visualizations. This feature could be implemented in several ways:

Global Font Size Setting: A global configuration option in OpenSearch Dashboards settings that allows users to set the default font size for axis labels across all visualizations.

Visualization-Level Font Size Control: An option within the visualization editor under a "Style" or "Appearance" tab where users can adjust the font size for axis labels on a per-visualization basis.

Accessibility Enhancements: Including font size adjustments as part of accessibility features to improve readability for all users.

Related component

Other

Describe alternatives you've considered

I have explored several alternative solutions, but they have significant limitations:

Custom CSS Injection via Browser Extensions:

  • Attempted Solution: Using browser extensions like Stylish
    Issue: This method did not work on my OpenSearch Dashboards instance (https://localhost:9200/_dashboards/...). The styles did not apply, possibly due to content security policies or the way OpenSearch Dashboards handles inline styles and component rendering.

Additional context

Impact on Users:

  • Improved readability for presentations, reports, and dashboards viewed on large screens or projectors.
  • Enhanced accessibility for users with visual impairments.
Screenshot 2024-11-19 at 17 58 04
@selgebali selgebali added enhancement New feature or request untriaged labels Nov 19, 2024
@andrross
Copy link
Member

@opensearch-project/admin Can this be transferred to https://github.com/opensearch-project/OpenSearch-Dashboards ?

@gaiksaya gaiksaya transferred this issue from opensearch-project/OpenSearch Nov 21, 2024
@dblock dblock removed the untriaged label Dec 9, 2024
@dblock
Copy link
Member

dblock commented Dec 9, 2024

[Catch All Triage - 1, 2, 3, 4]

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

No branches or pull requests

3 participants