File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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)
I agree. Here's the link:
subject: Chart problem
Similar Threads
Capturing the X & Y values in a mousemoved event
For those who've used JClass Chart, how do I load data using a TableModel for x axis
Problem with displaying an histogramm with Cewolf
JFreeChart - How to define custom maximum value of axis
Setting labels for the X & Y axis of a chart