"valueAxisSegmentCount"
Defines how many segments (grid lines with labels) are drawn on the Y axis.
Synopsis
shape.valueAxisSegmentCount(unsigned segments);
Parameter
Parameter | Description |
---|---|
segments | Number of segments (grid lines with labels) which are drawn on the Y axis. The default value is 5. A value less than 1 must not be defined. |
Description
Defines how many segments (grid lines with labels) are drawn on the Y axis. The number of grid lines to be drawn is calculated with the following formula:
segments * subsegments + 1
Example
This example displays 4 segments with labels. Each segment is separated by a further grid line into two sub segments.
main()
{
BarChart3D_ewo1.valueAxisSegmentCount(4);
BarChart3D_ewo1.valueAxisSubSegmentCount(2);
}
Assignment
BarChart3D-EWO