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

ReScaling of Log axis using JFreeChart

 
Bhakta Pradhan
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?
 
Darryl Burke
Bartender
Posts: 5147
11
Java Netbeans IDE Opera
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • 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 ........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic