[英]How to get the AxisX interval MS Chart Control
我正在嘗試在后面的代碼中獲取MS Chart Control的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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.