Drawing Outside the Chart Area of RChart
||I wish to draw graphics in and outside the chart area of
an RChart. R2M and M2R will allow the pixel coordinates to be calculated but
what method should be used to draw onto the RChart.
Use the events OnScalesRendered and OnDataRendered to draw on the canvas of RChart. A simple example how to create a legend outside the data area but on the chart window can be found in the sample application "rclegend" which is available from the following Web page: http://www.lohninger.com/examples.html