Excuse me. I want to call the c++ interface of paraview to complete all the following operations:
Read a vtk file, plot the read data in the Line Chart View component, and specify the option of X Array Name as Points_X and the option of Series Paarameteres as Real in the properties interface.
I made some attempts with examples. I loaded a vtk file in demo1. It could be directly displayed in the render view, but it could never be directly displayed in the line chart view. I hope to obtain the same line graph in the line chart view of demo1 as that in demo2. How can the vtk file be displayed directly in the line chart view of demo1 without any other operations? Does this implementation have any requirements for the vtk file?