SRGDisplayBase::DrawCustomData

void SRGDisplayBase::DrawCustomData(void)

When the graph type is not recognized, this virtual function is called. Override it to draw custom data displays.

Defined in: SRGDisplayBase.cpp

Developer Notes

Customizing of graph types and displays is performed by overriding one or all of these trap routines. You may extend a graph by changing the way its axis is drawn allowing all other operations to be handled by the built-in routines, or you may override the whole lot with new graph, label, and axis styles and trap every custom routine to handle the extra styles.

To invoke any of the custom trap routines, you only need to put a numeric style not recognized by the standard software into an object or component. Traps will occur for the draw routines and for the preparation routine if you have specified a new graph style.