First off I'd like to say that I actually like alot of the API changes that were made.
But I have been porting my stuff from 0.9.4 to 0.9.5 and have come across some issues.
1 - When shapes are rendered they are assumed to be 6x6 which is not always the case, and in my particular case it means that the shapes are drawn in the wrong position. (LineAndShapeRenderer)
2 - When I set the category colours for a LineAndShapeRenderer, I don't expect the line to change colour, but just the shape. I also would expect for another method that allows me the change the line colour. (Should I add this myself, or has it already been done ?)
3 - I am also no longer seeing any of the category names being displayed at the bottom of the chart in a vertical category plot.
I am using the OverlaidCategoryPlot.
Thanks.
Mof.
some 0.9.5 issues.
Re: some 0.9.5 issues.
Also I have noticed that the AreaRenderer doesn't render correctly for me.
I get gaps between each category, which makes it look more like a wierd bar graph
.
I wonder if this has anything to do with the OverlaidCategoryPlot ?.....
Mof.
I get gaps between each category, which makes it look more like a wierd bar graph

I wonder if this has anything to do with the OverlaidCategoryPlot ?.....
Mof.
Re: some 0.9.5 issues.
Mof wrote:
> 1 - When shapes are rendered they are assumed to be 6x6 which
> is not always the case, and in my particular case it means
> that the shapes are drawn in the wrong position.
> (LineAndShapeRenderer)
There's no assumption about the size, only that the shape is *centered* at (0, 0).
> 2 - When I set the category colours for a
> LineAndShapeRenderer, I don't expect the line to change
> colour, but just the shape. I also would expect for another
> method that allows me the change the line colour. (Should I
> add this myself, or has it already been done ?)
The series color is used for both, since the renderer can display lines only, or shapes only, or lines AND shapes.
> 3 - I am also no longer seeing any of the category names
> being displayed at the bottom of the chart in a vertical
> category plot.
I've added this to the bug database (id 684455) on SourceForge.
Regards,
Dave Gilbert
> 1 - When shapes are rendered they are assumed to be 6x6 which
> is not always the case, and in my particular case it means
> that the shapes are drawn in the wrong position.
> (LineAndShapeRenderer)
There's no assumption about the size, only that the shape is *centered* at (0, 0).
> 2 - When I set the category colours for a
> LineAndShapeRenderer, I don't expect the line to change
> colour, but just the shape. I also would expect for another
> method that allows me the change the line colour. (Should I
> add this myself, or has it already been done ?)
The series color is used for both, since the renderer can display lines only, or shapes only, or lines AND shapes.
> 3 - I am also no longer seeing any of the category names
> being displayed at the bottom of the chart in a vertical
> category plot.
I've added this to the bug database (id 684455) on SourceForge.
Regards,
Dave Gilbert
Re: some 0.9.5 issues.
There have been some changes in the renderer. Now the area is drawn as a sequence of polygons. You need to make sure the category gaps are set to zero (controlled by the axis):
domainAxis.setCategoryMargin(0.0);
Regards,
Dave Gilbert
domainAxis.setCategoryMargin(0.0);
Regards,
Dave Gilbert
Re: some 0.9.5 issues.
The problem with this solution is that when I try to render a bar chart on the same axis, the bars are all stuck next to each other.
Mof.
Mof.