Skip to main content



      Home
Home » Archived » BIRT » Problems creating a basic pie chart
Problems creating a basic pie chart [message #63206] Mon, 01 August 2005 05:44 Go to next message
Eclipse UserFriend
Originally posted by: mugunthal.hexaware.com

Hi,

I've flat file like

Metal Percentage
iron 33
copper 52
gold 15

I tried creating a pie chart. Th flat file is read thru the output columns
tab of Edit data set dialog box. Then I gave the following values for the
fields :

Base series
Data Definitions : row["Percentage"]
Orthogonal series
Data Definitions : row["Metal"]

Am i correct with the procedure of creating a pie chart. If not pls
correct me

Thanks in advance

Refards
Mugunth
Re: Problems creating a basic pie chart [message #63256 is a reply to message #63206] Mon, 01 August 2005 08:24 Go to previous message
Eclipse UserFriend
Hi Mugunth,

You have interverted the two series. The base series should be the metal,
and the orthogonal series the percentage. Orthogonal series must be
numerical. Note that since you are using a flat file datasource you need to
specify the column type in the second row, and set "Use second line as data
type indicator" in the datasource.

Metal Percentage
STRING INT
iron 33
copper 52
gold 15

Thanks,

David

"Mugunth" <mugunthal@hexaware.com> wrote in message
news:b76efa6650f687027ec3c48645db46b9$1@www.eclipse.org...
> Hi,
>
> I've flat file like
>
> Metal Percentage
> iron 33
> copper 52
> gold 15
>
> I tried creating a pie chart. Th flat file is read thru the output columns
> tab of Edit data set dialog box. Then I gave the following values for the
> fields :
> Base series
> Data Definitions : row["Percentage"]
> Orthogonal series Data Definitions : row["Metal"]
>
> Am i correct with the procedure of creating a pie chart. If not pls
> correct me
>
> Thanks in advance
>
> Refards
> Mugunth
>
Previous Topic:Problems with PDF
Next Topic:Cross-platform charting using SWT
Goto Forum:
  


Current Time: Tue May 06 19:12:12 EDT 2025

Powered by FUDForum. Page generated in 0.03547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top