I am making a reader that will be reading in a bunch of X Y statistics. At first I was reading them into a vtkTable which then I could run the 'Plot Data' filter and get a 2D line chart. I was wondering if there was a better way to do this. I want to try to use something like vtkPolyData, but I can't seem to figure out if there is a way to include details about the statistics, such as its title, the name of each line or other string data. <br>
<br>A quick example would be if I wanted to plot 2 statistics (A and B). A has 3 lines and B has 2 lines. I need some way to differentiate which statistic and which line each of the plotted lines are. <br><br>In the vtkTable, I made a column for X, and then a column for each stat/line pair (X,A1,A2,A3,B1,B2), but I feel like there is a better way to do this.<br>
<br>Thanks,<br>Brian Panneton<br>