In the TimeSeries sample of this library, you multiply the input with a "data transformation factor" which is defined as "1.7 / chart height" and then subtract "0.85" from it.

- Code: Select all
`double factor = 1.7 / chart.RangeY.Length;`

- Code: Select all
`input[i][j] = ( data[i + j] - yMin ) * factor - 0.85;`

What are the numbers 1.7 and 0.85 ? I guess there's a just a mathematical concept I'm missing, but I've been unable to comprehend it.