Y軸の文字列形式を変更する方法を教えてもらえますか??
パーセント記号を追加したい Y 軸のパーセンテージがあります。
OxyPlot を使用して wpf でグラフを作成しています。
これが私の試みですが、うまくいきません:
Func<double, string> formatFunc = (x) => string.Format("{000.00}%", x);
formatFunc = new Func<double,string>("{0}");
// Add the plot to the window
line.YAxis.LabelFormatter = formatFunc;
これにより、null 参照エラーが発生します。
ありがとう!