Yep
that was it,
Java event handlers must execute in a somewhat restrictive way. the charts would not update until the event handler was finished. I wrapped the instantiation of the chart and the subsequent data updates into a threat and it worked beautifully.
thanks.
Giorgio
Search found 10 matches
- Wed Dec 18, 2013 1:03 am
- Forum: JFreeChart
- Topic: very weird frame updating issue
- Replies: 3
- Views: 4760
- Sun Dec 15, 2013 10:45 pm
- Forum: JFreeChart
- Topic: very weird frame updating issue
- Replies: 3
- Views: 4760
Re: very weird frame updating issue
also, note that it's not just the charts that don't display, but also some of the other panels that hold various JLabels and JTextFields. basically, it just a blank frame.
this seems to suggest this is a java issue not a JFreeChart one. Hopefully someone ran into this before and has a way around it.
this seems to suggest this is a java issue not a JFreeChart one. Hopefully someone ran into this before and has a way around it.
- Sun Dec 15, 2013 10:40 pm
- Forum: JFreeChart
- Topic: very weird frame updating issue
- Replies: 3
- Views: 4760
very weird frame updating issue
Hi everyone. would like to share an issue I am having and see if anyone has any ideas. admittedly this may be more a java issue then a Jfreegraph one, but just in case let me explain. I have created a rather complex graph that updates dynamically during runtime as per the code snippet below. within ...
- Sun Dec 15, 2013 10:06 pm
- Forum: JFreeChart
- Topic: Aligning domain axis with histogram bins
- Replies: 4
- Views: 7941
Re: Aligning domain axis with histogram bins
HI all
I wanted to try and get some additional help with this. See figure below.

can anyone suggest how I can move the tickmarks and /or the labels on the x-axis to be in the center of each of the histogram bins?
I wanted to try and get some additional help with this. See figure below.

can anyone suggest how I can move the tickmarks and /or the labels on the x-axis to be in the center of each of the histogram bins?
- Sun Dec 15, 2013 3:37 am
- Forum: JFreeChart
- Topic: Advice needed
- Replies: 4
- Views: 5685
Re: Advice needed
Here check these out You should be able to use the overlaid example as your skeleton http://www.java2s.com/Code/Java/Chart/JFreeChartOverlaidBarChartDemo.htm Then you just need to replace the bar graph with an area data series and renderer as you can see here. http://www.java2s.com/Code/Java/Chart/J...
- Fri Dec 13, 2013 3:59 am
- Forum: JFreeChart
- Topic: Advice needed
- Replies: 4
- Views: 5685
Re: Advice needed
Hi Yes you can create this graph. You just need to use two different data renderers. Use an area fill for the data series with the shaded in region, and use a standard line renderer for the other data sets. Your domain axis (x-axis) will likely need to be set up as a category plot since it not reall...
- Sun Dec 08, 2013 10:25 pm
- Forum: JFreeChart
- Topic: posting pictures on this forum
- Replies: 1
- Views: 2817
posting pictures on this forum
All
very dumb question I am sure, but how do I post pictures on this forum? do I have to reference them as url's or is there n actual way to upload them?
very dumb question I am sure, but how do I post pictures on this forum? do I have to reference them as url's or is there n actual way to upload them?
- Tue Dec 03, 2013 3:25 am
- Forum: JFreeChart
- Topic: Aligning domain axis with histogram bins
- Replies: 4
- Views: 7941
Re: Aligning domain axis with histogram bins
one more related question while I am at it. as you may notice from my previous code I am making a call to renderer.setOutlineStroke(new BasicStroke(0.5f)); //these are deprecated by they work. not sure what to use in their place renderer.setOutlinePaint(Color.black); these functions are however depr...
- Tue Dec 03, 2013 3:23 am
- Forum: JFreeChart
- Topic: Aligning domain axis with histogram bins
- Replies: 4
- Views: 7941
Aligning domain axis with histogram bins
All would like to seek a little help and see if what I am trying to do is even doable. I am plotting a histogram as per source code snippet below public GARunStatisticsHistogramPanel(GAMultiRunStatisticsObject MSO) { //create the histogram data this.MSO = MSO; dataset = new HistogramDataset(); datas...
- Tue Dec 03, 2013 3:02 am
- Forum: JFreeChart
- Topic: Plots with large values (10^15+)
- Replies: 3
- Views: 6832
Re: Plots with large values (10^15+)
Hi everyone This was a great threat as I too have run into a similar issue. I am using Jfreechart version 1.0.16. I am trying to plot scatter chart with data in which the domain axis (X-axis) can have very large values; larger than 2^32, thus exceeding the capacity of float primitives. At first I wa...