You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling chartView.moveViewToX does not appear to be functioning as expected. The chart jumps to a different index, and when scrolling begins the chart will jump again to another different index. Neither seem to be the correct xIndex specified.
This can be replicated by appending two lines in the ChartsDemo project in LineChart1ViewController.m after _chartView.data = data (line 147): [_chartView setVisibleXRange:10]; [_chartView moveViewToX:10];
The text was updated successfully, but these errors were encountered:
I can confirm this. Calling moveViewToX: 200 on my simple line chart alternates the view between 0 on the first call and 511 on the next call and back to 0 on the next call etc.
@creisterer-db your example is irrelevant, as you are trying to move even before the chart has a size or is properly calculated according to that size. But still the bug exists!
Calling chartView.moveViewToX does not appear to be functioning as expected. The chart jumps to a different index, and when scrolling begins the chart will jump again to another different index. Neither seem to be the correct xIndex specified.
This can be replicated by appending two lines in the ChartsDemo project in
LineChart1ViewController.m
after_chartView.data = data
(line 147):[_chartView setVisibleXRange:10];
[_chartView moveViewToX:10];
The text was updated successfully, but these errors were encountered: