Is it possible to display date time data in the radial gauge control?
My senerio is that I have a dataset (see below). A user can then choose which column he/she wants to display in the guage. While picking a column to display a user can apply different type of aggregates before displaying it. For the most part I can handle appling the aggregates to the different types of columns and displaying them on the gauge but I'm having some trouble trying to represent the datetime column in the gauge. How do I show the min date and max date then show the calculated value via the needle?
you can plot the DateTime data using the DateTime.Ticks property or the DateTime.ToOADate() method.
if you have labels on your gauge, you can convert them back to DateTimes using the LabelAdding event, like this:
void xamGauge1_LabelAdding(object sender, LabelAddingEventArgs e)
{
e.Text = new DateTime((long)e.Text).ToString();
}