double x = (double)new XDate(Convert.ToInt32(sDate.Substring(0, 4)), Convert.ToInt32(sDate.Substring(5, 2)), Convert.ToInt32(sDate.Substring(8, 2)));

 

 

//x轴设置为日期格式
myPane.XAxis.Type = AxisType.Date;
myPane.XAxis.Scale.Format = "M-d";

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2021-10-22
  • 2022-12-23
  • 2021-09-11
  • 2021-11-19
  • 2022-02-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
相关资源
相似解决方案