RMC_Draw function.
Draws a chart onto the screen

Syntax
nResult (LONG) = RMC_Draw(
ByVal nCtrlId (LONG)
)
Parameter
nCtrlId (LONG)
Unique ID of the chart control, which shall be shown.
Return value
0
There is no special return value, therefore always 0.
Remarks
RMC_Draw only works if
  • in RMC_CreateChart() the parameter nExportOnly was set to FALSE (which is the default value if omitted)
  • no error occured in one of the preceding function calls
There is no check if all functions were called, which are normally necessary for building a meaningful chart. If you call for instance RMC_CreateChart, followed immediately by RMC_Draw you will see just the empty control.