Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

Property

Description

Read/Write

 

 

 

 

 

 

ShowVerticalBarEnabled

Returns/Sets Boolean value indicating whether to

Read/Write

 

display the bars in a bar graph vertically or

 

 

horizontally.

 

 

 

 

SubTitle

Returns/Sets the subtitle text that will appear directly

Read/Write

 

under the main title.

 

 

 

 

SummarizedField

Returns/Sets SummaryFieldDefinition Object (page

Read/Write

 

369), used to supply the data for a group graph. (This

 

 

property does not apply to a detail graph.)

 

 

 

 

Title

Returns/Sets the main title text that will appear above

Read/Write

 

the graph.

 

XAxisTitle

Returns/Sets the text that will appear for the X axis.

Read/Write

 

Not valid for Pie graphs.

 

 

 

 

YAxisTitle

Returns/Sets the text that will appear for the Y axis.

Read/Write

 

Not valid for Pie graphs.

 

ZAxisTitle

Returns/Sets the text that will appear for the Z axis.

Read/Write

 

This value is only valid for 3D graphs.

 

 

 

 

GroupAreaOptions Object

The GroupAreaOptions Object provides properties for retrieving information and setting options for a group area found in a report (that is, keep group together, sort direction, etc.). A GroupAreaOptions Object is obtained from the GroupOptions property of the Area Object, Page 294.

GraphAreaOptions Object Properties

Property

Description

Read/Write

 

 

 

 

 

 

Application

Returns a reference to the Application Object (page

Read only

 

290), that this object is associated with.

 

 

 

 

Condition

Returns/Sets CRGroupCondition (see table below)

Read/Write

 

indicating when grouping should occur for Boolean or

 

 

Date groups (that is, for Boolean groups, group on

 

 

change to TRUE; for date groups, group dates weekly,

 

 

etc.).

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

crGCAnnually

7

 

 

 

 

crGCAnyValue

14

Crystal Report Engine Object Model for the Automation Server

325

 

Constant

Value

 

 

 

 

 

 

 

crGCBiweekly

2

 

 

 

 

crGCDaily

0

 

crGCEveryNo

11

 

 

 

 

crGCEveryYes

10

 

 

 

 

crGCMonthly

4

 

 

 

 

crGCNextIsNo

13

 

crGCNextIsYes

12

 

 

 

 

crGCQuarterly

5

 

 

 

 

crGCSemiAnnually

6

 

 

 

 

crGCSemiMonthly

3

 

 

 

 

crGCToNo

9

 

crGCToYes

8

 

 

 

 

crGCWeekly

1

 

 

 

 

 

 

Property

Description

Read/Write

 

 

 

 

 

 

ConditionField

Returns/Sets DatabaseFieldDefinition Object (page

Read/Write

 

300), specifying the field that grouping occurs

 

 

on.

 

DiscardOtherGroups

Returns/Sets Boolean value indicating if “other”

Read/Write

 

groups in a group sort are discarded (that is, those

 

 

not included in a Top/Bottom N group sort when

 

 

sorting groups by their summary field).

 

KeepGroupTogether

Returns/Sets Boolean value to keep group together

Read/Write

 

(that is, across page breaks).

 

NumberOfTopOrBottom

Returns/Sets the number of groups for a TopN

Read/Write

Groups

group sort.

 

 

 

 

Parent

Reference to the Parent object (Area Object (page

Read only

 

294)).

 

 

 

 

RepeatGroupHeader

Returns/Sets Boolean value indicating if group

Read/Write

 

headers should be repeated when group is split

 

 

across pages.

 

 

 

 

Report

Reference to Report Object (page 349).

Read only

SortDirection

Returns/Sets CRSortDirection (see table below)

Read/Write

 

indicating the sort direction of the group name field,

 

 

as opposed to the group summary field.

 

 

 

 

Crystal Report Engine Object Model for the Automation Server

326

Соседние файлы в папке crystal