This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Chart problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Chart problem" Watch "Chart problem" New topic

Chart problem

Meghna ks
Ranch Hand

Joined: Mar 15, 2001
Posts: 122
I've designed a line chart using the swing component JChart.
1.Now, when the mouse is moved over the chart, I need to capture the X & Y Values & display it on a label. How do I do this ?!!
2. How do I set the X & Y labels for the chart ?!! something like a rowheader in a table(X axis) & column header(X axis)
It is sorta covered in the JavaRanch Style Guide.
subject: Chart problem