Skip to content

Allow logged metrics as x-axis choices#467

Merged
abidlabs merged 8 commits into
mainfrom
fix-metric-xaxis
Apr 1, 2026
Merged

Allow logged metrics as x-axis choices#467
abidlabs merged 8 commits into
mainfrom
fix-metric-xaxis

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Mar 30, 2026

  • Passes discovered metric columns from the Metrics page through App into the Sidebar component
  • The x-axis dropdown now lists all logged numeric metrics in addition to "step" and "time"
  • The dataProcessing.js layer already supported arbitrary x-axis fields — this just wires the UI

Closes #466

Previously the x-axis dropdown only offered "step" and "time". This
passes the list of discovered metric columns from the Metrics page
through App into the Sidebar so every logged numeric metric appears
as a selectable x-axis option.

Closes #466

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Mar 30, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio minor

  • Allow logged metrics as x-axis choices

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Mar 30, 2026

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview

Install Trackio from this PR (includes built frontend)

pip install "https://huggingface.co/buckets/trackio/trackio-wheels/resolve/0e4f88a0cfc01e2b866743f9b5c880daa9ac185c/trackio-0.20.2-py3-none-any.whl"

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@abidlabs abidlabs marked this pull request as ready for review March 31, 2026 08:14
@abidlabs
Copy link
Copy Markdown
Member Author

abidlabs commented Mar 31, 2026

Once CI is green, I'll merge in this small PR (just a UI tweak and some changes to the tests to make them more robust) so that we avoid conflicts. Won't release just yet

@abidlabs abidlabs merged commit f357deb into main Apr 1, 2026
8 of 9 checks passed
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.

Impossible to choose a logged metric as x-axis

3 participants