- I added mouse support to RMChart. Every time a mouse event
happens on the chart control, you can catch two messages in your application, which gives you extensive
informations about the chart and the objects within it.
I also added in the "ready-to-go" source, which you can get from RMCDesigner some examples in the Callback
function. And you could have a look to the Callback function of the new "MiniDesigner" example in pbdemo.bas,
to get an idea what could be done with the informations you get via the mouse support.
- Two new functions: RMC_GetINFO() and RMC_GetINFOXY(), which both can be used to retrieve the same
informations, which you can get when a mouse event happens on the chart.
- I added over 80 new functions, which allow to set/alter nearly every property of an existing chart.
The function names all start with RMC_Set...() and they allow a very flexible way to deal with "living" charts,
which shall change their appearence, data, size, position, or whatever at runtime without the need to
destroy and recreate the chart with the changed property/data. So you can for example change the whole data for
an existing series with just two lines of code: RMC_SetSeriesData() and RMC_Draw(). I also changed
the process logic: it's now possible to create a chart, add the necessary objects (caption, grid, data axis, series etc.)
to it without setting any property or passing any data. Later you could set the properties and the data and draw
the chart. For examples see the new "MiniDesigner" example in pbdemo.bas.
- I enhanced the concept of creating a chart from a RMC-file or string. In previous versions it was only possible to
create a chart in RMCDesigner, save it to a *.rmc-file (or a string with the content of such a file) and
"play-back" this chart in your application with two lines of code. Now you may additionally change every aspect
of this chart during runtime, as if you've created the chart "from scratch". And you can wirte the changes you've
made back to a *.rmc-file or string from within your application. Again I recommend for examples the new "MiniDesigner"
example in pbdemo.bas.
- New function RMC_Draw2Clipboard(), which copies a chart either as a bitmap or an Enhaced Meta File to the
clipboard. This function can be used the same way as the other RMC_Draw2...() functions, with or without
drawing the chart to the screen.
- Enhanced functionality of RMC_Draw2Printer(): with a new parameter you can define, if a bitmap or an
Enhanced Meta File is used for printing.
- Enhanced functionality of RMC_Draw2File(): if you use as extension for the filename*.emf or *.emf+,
the chart will be saved either as an conventional *.EMF-file or as an *.EMF-file, which is only compatible with
GDI+, not GDI.
- With a new parameter in RMC_CreateChart() it's now possible to decide, which True Type Font should be
used with the chart
- The legends of none-grid based charts can now be printed on the value labels. To do this, call RMC_AddLegend()
as usual and use the new constant RMC_LEGEND_ONVLABELS as parameter nLegendAlign.
Value labels will then consist of two lines: the legend text and in the second line the value.
If you only want to see the legend texts without any value on the labels, use in
RMC_AddGridlessSeries() as parameter nValueLabelOn the new constant RMC_VLABEL_LEGENDONLY
- Numeric labels of data axes in grid based charts and X/Y axes in XY-charts can now have up to nine decimal
digits. The old parameter nNoDecimalpoint, which could be TRUE (for no decimal digits) or FALSE (for 2 decimal digits)
is replaced with parameter nDecimalDigits, which can have a value between 0 and 9. Note: change in your
existing sources in the functions for adding a data axis or X/Y-axis this parameter according to your needs.
- The font size and weight of the illustration texts of data axes, X/Y axes and label axes can now be defined.
- The font size, font weight and the alignment of the region's footnote can now also be defined.
- The color (default: Red/Green) for objects of RMC_HIGHLOW series can now be defined with two new optional parameters in
RMC_AddHighLowSeries().
- New style for Line series: RMC_LINE_SYMBOLONLY draws only the symbols, not the line between them.
|