Search found 2 matches

by BMS
Mon Sep 19, 2011 9:46 am
Forum: .NET
Topic: Use IFormatProvider to format axis labels
Replies: 3
Views: 3651

Re: Use IFormatProvider to format axis labels

Hello, Thanks for the reply. Unfortunately, your solution doesn't work for me, as it seems to need a DateTime value and not a TimeSpan (which is what I've got). The table below shows the data I want to show in the chart: Stop Description Number of Stops StopTime -------------------------------------...
by BMS
Fri Sep 16, 2011 7:20 am
Forum: .NET
Topic: Use IFormatProvider to format axis labels
Replies: 3
Views: 3651

Use IFormatProvider to format axis labels

Hello, On the vertical axis, I'm plotting a timespan (expressed in minutes). I've got a class that implements IFormatProvider/ICustomFormatter to convert a number of minutes (and fractional seconds) into a more readable [d ][hh:]mm:ss notation (that I'm using in the grid version of my report). Is th...