The GRAPH command has been totally refactored to ease the use and customization of your graphs. Moreover it has been enhanced to give you the full control on the various graph properties.
Please note that this enhancement is only available in the 64-bit versions for Mac & Win.
First of all a single command (GRAPH) is now required to draw and customize a graph, thus the GRAPH SETTINGS command is deprecated. To do so, all the graph parameters are defined in a new C_OBJECT parameter, so that 4D developers have a mean to easily set all kind of settings by programming.
GRAPH ( graphPicture ; graphSettings ; xLabels {; yElements} {; yElements2 ; ... ; yElementsN} )
Another improvement is related to the number of graph properties that can be handled by programming. Now 34 properties can be managed by 4D developer like fonts, colors, margins, paddings, gap between bars, size of the bar and plot, opacity…It gives you the full power to customize your graphs.
Below are a few examples:
Download the example to see other possible usages: Example Database
A video is also available:
For more details, please take a look at the 4D v15 R4 upgrade manual.