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

fix: Add y-axis label support to chart rendering #113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

askhogan
Copy link

Anthropic Claude homepage showcases y-axis support on charts - yet the quickstart doesn't have y-axis support. This fixes that - Add y-axis label support for improved chart readability as the

image

Overview:

This PR introduces y-axis label support to the charting library. Previously, users could view data values by hovering over items like the line, but there was no y-axis label to provide immediate context. This caused confusion, particularly when comparing multiple data points.

Key Changes:

  • Added y-axis label functionality for all relevant chart types.
  • Ensured that the labels dynamically adjust based on the scale and chart data.
  • Hovering over data points still displays values for detailed examination, but now with corresponding y-axis context.

Why this is important:

Charts with unlabeled axes can mislead users or make interpretation harder, especially when users aren't familiar with the specific dataset. This update makes charts more intuitive and user-friendly by ensuring all axes are clearly labeled.

- Implemented y-axis label functionality to ensure charts display corresponding labels.
- Previously, charts had hover values but no y-axis label, causing confusion when interpreting data.
- This update improves clarity and readability by providing labeled y-axes alongside interactive hover values.
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

Successfully merging this pull request may close these issues.

1 participant