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.
When using a custom
StringFormat
on OxyPlot'sTimeSpanAxis
, negative signs are not displayed on the axis labels. This seems to be a bug(?) in .NET'sstring.Format
forTimeSpan
, which OxyPlot uses internally.This is fixed by adding a negative sign when a custom format is set.