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
My graph has 2 lines: line 1 & line 2. I click 1 point on line 2. Then, click 1 button to change to graph with 1 line, app crash. If I click point on line 1 and redraw graph 1 line, it is ok.
Bug in function:
public func getEntryForHighlight(highlight: ChartHighlight) -> ChartDataEntry
{
return _dataSets[highlight.dataSetIndex].entryForXIndex(highlight.xIndex);
}
I think because in graph 1 line not have information for highlight on line 2.
How to remove highlight on line 2 before redraw?
The text was updated successfully, but these errors were encountered:
My graph has 2 lines: line 1 & line 2. I click 1 point on line 2. Then, click 1 button to change to graph with 1 line, app crash. If I click point on line 1 and redraw graph 1 line, it is ok.
Bug in function:
public func getEntryForHighlight(highlight: ChartHighlight) -> ChartDataEntry
{
return _dataSets[highlight.dataSetIndex].entryForXIndex(highlight.xIndex);
}
I think because in graph 1 line not have information for highlight on line 2.
How to remove highlight on line 2 before redraw?
The text was updated successfully, but these errors were encountered: