• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

ReScaling of Log axis using JFreeChart

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm using JFreeChart for creating logarithmic charts in my program.But when I'm zooming in some portion of the chart ,the tick mark level(numbers on Y axis) on Y Axis(which is of type LogarithmicAxis )disappears. For example when I'm zooming the portion between 10^2 and 10^3 ,I'm expecting this middle portion(On Y Axis) to be further subdivided logarithmically with new set of levels on Y axis. Is it possible to achieve using JFreeChart API if yes how can I implement this?
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bhakta, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/awt-swing/40983-rescaling-log-axis-using-jfreechart.html
edit: http://forums.oracle.com/forums/thread.jspa?threadID=2194972

Also, this isn't a Swing / AWT / SWT / JFace question.
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you "zooming in"? Post the relevant code excerpts (please UseCodeTags if you do so).
 
Bhakta Pradhan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Darryl,
I posted across many forums because I needed urgent help so that I could get some immediate response . I'm not a regular blogger so I'm very sorry if it's not in the policy of posting the same query across many forums.
 
Bhakta Pradhan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
For zooming I'm just left clicking on the chart and dragging.In the below link the given code is similar to what we have used in our project.
http://www.java2s.com/Code/Java/Chart/JFreeChartXYLogAxesDemo.htm
Kindly let me know if anyone have any idea ........
 
Trust God, but always tether your camel... to this tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!