Search found 8 matches
- Tue Jan 07, 2014 8:30 am
- Forum: JFreeChart
- Topic: Can't change LineAndShapeRenderer Colours!
- Replies: 8
- Views: 10013
Re: Can't change LineAndShapeRenderer Colours!
Hi guys, thanks a lot for all you responses. Will making me more informed of JFreeChart I have also solved the issue - it was because I only had one renderer. I had overlooked this and for some reason thought I had changed it from alg.addDataSet(ds, areaR, 0); to alg.addDataSet(ds, new AreaRenderer(...
- Mon Jan 06, 2014 11:39 am
- Forum: JFreeChart
- Topic: Can't change LineAndShapeRenderer Colours!
- Replies: 8
- Views: 10013
Re: Can't change LineAndShapeRenderer Colours!
Thanks for the reply and patience with my messy code david.gilbert.
So I need a series for each dataset? When I have looked into this it looks as though I create a series as opposed to a dataset. Could you possibly give a small example in-line with my current creation of datasets explaining this?
So I need a series for each dataset? When I have looked into this it looks as though I create a series as opposed to a dataset. Could you possibly give a small example in-line with my current creation of datasets explaining this?
- Sun Jan 05, 2014 8:08 pm
- Forum: JFreeChart
- Topic: Can't change LineAndShapeRenderer Colours!
- Replies: 8
- Views: 10013
Re: Can't change LineAndShapeRenderer Colours!
Hi Paradoxoff and thanks for your response. I have edited my initial post to include a snippet from my main class which shows the method creating the graph as well as another isNum method I call. I figured out why the example code I quoted was outputting lines with different colours - because each l...
- Sun Jan 05, 2014 12:50 pm
- Forum: JFreeChart
- Topic: Can't change LineAndShapeRenderer Colours!
- Replies: 8
- Views: 10013
Can't change LineAndShapeRenderer Colours!
Hi there! Ok so I have a project for work which aims to provide an application to display response time/call volumes for online server. I have all of the backend complete where I retrieve/format stats to feed into graphs. I am stuck on **changing the color of the lines!*, which is strange because li...
- Mon Dec 30, 2013 10:10 am
- Forum: JFreeChart
- Topic: Stacked area chart is split into bars
- Replies: 3
- Views: 6146
Re:
frame.getChartPanel().getChart().getCategoryPlot().getDomainAxis().setCategoryMargin(0); I think this would work I was having the same issue, scoured the API/code but couldn't figure out what I was doing wrong. I confirm your solution works :). I personally used this: plot.getDomainAxis().setCatego...
- Wed Dec 18, 2013 2:02 pm
- Forum: JFreeChart
- Topic: Advice needed
- Replies: 4
- Views: 5675
Re: Advice needed
Thanks for your further response Gxd. Absolute God-send!
- Fri Dec 13, 2013 11:19 pm
- Forum: JFreeChart
- Topic: Advice needed
- Replies: 4
- Views: 5675
Re: Advice needed
Thanks for the response Gxd.
I will now study the API to see how to create render/add multiple render. Can't seem to find a good example to use....
EDIT: Typo
I will now study the API to see how to create render/add multiple render. Can't seem to find a good example to use....
EDIT: Typo
- Tue Dec 10, 2013 2:46 pm
- Forum: JFreeChart
- Topic: Advice needed
- Replies: 4
- Views: 5675
Advice needed
Hi there,
I am looking to identify which type of chart/graph I need to create with JFree to create the following graph?

EDIT: I have checked out each graph in the JFree demo, but could not find one similar.
I am looking to identify which type of chart/graph I need to create with JFree to create the following graph?

EDIT: I have checked out each graph in the JFree demo, but could not find one similar.