Carlos,
Thanks a bunch for the example, it helped a lot. I am trying to get the date out of the Axis Scroll Event, I have attached a sample application.
Also, can I use ZoomStyle.Scroll and disable the Y-Axis scrolling so we only scroll X-Axis (but get the condensed scroll viewer (instead of the Map or Zoom areas))
myChart.AxisX.Labels.Format = AxisFormat.Date;
void AxisX_ScrollViewChanged(object sender, EventArgs e) {
double min = 0;double max = 0; myChart.AxisX.GetScrollView(
out min, out max);label1.Content = "Axis X min: " + min + ", max: " + max;
try{ label2.Content = "Axis X min: " + DateTime.FromOADate(min) + ", max: " + DateTime.FromOADate(max); }
catch (Exception ex) {
label2.Content = ex.Message;
}
}