本文介绍了图表系列中的总计。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经能够使用代码找到系列的平均值/平均值:

DataManipulator。 Statistics.Mean

然后将其扔到标签/文本框中。



其他数学函数有类似的东西吗?我正在寻找Sum,Multiplication等。



我尝试过:



I've been able to find the average/mean of a series using the code:
DataManipulator.Statistics.Mean
and then throwing that to a label/text box.

Is there something similar for other math functions? I'm looking for Sum, Multiplication, etc.

What I have tried:


'Determine the mean
Dim mean As Double = Chart1.DataManipulator.Statistics.Mean(inputSeriesName:="ActualWeight")



'Display mean as text
TxtAverageWeight.Text = mean.ToString("N")

推荐答案


这篇关于图表系列中的总计。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 16:38