• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JFree - Bubble Chart Axis

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Can anybody tell me if I can have the axis in my bubble chart at any value otherthan 0 or the 4 edges of my graph. I need to create a chart(bubble) where my axis (both domain and range) are at the center of the graph while the extremes of the two axis may not be symmetric about 0.

Ex: My Domain is : -2 to 8
My Range is 4 to 8
I need my axis to be displayed at 3 (domain) and 6 (range).
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't do that with the axes, but you can set markers (org.jfree.chart.plot.Marker, especially org.jfree.chart.plot.ValueMarker) to highlight individual values on both the domain and the value axis. That looks pretty similar to axes.

CategoryPlot and XYPlot support this through their addDomainMarker and addRangeMarker methods.
 
Aditya Keyal
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. Didnt quite solve the problem but a viable alternative.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic