New features in version 4.00(March 2007)

  • Introducing CustomObjects: With these objects you can add Boxes, Circles, Images, Lines, Polygones, Text or Symbols at any pixel position of your chart, completely independet from a series or a region. It's even not necessary to have a region or draw a chart: so you could use RMChart for example for only displaying an image or text.
  • Now you can add in an extremely simple way ToolTips to your chart. If you switch them on, they will pop up every time the mouse cursor moves over a data point. As a default, the data value will be shown, but you can also set your own text.
  • New symbol RMC_NO_DATA to flag missing data in a dataset, which is mainly interesting for line series.
  • New chart type for line series: RMC_LINE_STACKED and RMC_LINE_STACKED100. Stacked lines are only available with the 2D line styles.
  • Enhanced functionality while printing: it's now possible to force Portrait or Landscape orientation from within your programm
  • Enhanced functionality when saving your chart as a bitmap: it's now possible to set the compression ratio when creating a JPG/JPEG.
  • And: Fixed many small bugs/anomalies I was point out during the last 12 month, most of them I really can't remember, so I dont't try to list them. Many thanks to all of you who nudged me from time to time and for your patience!
New functions:
RMC_AddToolTips() Enables ToolTips in your chart. Note: Only necessary, if you've created your chart on your own DC (DeviceContext)!
RMC_CalcAverage() Calculates the average of a series and returns the necessary XY start- and end positions within the grid's boundary to draw an average line or area.
RMC_CalcTrend() Calculates the trend of a series and returns the necessary XY start- and end positions within the grid's boundary to draw a trend line.
RMC_COBox() Adds a CustomObject box to your chart.
RMC_COCircle() Adds a CustomObject circle to your chart.
RMC_CODash() Adds a CustomObject "simple" line (with only two points) to your chart.
RMC_CODelete() Deletes a CustomObject.
RMC_COImage() Adds a CustomObject image to your chart.
RMC_COLine() Adds a CustomObject line with multiple points to your chart.
RMC_COPolygon() Adds a CustomObject polygon with multiple points to your chart.
RMC_COSymbol() Adds a CustomObject symbol to your chart.
RMC_COText() Adds a CustomObject text to your chart.
RMC_COVisible() Hides or unhides a CustomObject.
RMC_GetImageSizeFromFile() Returns the width and height of an image within a image file.
RMC_GetData() Returns any data value of a series.
RMC_GetDataCount() Returns the number of data values of a series.
RMC_GetDataLocation() Returns the XY pixel position within the chart of a data values of a series.
RMC_GetDataLocationXY() Returns the X and Y pixel position within the chart of a data values of a XY series.
RMC_GetGridLocation() Returns the boundary of a grid rectangle.
RMC_SetCustomToolTipText() Sets the optional text for a data point.
RMC_SetHelpingGrid() Sets the resolution and the color of an optional helping grid.
RMC_SetLegendHide() Hides a previously added legend.
RMC_SetSeriesPPColumn() Set/change the number of "points per column" for an existing bar series.
RMC_SetSeriesPPColumnArray() Set/change the array of "points per column" for existing Line/HighLow/VolumeBar series.
RMC_SetToolTipWidth() Sets the width of the ToolTips (or switches them off).
RMC_ShowToolTips() Invokes a ToolTip, when a mouse event happens. Note: Only necessary, if you've created your chart on your own DC (DeviceContext)!
Enhanced functions:
RMC_CreateChart()
  • With the new (optional) parameter nToolTipWidth you can activate ToolTips in your chart - that's all you have to do to get them.
  • With the new (optional) parameter nBitmapBKColor you can define the color of the underlying bitmap (the "canvas") - or get a transparent control.
RMC_CreateChartOnDC() With the new (optional) parameter nBitmapBKColor you can define the color of the underlying bitmap (the "canvas") - or get a transparent control.
RMC_Draw2Printer() If you don't pass a specific nPrinterDC, you can use this parameter to force Portrait or Landscape orientation.
RMC_Draw2File() New parameter nJPGQualityLevel, which allows to set the compression ratio when creating a JPG/JPEG.