Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problem in creating a basic chart
Problem in creating a basic chart [message #62560] Fri, 29 July 2005 09:53 Go to next message
Eclipse UserFriend
Originally posted by: mugunthal.hexaware.com

Hi,

I am a new user to Eclipse and BIRT. I tried building a simple listing
report
following the Tutorial 1 : Building a simple listing report of BIRT
developer
guide. I was able to succeed in that.

Next, I tried creating a basic chart folowing the BIRT developer guide. As
I
did not have a database at that time I created a flat file data source for
which I created a .csv file containing Year, City and Population similar
to the
table in the "Creating a basic chart" of BIRT developer guide.

I created the data set using the flat file data source name and I selected
the
3 columns (i.e Year, City and Population) and I previewed the results. The
table was fetched and the data values were displayed. Then bar chart
element was inserted, specified the data set, specified the sample data
given in the guide for the bar chart using a y series grouping key as per
the guide. The chart design appeared in the layout similar to the one
given in the guide.

Next when I clicked preview an error message like

There are errors on the report page:
Error1:Failed to render Chart
Unable to compute a percent/stacked axis containing non-numerical data

could anyone help me in this regard

Thanks in advance
Mugunth
Re: Problem in creating a basic chart [message #62640 is a reply to message #62560] Fri, 29 July 2005 11:21 Go to previous messageGo to next message
Nina Li is currently offline Nina LiFriend
Messages: 44
Registered: July 2009
Member
Greeting,

If you selected the 1st (stacked) or 2nd (percent stacked) subtype of bar
chart, please make sure that the data type of row["Population"] is numeric.

Cheers.

Regards,
Nina

"Mugunth" <mugunthal@hexaware.com> wrote in message
news:b9ec167eb8513c42de19e394888ac82b$1@www.eclipse.org...
> Hi,
>
> I am a new user to Eclipse and BIRT. I tried building a simple listing
> report following the Tutorial 1 : Building a simple listing report of BIRT
> developer guide. I was able to succeed in that.
>
> Next, I tried creating a basic chart folowing the BIRT developer guide. As
> I did not have a database at that time I created a flat file data source
> for
> which I created a .csv file containing Year, City and Population similar
> to the
> table in the "Creating a basic chart" of BIRT developer guide.
>
> I created the data set using the flat file data source name and I selected
> the 3 columns (i.e Year, City and Population) and I previewed the results.
> The table was fetched and the data values were displayed. Then bar chart
> element was inserted, specified the data set, specified the sample data
> given in the guide for the bar chart using a y series grouping key as per
> the guide. The chart design appeared in the layout similar to the one
> given in the guide.
>
> Next when I clicked preview an error message like
>
> There are errors on the report page:
> Error1:Failed to render Chart
> Unable to compute a percent/stacked axis containing non-numerical data
>
> could anyone help me in this regard
>
> Thanks in advance
> Mugunth
>
>
Re: Problem in creating a basic chart [message #62664 is a reply to message #62640] Fri, 29 July 2005 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mugutnhal.hexaware.com

Hi,

But how to make the datatype of row["Population"] as numeric via the chart
dialog.

In the output columns of Edit data set dialog box the data type of
Population is String. I think what u are trying to convey is to change the
datatype by there itself. But could you help me in this regard

Thanks in advance

Cheers
Mugunth
Re: Problem in creating a basic chart [message #62833 is a reply to message #62664] Sat, 30 July 2005 07:03 Go to previous messageGo to next message
Nina Li is currently offline Nina LiFriend
Messages: 44
Registered: July 2009
Member
Greeting,

The data type should be modified by following the steps below:

1. In the second line of your Flatfile, designate the data type for the
columns (Please see the attached file for more information).
2. Invoke Edit Data Source Dialog in Data Explorer, and then tick "Use
second line as data type indicator".

Cheers.

Regards,
Nina


"Mugunth" <mugutnhal@hexaware.com> wrote in message
news:cec16bc03aacd59cf134d93089900e0e$1@www.eclipse.org...
> Hi,
>
> But how to make the datatype of row["Population"] as numeric via the chart
> dialog.
>
> In the output columns of Edit data set dialog box the data type of
> Population is String. I think what u are trying to convey is to change the
> datatype by there itself. But could you help me in this regard
>
> Thanks in advance
>
> Cheers
> Mugunth
>


Re: Problem in creating a basic chart [message #63126 is a reply to message #62833] Mon, 01 August 2005 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mugunthal.hexaware.com

Hi,

I could not see the attachment. Its looks something like :


So pls could u send me the attachment to me by mail.
My mail id is mugunthal@hexaware.com

Thanks in advance
Muugnth
Re: Problem in creating a basic chart [message #63183 is a reply to message #63126] Mon, 01 August 2005 09:24 Go to previous message
Eclipse UserFriend
Originally posted by: mugunthal.hexaware.com

Hi,

With your help I was able to successfully execute the tutorial of creating
a basic chart.Thank you very much. Do u have any tutorial sort of thing
for creating Line chart and pie chart..

If so cud u send me that..??

Thanks in advance

Regards
Mugunth
Previous Topic:"There are error(s) in Table:null " ?
Next Topic:Problems with PDF
Goto Forum:
  


Current Time: Sat Aug 31 23:38:07 GMT 2024

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

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

Back to the top