Problem in creating a basic chart [message #62560] |
Fri, 29 July 2005 09:53 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Nina Li![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=nli%40actuate.com) 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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #63183 is a reply to message #63126] |
Mon, 01 August 2005 09:24 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03444 seconds