回复 11楼iceman的帖子
您好非常感谢您的回复,之前逻辑上输了出了问题,还有文档是英文的实在不好查看,我用土办法解决了
c1obj.View.AxisY.ItemsSource = new List<KeyValuePair<object, double>>
{
new KeyValuePair<object, double>("5",Math.Log(5,2)),
new KeyValuePair<object, double>("10",Math.Log(10,2)),
new KeyValuePair<object, double>("20",Math.Log(20,2)),
new KeyValuePair<object, double>("40",Math.Log(40,2)),
new KeyValuePair<object, double>("80",Math.Log(80,2)),
new KeyValuePair<object, double>("160",Math.Log(160,2)),
new KeyValuePair<object, double>("320",Math.Log(320,2)),
new KeyValuePair<object, double>("500",Math.Log(500,2))
};
我在y 轴做了假标注 ,也将X轴的实际数值按照对数转换了下,现在是等比显示的效果图如下
|