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

&Click the Graph Done button when you are finished. An object frame appears. Position the frame where you want the graph to print and click once to place it.

NOTE: When you insert a graph/chart, it may cover a portion of your report. You will need to move the graph/chart and possibly resize it to fit in your report the way you want.

How to graph on cross-tab summaries

Seagate Crystal Reports allows you to include a graph/chart based on summary values in your cross-tab report. For example, with a cross-tab that shows the total number of a certain product sold in each region of the United States, you may want to include a graph that shows what percentage of the total sales of the product were provided by each region.

To create a cross-tab graph/chart you must of course have a crosstab inserted in your report. For more information, see Cross-Tab Objects, Page 445.

With the cross-tab highlighted, click the INSERT CHART button on the standard toolbar. The Graph/Chart Expert appears.

Click the Graph Tab to activate it.

!Click the Cross-tab button to specify you want to create a cross-tab graph/chart.

"Specify the summarized field you want your graph based on using the Graph on drop-down box.

#Specify the primary row or column you want your graph based on using the By drop-down box.

$If desired, specify the secondary row or column you want your graph based on using the Subdivided By drop-down box.

%Click the Graph Done button when you are finished. An object frame appears. Position the frame where you want the graph to print and click once to place it.

NOTE: When you insert a graph/chart, it may cover a portion of your report. You will need to move the graph/chart and possibly resize it to fit in your report the way you want.

412

Seagate Crystal Reports User’s Guide

How to edit a graph/chart using the Graph/Chart Expert

Once you have created your graph/chart, you may want to add a title, headings, legend, change fonts, or even the type of graph itself. Modifying your graphs is easy with the use of the Graph/ Chart Expert.

Right-click the graph/chart you want to edit and choose the FORMAT CHART command from the shortcut menu that appears.

The Graph/Chart Expert appears with all the details of the selected graph/chart.

!Make the desired changes and click the Graph Done button when finished to update your graph/chart

How to edit graphs using PGEditor

The PGEditor is a powerful graph editor offering you 80 graph types and full formatting control of every graph element. The PGEditor is commonly used to format the graph title, change the colors of graphs, and resize portions of the graph.

A very popular feature of the PGEditor is the ability to save graph formatting templates. These templates are like stylesheets for graphs. They contain custom formatting instructions that can be applied instantly to new graphs. If you continually create pie charts, for example, and you need the charts to appear in custom colors, you can create a template with those colors. Then, whenever you create a new graph, you simply apply the template and the graph is formatted to your template specifications.

See PGEDITOR.HLP (located in the \CRW directory or directory in which the program resides) for more information on the PGEditor application.

Graphing

413

How to use the underlay feature with graphs

Because graphs can only print in certain areas and sections of your report (see Area printing characteristics, Page 69), the underlay feature makes graphing more powerful than ever before. Now, instead of having a graph print before the data it represents, you can have the graph appear beside it, to make the data more understandable.

Create your graph and place it in the Report Header section. For more information see How to graph on a summary or subtotal field, Page 408.

Click the OBJECT PROPERTIES button on the standard toolbar. The Section Expert appears

!Highlight the Report Header section in the Sections list box and toggle the Underlay Following sections option on.

" Click OK.

#You are returned to your report, and the graph will underlay the sections below it. Move/resize the graph as desired.

Related Topics

How to make an object underlay a following section(s), Page 124

414

Seagate Crystal Reports User’s Guide

18 OLE

What you will find in this chapter...

OLE Objects Overview, Page 416

Inserting OLE objects in your reports, Page 418

Linked vs. Embedded Objects, Page 419

The dynamic OLE menu commands, Page 420

OLE and the Picture command, Page 421

General OLE considerations, Page 421

HANDS-ON (OLE Objects), Page 422

OLE

415

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]