Commit 85466a8a authored by Michael Migliore's avatar Michael Migliore
Browse files

Fix vtkChartXY selection

parent 1ed01df4
Pipeline #197393 running with stage
......@@ -296,7 +296,8 @@ void vtkChartXY::Update()
vtkArrayDownCast<vtkIdTypeArray>(node->GetSelectionList());
for (vtkIdType j = 0; j < selectedColumns->GetNumberOfTuples(); ++j)
{
selectedPlots.push_back(this->ChartPrivate->PlotCache[j]);
vtkIdType id = selectedColumns->GetTypedComponent(j, 0);
selectedPlots.push_back(this->ChartPrivate->PlotCache[id]);
}
}
// Now iterate through the plots to update selection data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment