• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JFreeChart larg dataset

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
creating a bar chart for my database every things work ,except one thing the data from DB is large so the bars look tiny . i used scroll pane but that didn't work so help her is my chart creator



and my chart panel



her is a pic for clarification
Capture.PNG
[Thumbnail for Capture.PNG]
 
Saloon Keeper
Posts: 7582
176
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You mean that the red and green values don't show because they're comparatively small? You could try a logarithmic scale instead of a linear one, or maybe use two charts instead of one, with different max values.
 
ayoub belkas
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:You mean that the red and green values don't show because they're comparatively small? You could try a logarithmic scale instead of a linear one, or maybe use two charts instead of one, with different max values.


o no
the bleu and the red are zero so the don't show ate all
i am asking for somthing that will extend the X axis to make it readable
 
Tim Moores
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could use a custom domain axis that shows only selected values, thus ensuring they're legible.

You could also rotate the labels by 45 or 90 degrees so they're not drawn on top of one another.
 
reply
    Bookmark Topic Watch Topic
  • New Topic