Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cewolf charts

 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen the example cewolfset.jsp. I don't see the labels. Could you please help me with the below code



[ April 15, 2008: Message edited by: lakshmi manepally ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lakshmi, please make sure that you insert linebreaks in your posts. It's rather annoying that every second one of them has lines so long as to completely break the layout. Please edit your last post so that it displays correctly.
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen the example of cewolfset.jsp, but I don't see the lables . Could you please let me know, Is it possible to set like blow code ?


[ April 15, 2008: Message edited by: lakshmi manepally ]

[ April 15, 2008: Message edited by: lakshmi manepally ]
[ April 15, 2008: Message edited by: lakshmi manepally ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm, you fixed the previous post, and now you reposted the same without the fix, so that the problem persists?
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, Now I changed the code.

I have seen the example of cewolfset.jsp, but I don't see the lables . Could you please let me know, Is it possible to set like blow code ?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I think I got it now - you don't want labels like the ones shown in the example (apple, banana, etc.), you want labels for the individuals bars. It's not possible to put those directly underneath the bars. That's what the legend is for (Peter, Helga, etc. in that example).
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one question. Is there any way, I can change the size of the vertical bar charts. When the data is less the vertical bar showing very large in size. How would I do it?


Thansk for your help again.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand what you're asking. Can you give an example?
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway we can reduce the size of the charts. For example in the above example, what you have given for apples, pies, bannans and oranges of Vertical Bar. I want to make it very thin charts, basically reduce it to very thin size not so much wide.


I hope now you understand my problem.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that's possible. The width of the bars depends on the width of the image, and the number of bars. There are no controls beyond that that I'm aware of.
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the other alternative to change the width? Do you have any suggestions for that? In my code, actually for small amount of data.It is displaying very big in size of width?

could you please help me in this case?

thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you reduce the image width?
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would I do reduce the image width?
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope you understand my question?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change the image width by altering the "width" attribute of the <cewolf:img> tag.
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to get the scale on yaxis like " $10 Millons" rather than getting as 10,000,000.Is there any format for this?

Please let me know


thanks

[ April 21, 2008: Message edited by: lakshmi manepally ]
[ April 21, 2008: Message edited by: lakshmi manepally ]
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope you understand my question.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't add endless new and unrelated questions to an existing topic. We're trying to keep discussion focused on a single topic. Start a new thread instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic