DataManipulator.Statistics对像实现协方差Covariance 相关性correlation
Imports System.Windows.Forms.DataVisualization.Charting
...
' Calculate Covariance
Dim covariance As Double = chart1.DataManipulator.Statistics.Covariance("FirstGroup", "SecondGroup")
' Calculate Correlation
Dim correlation As Double = chart1.DataManipulator.Statistics.Correlation("FirstGroup", "SecondGroup")
...