Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to fix y-axis values in chart(How to fix y-axis values in chart)
How to fix y-axis values in chart [message #1014422] Mon, 25 February 2013 19:42 Go to next message
A R is currently offline A RFriend
Messages: 104
Registered: April 2012
Senior Member
I have following output from dataset.

No of Consumers No of Services
2+ 1
1 1
0 3

Here the values 'No of Consumers' I am caluculating for the 3 values (2+, 1, 0) that are showed in above table.

When I am adding dataset to chart I am getting the warning " The data type of row["TOTAL_CONSUMERS"] is incompatible with Bar Series, please correct the expression." and when I exeute I am getting the default scale of y-axis.

Please suggest how ca I fix the axis.

Let me know if any information required from me.

Thanks
AR
Re: How to fix y-axis values in chart [message #1014643 is a reply to message #1014422] Tue, 26 February 2013 07:56 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

From the sounds of your error, your field that you're putting for the y-series is a string. If you're using the 0, 1, 2+ field, be sure to remove the '+'. You can add the '+' back in script. Let me know if I'm misunderstanding you.

Michael

Developer Evangelist, Silanis
Re: How to fix y-axis values in chart [message #1014965 is a reply to message #1014643] Tue, 26 February 2013 23:22 Go to previous messageGo to next message
A R is currently offline A RFriend
Messages: 104
Registered: April 2012
Senior Member
That's correct William,

I am trying to show in my graph

- No of services that are having no consumers (0)
- Services that are having 1 consumer (1)
- Services that are having more that 2 or 2+ consumers (2+)

Thanks
AR
Re: How to fix y-axis values in chart [message #1015281 is a reply to message #1014965] Thu, 28 February 2013 02:53 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

I thought I had an example in the BIRT Exchange devShare, for this, but I cannot find it. What is your BIRT version again, I'll make one? I know I've asked you a million times, but I just can't remember. Smile

Michael

Developer Evangelist, Silanis
Previous Topic:Dynamic Page Break
Next Topic:Chart: how to group column in birt chart ?
Goto Forum:
  


Current Time: Fri Feb 03 03:43:09 GMT 2023

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

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

Back to the top