I am currently playing with a Polar Plot that is from 0-360 degrees for it’s XAxis (phase). I am trying to determine the “next” coordinates on a keypress.
Currently I am trying:
ModifierSurface.Clear();
foreach (var series in this.ParentSurface.RenderableSeries)
{
var nextPhase = (double)series.DataSeries.XValues[_phaseIndex];
var nextAmp = (double)series.DataSeries.YValues[_phaseIndex];
var xCoordinate = series.XAxis.GetCurrentCoordinateCalculator().GetCoordinate(nextPhase);
var yCoordinate = series.YAxis.GetCurrentCoordinateCalculator().GetCoordinate(nextAmp);
DrawCursor(xCoordinate, yCoordinate, nextPhase, nextAmp);
}
Unfortunately I am not getting the point coordinate I am expecting for drawing my next “cursor info” window.
_phaseIndex is currently 340, and I want to increment it to 341 and get the next X/Y pair location. But I can’t seem to get the location.
Any help would be great!
Thanks!
Geranon
- James McDuffie asked 8 years ago
- last active 8 years ago
How to move chart scroll by arrow key? For example, When I pressed the Right Arrow Key, the bars in the chart will move Right one Bar position, vice versa. Thanks.
- fxchenlin asked 10 years ago
- last active 8 years ago