Search found 13 matches
- Thu Apr 24, 2008 12:06 pm
- Forum: JFreeChart
- Topic: MousecClickedEvent update
- Replies: 5
- Views: 11020
- 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...
- 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
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
- 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 ...
- 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...
- 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...
- Wed Mar 12, 2008 4:16 pm
- Forum: JFreeChart
- Topic: Get value of a point on xy chart
- Replies: 20
- Views: 50117
- 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...
- 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...
- 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...
- 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()
could u plz tell me how did u add ChartMouseListener() on Chart Panel()
- 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...
- Mon Feb 25, 2008 3:22 pm
- Forum: JFreeChart
- Topic: Get value of a point on xy chart
- Replies: 20
- Views: 50117