I project a line using the pythagorean theorem.
I just noticed that when the begin point is off the display screen to the left, the line appears to change slope and the right end point value also changes.
(Be it known that the begin point in the dataset (array) is still valid). The reason for this appears to be that since I automatically scale the graph
based on the number of data point displayed, the scale value increment increases / decreases based on this number of data points which is used to calculate
the value of the line end points.
Anyone know a better way to increase the data points on a chart yet at the same time keep (calculate) the scale so it remains constant when displaying objects (e.g. line)?
I just noticed that when the begin point is off the display screen to the left, the line appears to change slope and the right end point value also changes.
(Be it known that the begin point in the dataset (array) is still valid). The reason for this appears to be that since I automatically scale the graph
based on the number of data point displayed, the scale value increment increases / decreases based on this number of data points which is used to calculate
the value of the line end points.
Anyone know a better way to increase the data points on a chart yet at the same time keep (calculate) the scale so it remains constant when displaying objects (e.g. line)?