More control on GRAPH command

Automatically translated from English

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:

graph settings

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.

Roland Lannuzel

• Product Owner & 4D Expert •

After studying electronics, Roland went into industrial IT as a developer and consultant, building solutions for customers with a variety of databases and technologies. In the late 80’s he fell in love with 4D and has used it in writing business applications that include accounting, billing and email systems.

Eventually joining the company in 1997, Roland’s valuable contributions include designing specifications, testing tools, demos as well as training and speaking to the 4D community at many conferences. He continues to actively shape the future of 4D by defining new features and database development tools.