<br><div class="gmail_quote"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Hi,</span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><br>
</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I
am trying to implement a legend in a new view that I have created. I
would like to get information from the data currently visible (typically
field data stored in the dataset) and populate the legend box with
this. My view is derived from vtkPVRenderView and I can add a
vtkLegendBoxActor but I’m not sure how I get the information I want in
order to update it. Is it possible to either request information about
the object from the server or get the information from the
representation? If so, where do I need to implement this? </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal">
<span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Alternatively,
can anyone suggest a better way to do this? <br></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><br></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I can see that in XYChartView we have a Chart Legend
(which is nice as it is movable)
and I’m not sure whether this will work
for me or how it gets its information.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Any help would be appreciated.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><br>Thanks in advance,</span></p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hanumanth.</span>
</div><br>