Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling RenderGraphCore using a Custom DataProcessor

What calls the RenderGraphCore method in the PlotRenderer class?

Does it get called from the DataProcessor; because while implementing a custom DataProcessor class, the RenderGraphCore is not being called. If it is, how can I access plot specific information to pass in through the PlotRenderArgs such as the Plot or the RenderTarget.

 

Thanks

0 Kudos
Message 1 of 2
(2,308 Views)

The data processor is responsible for dividing and processing all data for all plots in a graph, and notifying that graph when data is available to render (in other words, that data processor is ultimately responsible for pushing data to the graph for it to render the plots). Unless you are defining a completely new graph type (i.e. a Cartesian graph vs. a Polar graph), creating a custom data processor is probably overkill for your situation.

 

As discussed in your other question, an indirect approach (using traits), or a change to the GetDataRequirements method (using buffers), will give you access to the extra attributes you want to include.

~ Paul H
0 Kudos
Message 2 of 2
(2,285 Views)