【发布时间】:2011-12-08 15:30:45
【问题描述】:
我正在尝试在后面的代码中获取 MS 图表控件的 AxisX 间隔。但是当我尝试检索该值时,即使它具有默认值,它也会返回零。
'Doesn't return the correct value, only returns 0
Dim XInterval As Double = mainChart.ChartAreas(0).AxisX.Interval
'
'
'This allows me to set the value and works just fine, but I also need to get it first.
mainChart.ChartAreas(0).AxisX.Interval = 2000
【问题讨论】: