私は C# で MS Chart を使用していますが、チャートからほぼすべてのメタ値を取得しようとすると問題が発生します。得られるのは NaN だけです。いくつかの例...
void chart_CursorPositionChanged(object sender, CursorEventArgs e)
{
double selectStart = e.NewSelectionStart;
double selectEnd = e.NewSelectionEnd;
}
e.NewSelectionStart and e.NewSelectionEnd both show NaN for their values.
もう一つの例...
chart.ChartAreas[0].AxisX.Maximum
も NaN です。ただし、値を設定すると、チャートに正しく反映されます。私が間違っていることはありますか?