Search found 13 matches

by anamika21
Thu Apr 24, 2008 12:06 pm
Forum: JFreeChart
Topic: MousecClickedEvent update
Replies: 5
Views: 11020

if u have overridden code then could u please give me that???
by anamika21
Mon Apr 21, 2008 4:18 pm
Forum: JFreeChart
Topic: MousecClickedEvent update
Replies: 5
Views: 11020

this is the code to get X,Y coordinates whenever mouse is clicked on chartPanel.. class MyChartMouseListener implements ChartMouseListener { MouseEvent tr; int x, y; double chartX, chartY; int ctrlShiftClickMask = InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK; JFreeChart cp; XYPlot scopeXYP...
by anamika21
Fri Apr 18, 2008 1:56 pm
Forum: JFreeChart
Topic: MousecClickedEvent update
Replies: 5
Views: 11020

MousecClickedEvent update

my mouselistener code is working but on the next subsequents clicks, it shows the previous clicked also.
so how can i update my mouse click?

i used scopeChartComposite.update()
but after compiling it says cant find symbol - method scopeChartComposite

how can i solve it?

Regards,
Anamika
by anamika21
Thu Apr 17, 2008 12:38 pm
Forum: JFreeChart
Topic: Problem with method
Replies: 3
Views: 3734

1) marker.setLabelOffsetType(LengthAdjustmentType.EXPAND); for the above code it says - cannot find symbol - method setLabelOffsetType(org.jfree.ui.LengthAdjustmentType) 2) marker.setLabelFont(markerLabelFont); cannot find sysmbol - variable markerLabelFont 3) marker.setStroke(markerStroke); cannot ...
by anamika21
Tue Apr 15, 2008 2:10 pm
Forum: JFreeChart
Topic: Problem with method
Replies: 3
Views: 3734

Problem with method

Hello, I have implemented the code of mouselistener but its giving some error ..i dont know what to do? marker.setLabelOffsetType(LengthAdjustmentType.EXPAND); marker.setLabelFont(markerLabelFont); marker.setStroke(markerStroke); scopeXYPlot.removeDomainMarker(marker); marker is a type of valuemarke...
by anamika21
Thu Mar 13, 2008 10:31 am
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

Hello Don, I am using BlueJ editor...and I have already included all 5 JFreeChart jars on classpath.. i have also added .... String NL = "\n"; Color markerLineColor=Color.red; but the problem is not only for this variables..but also for all the variable arguments ... marker.setLabelOffsetType(Length...
by anamika21
Wed Mar 12, 2008 4:16 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

Hello John,

Thx for the code...this would be helpful...
could you please tell me that which 'change' code you are talking abt?
and this code would be added in the last so that it would print current points
?
i am new to it so can you tell me in brief how to start with it?

Anamika
by anamika21
Tue Mar 11, 2008 1:44 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

Hello Don, I again have got problem... when i am compiling the following code... 1) marker.setLabelOffsetType(LengthAdjustmentType.EXPAND); 2) marker.setPaint(markerLineColor); 3) marker.setLabel(String.format("X: %-1.3f%sY: %-1.3f",scopeXYPlot.getDomainCrosshairValue(), NL, scopeXYPlot.getRangeCros...
by anamika21
Thu Mar 06, 2008 4:05 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

Problem with ScopeComposite

Hello Don, I have a prob in the mouselistener code.. could you please tell me what ---public class ScopeComposite extends Composite--- do? i didnt find the package org.jfree.experimental.chart.swt.ChartComposite. do i really need to implement the ScopeComposite? and do i need to make it public becau...
by anamika21
Tue Feb 26, 2008 12:54 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

Thx for the code..i have 2 question--- 1) could u also tell me that do i need to implement the following code--- ---public void chartMouseMoved(ChartMouseEvent e) for MouseListener or any other method? my requirement is only to get the points when mouse is clicked? 2) do u know any method like ToolT...
by anamika21
Mon Feb 25, 2008 5:11 pm
Forum: JFreeChart
Topic: Line Chart - MouseEvent
Replies: 6
Views: 11724

help needed

Hello civi,

could u plz tell me how did u add ChartMouseListener() on Chart Panel()
by anamika21
Mon Feb 25, 2008 3:28 pm
Forum: JFreeChart
Topic: printing the y-axis valuse from a graph
Replies: 0
Views: 3110

printing the y-axis valuse from a graph

Hello, i have one problem....i would like to get the value of y axis when i click on the mouse of any point of y axis from graph and would like to print that value... could you please tell me what method should i use? can i get some example? i also have the jfreechart-1.0.0-pre2 documentation bookle...
by anamika21
Mon Feb 25, 2008 3:22 pm
Forum: JFreeChart
Topic: Get value of a point on xy chart
Replies: 20
Views: 50117

were you able to solve the problem.. and did u add the mouse listener..if yes..could u plz also guide me for that..

anamika