Skip to content

Commit fe49d9e

Browse files
committed
fix: getDataSetByHighlight in CombinedData
1 parent fd78f75 commit fe49d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charting/data/CombinedData.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class CombinedData extends BarLineScatterCandleBubbleData<Entry, BarLineS
164164
public getDataSetByHighlight(highlight: Highlight) {
165165
if (highlight.dataIndex >= this.getAllData().length) return null;
166166

167-
const data = this.getDataByIndex(highlight.dataSetIndex);
167+
const data = this.getDataByIndex(highlight.dataIndex);
168168

169169
if (highlight.dataSetIndex >= data.getDataSetCount()) return null;
170170

0 commit comments

Comments
 (0)