i have a chart control that i am populating programmatically using the following options
<XAxis Type="Date" BaseUnit="Auto" > <TitleAppearance Text=""> </TitleAppearance> <LabelsAppearance DataFormatString="HH:mm"> </LabelsAppearance> </XAxis>
ScatterSeriesItem ssi1 = new ScatterSeriesItem();ssi1.X = ConvertToJavaScriptDateTime(Convert.ToDateTime(DR[1].ToString()));ssi1.Y = Convert.ToDecimal(DR[2].ToString());
private decimal ConvertToJavaScriptDateTime(DateTime fromDate) { return (decimal)fromDate.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds; }
and doing this the data in the chart is always displayed in local time especially the x axis, is there any way of formatting the dates so that they dont display in the local time for the browser.
