|
|
|
|
|
- Changing the type of chart
<Chart>.Type (Function) In french: <Graphe>.Type Identifies or modifies the type of chart.
GRF_MonGraphe.Type(grPie)
Syntax
Finding out the type of chart Hide the details
<Result> = <Chart control>.Type()
<Result>: Constant Indicates the type of chart: <Chart control>: Control name Name of the Chart control to use (in the window, page or report editor).
<Chart name>: Control name Name of the Chart control to use (in the window, page or report editor).
<Type of chart>: Constant Specifies the new type of chart: <Chart>.Type has no action on the chart if this parameter corresponds to the current type of chart. Remarks Changing the type of chart - When changing the type of chart, the parameters of the former chart that cannot be reproduced in the new chart are reinitialized.
- Changing the type of chart may produce unexpected effects. For example, when a Pie chart (grPie constant) is changed into a Scatter chart (grScatter constant), all the points are aligned on the X-axis (horizontal axis).
- The type of chart can be changed in the context menu. However, the display options produce different visual effects for each type of chart.
- The parameters defined by <Chart>.Type will be taken into account during the next call to <Chart>.Draw.
Related Examples:
|
Unit examples (WINDEV): The Chart functions
[ + ] Using the main chart designer features of WINDEV: - Create a Pie, Column or Line chart - Define the display area of a chart - Define the chart options (legend, percentage, ...) - Draw a line on a chart
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|