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: missing sign on alignment graph offset axis #20

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

protyposis
Copy link
Owner

When using a custom StringFormat on OxyPlot's TimeSpanAxis, negative signs are not displayed on the axis labels. This seems to be a bug(?) in .NET's string.Format for TimeSpan, which OxyPlot uses internally.

This is fixed by adding a negative sign when a custom format is set.

@protyposis protyposis merged commit 49896e2 into main Jan 29, 2024
1 check passed
@protyposis protyposis deleted the feat/fix-alignmentgraph-missing-sign branch January 29, 2024 09:47
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