The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ChartPack RChart Class TContourPlot Events OnDataRendered | |||||||||||||||
See also: SetCanvasFontSizeScaled, OnBeforeRenderData, OnBeforeRenderChartItem, TBeforeRenderCItemEvent, OnScalesRendered | |||||||||||||||
OnDataRendered |
|||||||||||||||
The event OnDataRendered provides a hook for adding user defined graphics to a contour plot. The event occurs after the plot has been drawn and before the crosshairs are inserted and the plot is copied to the screen. The variable parameter Canvas provides access to the canvas of the plot area. Please note that the state of the canvas (e.g. the color of its pen, or the fill mode of the brush) depends on the graphics elements drawn before. The parameters Top and Left contain the offset of the plot area relative to the entire plot area. You need these two values if you want to position your own drawing elements relative to the coordinate system of the plot (by using the method R2M).
|