Add getArray() to allow C# code to copy internal LineGraph buffer