Search found 8 matches

by noriandir
Mon Sep 10, 2012 12:28 pm
Forum: JFreeChart
Topic: Jframe not showing ContentPane
Replies: 4
Views: 4861

Re: Jframe not showing ContentPane

this is just weird...

debugging it, shows that the code breaks at JFrame.show() when exiting the if block. Eclipse shows that the Main thread isn't running any code, but the program gets stuck anyway, never exiting on his own. And obviously no chart is shown on the JFrame...
by noriandir
Thu Sep 06, 2012 9:47 am
Forum: JFreeChart
Topic: Jframe not showing ContentPane
Replies: 4
Views: 4861

Re: Jframe not showing ContentPane

Nope. That I've seen, there's no exception being thrown.
I have no idea of what could be causing this...

PS: forgot to say, but i'm using JFreeChart 1.0.14 and Java(TM) SE Runtime Environment (build 1.7.0-b147)
by noriandir
Tue Sep 04, 2012 10:57 am
Forum: JFreeChart
Topic: Jframe not showing ContentPane
Replies: 4
Views: 4861

Re: Jframe not showing ContentPane

I've already done that, and for what I've seen, no exception is being thrown. But I'll do another check...
by noriandir
Mon Sep 03, 2012 12:49 pm
Forum: JFreeChart
Topic: Jframe not showing ContentPane
Replies: 4
Views: 4861

Jframe not showing ContentPane

I have a CandleChart that I want to be saved as a PNGFile. In order to do so, I import data from a file, creating a DefaultOHLCDataset, as shown here: http://pastie.org/4655649 package model; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.FileInputStream; import java.i...
by noriandir
Tue Jul 31, 2012 11:37 am
Forum: JFreeChart
Topic: Problem with timeline
Replies: 1
Views: 2710

Re: Problem with timeline

I really didn't understood what you meant by that... =/
by noriandir
Thu Jul 26, 2012 10:41 am
Forum: JFreeChart
Topic: Problem with timeline
Replies: 1
Views: 2710

Problem with timeline

I'm having some problems with the timeline usage. When I use it, the window that should have the chart is blank. If I don't use it, it works fine but all weekends and holidays appear. I'm using a SegmentedTimeline and for the holidays I'm adding them to the exception list. here's the code: /** * * @...
by noriandir
Wed Jul 25, 2012 9:47 am
Forum: JFreeChart - Stockmarket
Topic: Drawing line segments on a CandleStickChart
Replies: 1
Views: 13059

Re: Drawing line segments on a CandleStickChart

the line segments must be horizontal. like the valuemark, but with a start and a ending defined.

alternatively, is it possible to make several "candle areas" with different background? I need to distinguish several candle groups from each other graphically...
by noriandir
Fri Jul 20, 2012 10:41 am
Forum: JFreeChart - Stockmarket
Topic: Drawing line segments on a CandleStickChart
Replies: 1
Views: 13059

Drawing line segments on a CandleStickChart

I have a CandleStickChart and I need to draw several line segments with different colours along the chart. The line segments should start at a specified candle/day and stop at another specified candle/day. Does any of you have an idea on how to do this?