wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Setting up maximum range for X and Y axis in CeWolf Chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Setting up maximum range for X and Y axis in CeWolf Chart" Watch "Setting up maximum range for X and Y axis in CeWolf Chart" New topic
Author

Setting up maximum range for X and Y axis in CeWolf Chart

Beschi Antony
Greenhorn

Joined: Sep 02, 2008
Posts: 1
Hi all,

i am facing a problem with CeWolf Chart generation. I would like to set up the highest range for X and Y axis. But i am unable to get the expected result.


For example i have set up 600 as the highest range, but when the chart is rendered, only default range which is set by the library rendered automatically.

Please some one help me to solve this problem...

Thanks in advance.

My Data Provider Class

PageViewCountData.java:


My Chart Rendrer Page

index.jsp:




[Thumbnail for cewolf.png]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
I don't see setMinVal and setMaxVal methods in the DatasetProducer class that would accept -and subsequently make use of- those values.

But regardless, cewolf always scales the axes to accommodate the actual values; there is no way to display larger axis value without larger actual data values. I'm not even sure if the JFreeChart library (which is used by cewolf) supports that.

As an aside, you should use the cewolf distribution downloadable from the link in my signature, not the one from SourceForge.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Setting up maximum range for X and Y axis in CeWolf Chart