Skip to main content



      Home
Home » Archived » BIRT » problems creating a bar chart
problems creating a bar chart [message #54405] Wed, 06 July 2005 11:19 Go to next message
Eclipse UserFriend
Hi list,

I'm sorry to bother you again...
did anyone experienced problems while creating bar charts?
I have data like this:

name value
-----------------
name1 12
name2 7
name3 78

I try putting the names on the x-axis, the values on the y-axis. After
some formats and clicking OK, eclipse always hangs up. Unfortunately there
is no message in the logs so I don't have any idea what happens.
Same data in pie charts or tables work fine.
Anyone has an idea?
Thanks in advance,
Florian
Re: problems creating a bar chart [message #54435 is a reply to message #54405] Wed, 06 July 2005 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.none.com

Hi Florian

This is probably a bug caused by some singularity in the data or some
formatting problem. There are three things you can do:
- try with different chart types (stacked bar/percent stacked bar/line
chart/stack line/percent stack), to see if it's related to the type
- try without any formatting (only databinding) to see if this is due to
some formatting attribute
- check your data for any strange value (null, overflow, ...)

Then you can file a defect in bugzilla. But we need a reproducable test case
to fix it, so if the data is causing the issue, please attach some data (or
description of data pattern) that allows to reproduce the problem.

Thanks,

David




"Florian Schaefer" <fschaefer@ita-logistics.com> wrote in message
news:e489284f746fe904daa9d84960dd5a4a$1@www.eclipse.org...
> Hi list,
>
> I'm sorry to bother you again...
> did anyone experienced problems while creating bar charts?
> I have data like this:
>
> name value
> -----------------
> name1 12
> name2 7
> name3 78
>
> I try putting the names on the x-axis, the values on the y-axis. After
> some formats and clicking OK, eclipse always hangs up. Unfortunately there
> is no message in the logs so I don't have any idea what happens.
> Same data in pie charts or tables work fine.
> Anyone has an idea?
> Thanks in advance,
> Florian
>
>
Re: problems creating a bar chart [message #54696 is a reply to message #54435] Thu, 07 July 2005 05:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

tried different types of charts,
didn't format anything,
checked my values, no strange data,
used data from the sample database

result --> doesn't work...

installed version 1.0.1M1 --> works...

But now I have problems with the master page, it always tells me something
about invalid values for margins. They are preset with
left/top/right/bottom 100,00/1,00/100,00/1,00 in. When I try to change
them to e.g. 0, I get an error, logged like this:

!ENTRY org.eclipse.ui 4 0 Jul 07, 2005 11:22:40.390
!MESSAGE For input string: "0,00"
!STACK 0
java.lang.NumberFormatException: For input string: "0,00"
at
java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
at
java.lang.FloatingDecimal.readJavaFormatString(FloatingDecim al.java:1207)
at java.lang.Double.parseDouble(Double.java:220)
at
org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner.getSelection(Spinner.java:365)
at
org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner.fireValueChanged(Spinner.java:195)
at
org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner$4.focusLost(Spinner.java:138)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:108)

I still can create charts and everything but they are not displayed
anymore in the layout view because of this f****** master page, I'm near
to explode...:-(
Re: problems creating a bar chart [message #55851 is a reply to message #54696] Mon, 11 July 2005 04:32 Go to previous message
Eclipse UserFriend
Originally posted by: none.none.com

Hi Florian,

Which version of Eclipse are you using? 1.0 should work fine with Eclipse
3.0.1 (double check the install instructions
http://www.eclipse.org/birt/index.php?page=build/install.htm l)

Which locale are you in? If you are not in US locale, try starting Eclipse
with US locale (eclipse.exe -nl en_US), and see if it solves the issue. In
any case, please file a defect in bugzilla so we can fix it.
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=BIRT

Thanks,

David

"Florian Schaefer" <fschaefer@ita-logistics.com> wrote in message
news:7d7820c880354fb4d41b0050ac25b2e0$1@www.eclipse.org...
> Hi David,
>
> tried different types of charts,
> didn't format anything,
> checked my values, no strange data,
> used data from the sample database
> result --> doesn't work...
>
> installed version 1.0.1M1 --> works...
>
> But now I have problems with the master page, it always tells me something
> about invalid values for margins. They are preset with
> left/top/right/bottom 100,00/1,00/100,00/1,00 in. When I try to change
> them to e.g. 0, I get an error, logged like this:
>
> !ENTRY org.eclipse.ui 4 0 Jul 07, 2005 11:22:40.390
> !MESSAGE For input string: "0,00"
> !STACK 0
> java.lang.NumberFormatException: For input string: "0,00"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatE xception.java:48)
> at
> java.lang.FloatingDecimal.readJavaFormatString(FloatingDecim al.java:1207)
> at java.lang.Double.parseDouble(Double.java:220)
> at
> org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner.getSelection(Spinner.java:365)
> at
> org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner.fireValueChanged(Spinner.java:195)
> at
> org.eclipse.birt.report.designer.internal.ui.views.attribute s.widget.Spinner$4.focusLost(Spinner.java:138)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:108)
>
> I still can create charts and everything but they are not displayed
> anymore in the layout view because of this f****** master page, I'm near
> to explode...:-(
>
Previous Topic:Week Interval - Bug or Feature?
Next Topic:data order in a pie chart
Goto Forum:
  


Current Time: Fri Apr 25 21:35:56 EDT 2025

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

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

Back to the top