Chart::WCartesianChart [doc]

Category Chart

A category chart uses categories on the X axis, and displays one or more data series on the Y axes. The values corresponding to each category are plotted consecutively (this is the main difference with a scatterp lot). Each data series corresponds to a column from the model.

A cartesian chart provides automatic configuration of the axes, and support for a second Y axis. In addition, you may use a simple built-in legend, or extend the class to provide a specialized legend. In the example below, we use a manual Y axis configuration, with a break as would be commonly used when your data has a few outliers.

The table view allows editing of the model, which is automatically reflected in the chart.

Age
Rural Male
Rural Female
Urban Male
Urban Female
70-74
66
54
71
50
65-69
41
31
55
35
60-64
127
20
37
19
55-59
18
149
24
14
50-54
12
9
15
8
70-74
65-69
60-64
55-59
50-54
0
20
40
60
80
100
120
140
Rural Male
Rural Female
Urban Male
Urban Female
Chart properties
Series properties
NameEnabledTypeMarkerY axisLegendShadowValue labels
Rural Male
Rural Female
Urban Male
Urban Female
Axis properties
Events will be shown here.