Search found 14 matches

by Tony Young
Fri Nov 09, 2007 2:40 am
Forum: JFreeChart
Topic: addKeyListener
Replies: 3
Views: 5569

Hi : Taqua Thanks for your help. I've tried several times, but it didn't work. Here is my codes: public Wheeltest(String s) { super(s); OHLCDataset ohlcdataset = createDataset(); JFreeChart jfreechart = createChart(ohlcdataset); jfreechart.getXYPlot().setOrientation(PlotOrientation.VERTICAL); ChartP...
by Tony Young
Thu Nov 08, 2007 9:48 am
Forum: JFreeChart
Topic: addKeyListener
Replies: 3
Views: 5569

addKeyListener

Hi:
how can i add KeyListener to a chartPanel object?
by Tony Young
Thu Nov 08, 2007 3:10 am
Forum: JFreeChart - Stockmarket
Topic: How to use mouse wheel to zoom in(out) ?
Replies: 3
Views: 53468

How to use mouse wheel to zoom in(out) ?

Hi: JFreeChart default to zoom in(out) when the mouse is dragged, but I want to use mouse wheel to control this, so I read the source code of ChartPanel class, and copyed some methods to my class,there are getScreenDataArea() translateScreenToJava2D(Point screenPoint) zoomInBoth(double x, double y) ...
by Tony Young
Wed Nov 07, 2007 2:20 am
Forum: JFreeChart
Topic: Automatic shape scaling when zooming?
Replies: 3
Views: 4568

Re: Automatic shape scaling when zooming?

Good topic :twisted: :twisted:
by Tony Young
Tue Nov 06, 2007 4:06 am
Forum: JFreeChart - Stockmarket
Topic: Show Your Complex Stock Chart?
Replies: 13
Views: 54826

HI:
im working on a stock analysis system, would someone give some samples to me?
Thanks!
by Tony Young
Tue Nov 06, 2007 2:44 am
Forum: JFreeChart - Stockmarket
Topic: strange!!!
Replies: 6
Views: 17477

Hi:
In default way, it zoomed in(out) when I dragged the mouse
But in my program, I want to use mouse wheel to zoom in or zoom out .
So I decide to write the method by myself, but I can't get any help from the source code, will someone explain me how to do this??
by Tony Young
Mon Nov 05, 2007 8:21 am
Forum: JFreeChart - Stockmarket
Topic: strange!!!
Replies: 6
Views: 17477

Hi:jwenting
sorry....what's your meaning :shock: :shock: :shock: :shock:
by Tony Young
Mon Nov 05, 2007 7:59 am
Forum: JFreeChart
Topic: capture mouse events
Replies: 6
Views: 9138

Hi:raumaduth

:idea: I get it!
Thanks for your help :!: :!: :!: :!:
by Tony Young
Mon Nov 05, 2007 4:27 am
Forum: JFreeChart - Stockmarket
Topic: strange!!!
Replies: 6
Views: 17477

strange!!!

I've seen the codes in pakage "FC guide", I wrote a program similar with the CandlestickChartDemo1.java here is my program: public class temptest extends ApplicationFrame { public temptest(String s) { super(s); OHLCDataset ohlcdataset = createDataset(); JFreeChart jfreechart = createChart(ohlcdatase...
by Tony Young
Mon Nov 05, 2007 4:12 am
Forum: JFreeChart - Stockmarket
Topic: how can i reconzie the data in the area i chosed?
Replies: 1
Views: 8940

:idea: I've found chartPanle class.....I think I've knew what to do...................
by Tony Young
Mon Nov 05, 2007 4:10 am
Forum: JFreeChart
Topic: capture mouse events
Replies: 6
Views: 9138

Hi:raumaduth Thanks for your help. But I've found something really strange :? Here is the fragment of my program: XYPlot volPlot = new XYPlot(vol_avg_line5, null, y1Axis, xyLineRender1); XYPlot candlePlot = new XYPlot(k_line, null, y2Axis , candlesRender); Use this I created 2 XYPlot object.Then: Co...
by Tony Young
Fri Nov 02, 2007 10:56 am
Forum: JFreeChart
Topic: capture mouse events
Replies: 6
Views: 9138

capture mouse events

hi!

how can i capture mouse events?
how can i add codes to JFreeCharPanel?

help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
by Tony Young
Fri Nov 02, 2007 9:14 am
Forum: JFreeChart - Stockmarket
Topic: how can i reconzie the data in the area i chosed?
Replies: 1
Views: 8940

how can i reconzie the data in the area i chosed?

hi , in my project, on a K-Line chart, when i drag my mouse to choose an area, how can i recognize the data in this area? I want to add event listener to the plot, but there is only one method: addChangeListener() . and in org.jfree.chart.event package, there are no class used to response the mouse ...
by Tony Young
Fri Nov 02, 2007 8:38 am
Forum: JFreeChart
Topic: how can i capture a mouse event?
Replies: 0
Views: 2211

how can i capture a mouse event?

i have a XYPlot object, how can i capture a mouse event?....for instance....user dragged the mouse to choose a area on the plot.

:?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?: