This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript 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
  • 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

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."
 
Anderson gave himself the promotion. So I gave myself 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!