Search found 23 matches

by Martin
Wed Jan 18, 2006 3:42 pm
Forum: JFreeChart
Topic: Time series for intraday charts (mon-fri, 9.30 - 4.00pm)
Replies: 41
Views: 91785

Any progress?

Hi David,
did you make any progress on this issue?

Martin
by Martin
Tue Nov 22, 2005 3:30 pm
Forum: JFreeChart
Topic: String format of tooltips of a candle chart
Replies: 1
Views: 2943

String format of tooltips of a candle chart

I want to display tooltips within my candlestick chart. Therefore I created a CandlestickRenderer by the following code CandlestickRenderer candle = new CandlestickRenderer(4,false,new HighLowItemLabelGenerator(new SimpleDateFormat("dd-MM-yyyy"),new DecimalFormat("0.00"))); But the price components ...
by Martin
Fri Nov 18, 2005 3:39 pm
Forum: JFreeChart
Topic: Nearest DomainAxisValue in CombinedDomainXYPlot?
Replies: 0
Views: 2183

Nearest DomainAxisValue in CombinedDomainXYPlot?

How do I get the nearest DomainAxisValue to a mouse click in a CombinedDomainXYPlot? I constructed an CombinedDomainXYPlot based on two subplots. Within a ChartMouseListener I want to identify the nearest date value to the mouse click occurence. The getDomainCrosshairValue method delivers always 0.0...
by Martin
Mon Aug 15, 2005 10:14 am
Forum: JFreeChart - Stockmarket
Topic: How to draw candlestick chart in a combined chart
Replies: 1
Views: 9538

Candle/Volume combined chart

A combined chart is the right way. The constructor of a CandleStickRenderer contains a boolean variable whether the volume should be displayed or not. Just create a seperate plot for the volume data and create a combined chart. Here is my example code: OHLCDataset dataset=createDataset(); // creates...
by Martin
Fri Dec 03, 2004 2:28 pm
Forum: JFreeChart
Topic: DataSet Convertion
Replies: 3
Views: 3596

Hello,
what is about the following workaround to create different charttypes based on the same data:
  • put the data in a persistent vector
    set up methods to create the different datasets by looping the vector and grab the data at the relevant counter

cheers
Martin
by Martin
Thu Dec 02, 2004 5:34 pm
Forum: JFreeChart - Stockmarket
Topic: How do I mix CandleChart with a Bar Chart in the same Chart
Replies: 4
Views: 17418

Hi all, have you checked the opportunities of the XYPlot class. Check out the following methods: setDataset(int index, XYDataset dataset) mapDatasetToRangeAxis(int index, int axisIndex) setRenderer(int index, XYItemRenderer renderer) Example: OHLCDataset dataset=createDataset(); //method to create c...
by Martin
Thu Dec 02, 2004 4:00 pm
Forum: JFreeChart
Topic: Change renderer of a subplot in a CombinedDomainXYPlot conta
Replies: 0
Views: 1956

Change renderer of a subplot in a CombinedDomainXYPlot conta

Hello, I created an CombinedDomainXYPlot containing two subplots. The upper one displays a CandleStickChart of prices, while the lower one displays the traded volume as a BarChart. I want to change the upper plot to an OHLC chart by changing the renderer of it to an HighLowRenderer. The renderer of ...
by Martin
Wed Dec 01, 2004 11:59 am
Forum: JFreeChart
Topic: width of OHLC chart
Replies: 0
Views: 2039

width of OHLC chart

Hi,
I want to increase the width of an OHLC chart using the HighLowRenderer, but don't know how to realise this.
Can anyone help me?

Cheers
Martin
by Martin
Fri Sep 03, 2004 11:06 am
Forum: JFreeChart
Topic: symmetric axis around zero
Replies: 0
Views: 2181

symmetric axis around zero

Hi, I want to display a TimeSeriesChart with two range axis; one on the left and one on the right side of the chart. The two axis should be symmetric around zero so that zero lines of both axis are identical. Therefore I use the following code which works fine: /*symmetric axis around 0*/ double am0...
by Martin
Tue Aug 31, 2004 3:45 pm
Forum: JFreeChart
Topic: can YAxis have 0 in middle and auto range at the same time
Replies: 2
Views: 4730

Is this feature now supported?

Regards
Martin
by Martin
Tue Aug 17, 2004 3:36 pm
Forum: JFreeChart
Topic: SegmentedTimeline for same period across years
Replies: 0
Views: 2066

SegmentedTimeline for same period across years

Hi there, can anyone help me to set up a SegementedTimeline considering the same period across years? It should consider for example the period 1Apr to 30Jun in 2002,2003 and 2004. Further more it should be restricted to working days by using the newMondayThroughFridayTimeline factory method. Thanks...
by Martin
Fri Aug 13, 2004 3:18 pm
Forum: JFreeChart
Topic: Day and Hour for XYDataset
Replies: 3
Views: 5712

Jim, check the RegularTimePeriod.class http://www.jfree.org/jfreechart/javadoc/org/jfree/data/time/RegularTimePeriod.html In this case the Minute.class fits your needs. TimeSeries s1 = new TimeSeries("Name", Minute.class); int minute=48; int hour=2; Calendar helpdate = Calendar.getInstance(); helpda...
by Martin
Wed Aug 11, 2004 3:03 pm
Forum: JFreeChart
Topic: Day and Hour for XYDataset
Replies: 3
Views: 5712

Hi Jim, it is possible with JFreeChart. You can change the time period in the constructor towards day, month, quarter, year etc. and add data items to the series depending on the selected time period This is an example for hourly data: TimeSeries s1 = new TimeSeries("Name", Hour.class); int hour=2; ...
by Martin
Tue Jun 22, 2004 9:21 am
Forum: JFreeChart
Topic: java plugin doesn't work, help please?
Replies: 1
Views: 2747

Have you checked the browser configuration within the plugin?
The checkbox for IE within the browser menue of the plugin has to be checked.

Regards
Martin
by Martin
Tue Jun 22, 2004 8:58 am
Forum: JFreeChart
Topic: How can the date axis be used for the domain and range axis?
Replies: 2
Views: 4187

Can someone please tell me , how can the date axis be used for the domain and range axis in a XY Plot . It says so in the developer guide but the implementation hasnt been specified. You can simply select the date axis within the constructor of an XYplot for both domain and range axis: XYPlot myPlo...