ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Chart control
  • Overview
  • Chart control in a window
  • Android graph: Limitations
  • Chart control in a report
  • Chart control in a report
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
Regardless of the type of chart displayed in the Chart control, all its characteristics can be configured via its description window.
This window is available in the page, window and report editors. This page presents:
AndroidiPhone/iPad
Chart control in a window
The characteristics of the Chart control are defined directly in the description window:
  • Type of chart ("General" tab).
  • Characteristics of X and Y axes ("General" tab).
  • Display of gridlines ("General" tab).
  • Appearance and zoom ("Details" tab).
  • Display of crosshair ("Details" tab). For more details, see Crosshair in a chart.
  • Title and legend of chart ("Details" tab). Note: The window editor can also be used to position graph elements directly below the editor.. For more details, see Handling a chart in the editor.
  • Background image ("Details" tab).
  • 3D animation ("Details" tab).
  • 2D animation ("Details" tab), for most charts (Area, Bubble, Line, Donut, Semi-circular, Column, MinMax, Radar, Pie Waterfall). For more details, see Animation of Chart control.
  • Characteristics of series ("Series" tab). For more details, see Mode for filling the Chart controls.
  • Appearance of various graph elements: labels, axis color, gridlines color, etc. ("Style" tab).
For more details about the different options found in the tabs, see:
Android

Android graph: Limitations

In Android, some limitations must be noticed:
  • Only Help, Line, Column and Pie charts are available.
  • 3D charts are not available.
  • Semi-circular charts are not available.
  • The charts cannot be printed.
  • The charts cannot be displayed in a window, an Image control or saved in EMF or WMF format. Only Chart controls are available.
  • The charts have no tooltip.
  • The charts have no context menu.
  • The Pie charts have no depth effect, no 3D effect and no color gradient.
  • Zoom is not available.
  • The crosshair is not available.
  • Composite charts are not available.
iPhone/iPad
Chart control in a report

Chart control in a report

A chart printed in a report can represent:
  • all the data displayed in the report: the report contains a single graph.
  • data by break: the report contains as many graphs as there are breaks.
  • the global sums of the various breaks: the report contains just one graph.
  • data different from the ones displayed in the report. This data can be defined through programming, come from a WLanguage array, be defined in the control description window, etc.
From version 17, Chart controls have evolved and are now similar to the controls available in windows and pages. To take this evolution into account in the report editor, select "Upgrade the Chart control" in the context menu of the control.
iPhone/iPad Only Chart controls upgraded or created from version 17 onwards are available in reports..
You also have the ability to print a chart only (without printing the source data). In this case, the block containing the data is not displayed ("Visible" is unchecked in the "Details" tab of the block description).
The characteristics of the Chart control are defined directly in the description window:
  • Type of chart ("General" tab)
  • Characteristics of X and Y axes ("General" tab)
  • Display of gridlines ("General" tab)
  • Layout ("Details" tab)
  • Title and legend of chart ("Details" tab)
  • Background image ("Details" tab)
  • Characteristics of series ("Series" tab). For more details, see Mode for filling the Chart controls.
For more details about the different options found in the tabs, see:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help