This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

java JFreechart compress the line over the time period

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suppose line start at 0 point and moves forward as long as line move forward the previous line value should not be disappeared but it should began to compress itself.

 
Sheriff
Posts: 3034
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Qaiser,

I'm having some trouble understanding your question. I'm guessing you're making a line chart and you want the scale of the time axis to compress, presumably as you add more data. Is that about right? What problems are you having?

Also, please read our article on isolating the problem. Unfortunately, posting 100 lines of code or more usually scares everyone away and pretty much guarantees that no one will help you.
 
Qaiser Mehmood
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes exactly right what You said in this statement "I'm guessing you're making a line chart and you want the scale of the time axis to compress, presumably as you add more data"

any Idea will be precious for me.I am new to java charting.
 
Greg Charles
Sheriff
Posts: 3034
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this question isn't related to Java IO and since JFreeChart seems to be free and open source, I'll move this thread over to our "Other Open Source Projects" forum.

I do have a couple of a recommendations though. Start with with simplest example you can and get that working. Then gradually add features that you want it to have. If you get stuck adding a particular feature, then you can ask about that. There are few online communities as eagerly helpful as JavaRanch, but you have to provide more details than, "It's not working."
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and 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!