Selection SubProxy redefinition in chart representation does not work correctly.
Trying to redefine a selection subproxy in a chart representation does not work as expected :
<ParaViewPlugin>
<ServerManagerConfiguration>
<ProxyGroup name="views">
<ContextViewProxy base_proxygroup="internal_views"
base_proxyname="XYChartViewBase4Axes"
class="vtkPVXYChartView"
name="XYChartView2"
label="Line Chart View 2"
processes="client|renderserver|dataserver"
representation_name="XYChartRepresentation2"
post_creation="SetChartTypeToLine" >
<Documentation>This is the proxy for the XY line chart
view that support column selection.</Documentation>
</ContextViewProxy>
</ProxyGroup>
<ProxyGroup name="representations">
<ChartRepresentationProxy base_proxygroup="representations"
base_proxyname="XYChartRepresentation"
class="vtkXYChartRepresentation"
name="XYChartRepresentation2"
processes="client|dataserver|renderserver">
<Documentation>API for representations used by XYChartView and XYBarChartView.
</Documentation>
<SubProxy command="SetSelectionRepresentation">
<RepresentationProxy name="SelectionRepresentation"
class="vtkChartSelectionRepresentation"
override="1"
processes="client|dataserver|renderserver">
<InputProperty command="SetInputConnection"
name="OriginalSelectionInput"/>
</RepresentationProxy>
</SubProxy>
</ChartRepresentationProxy>
</ProxyGroup>
</ServerManagerConfiguration>
</ParaViewPlugin>
How to reproduce :
- Open ParaView
- Tools -> LoadPlugin -> Load -> XYChartRepresentation2.xml
- Open vehicules_data.csv, Apply
- Create a new view, Line Chart View 2
- Show vehicules in new view
- Split the view in two, create a spreadsheet
- Select using the rectangle selection tools
- the selection is created correctly but nothing is visible in the chart view
note : unrelated to the override mechanism @utkarsh.ayachit