JFreeChart 1.0.11

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
agscontact
Posts: 13
Joined: Mon Dec 01, 2008 4:31 am

renderer method call taking time

Post by agscontact » Mon Dec 22, 2008 1:40 pm

why setSeriesItemLabelsVisible(int,boolean),setSeriesItemLabelPaint(int,Color) methods are taking more time than release 9???each method call for renderer is taking more than 1.6 ms ...before when i was using version 9 ..it was 0.0 ms...

logicauser1
Posts: 4
Joined: Mon Dec 15, 2008 4:07 pm

Functionality Available in new upgrade

Post by logicauser1 » Mon Dec 22, 2008 2:16 pm

Hi David,

As i'm currently analyzing the impact of the upgrade from Jfreechart 0.9.6.jar & jcommon 0.7.2.jar to Jfreechart 10.0.11.jar
jcommon 10.0.14.jar. I've made a list of the old requirements and some additional new requirements. What i want to know if each of the listed requirement is available in the new upgrade.

existing old requirements

FunctionalityAvailable new Upgrade (yes/no) ?

1 graph has a fixed width

2 There will be made use of
the Jfreechart.jar.libary.
Additional a servlet
a jsp, a parameter class and
a custom (custom) chart-class
* Graph income per age category *
3 The graph is a global representation of the income
presented in the text at the age categories

4 Graphically the income per year per age category is
represented
The graph consists out of an X- and Y- axis

5 The X-axis shows the age categories for the participant in
Years, the Y-axis shows the height of the gross yearly
(pension) income for that age category in Euro.


6 The height of the columns is determined by the height
of the income for that age category
All age categories have the same width on the X-axis The title of the X-axis is ‘leeftijd’. The name of the Y-axis
is ‘Euro’

7 The first column is different from the textual overview of the
age categories.This column should represent the Pension
Salary on which the pension is based, as presented in the
header

8 The next columns represent the total gross year Pension
Income per age category. The Pension Salary is presented in
a different color in the graph.

9 ‘Pensioentekort’ or Pension Shortage is also represented in the
graph.

10 When the Pension Income for that age category is less than
70% of the Pension
Salary the difference for that age category is added to the
column in a different color (see legend).

11 Part of the income of that age category that stems from
arrangements
filled in at the ‘overige regelingen’ page is also represented in
the graph in a different color (see legend).

12 The graph is only shown when a Pension Salary is present for
the participant

Legend
13 The use of colors is explained in the legend of the graph.
13 a Every possible color is explained in the legend even if the
color is not present in the graph.

Color code Color name
Dark Blue
Blue
#D2F0FA Light Blue
Red


Additional requirements Graph & Table

14 The word ‘Euro’ is on the vertical axis and the word ‘leeftijd’ is
on the horizontal axis.
For the Participant portal these words shouldn’t be on the axis

15 The square around the legend shouldn’t be there

Sizes of the
16 The graphs are to wide and to low according to Aegon. They
should look like the ones in APS Redesign Style elements V0.1

Font type & Font size
17 The font type of the graph and legend should be verdana and
the font size is 11pts.

Screen elements CalculatorGraphBefore and CalculatorGraphAfter

18 CalculatorGraphBefore will display the pension before the
changes are calculated (current situation) and the
CalculatorGraphAfter will display the pension after the changes
are calculated.
19 The first bar from the left represent the pension salary.
20 The other stacked bars contain the information with respect to
the pension itself.
21 The medium blue part in the stacked bar represents the total
amount for the pension within the category
22 the light blue part represents the pension amount received
from other insurances, besides the pension insurances (e.g.
Levensloop insurance)
23 the red part represents the pension shortage
24 If the result is less than or equal to 0 the red bar is not
displayed in the graph
25 The same goes for the other bars if the amount is zero or less
than 0 then the bars are not shown

26 The bars are order from left to right by <from age>, the
lowest <from age> for the most left bar,
the highest <from age> for the most right bar, if from age is
null (empty), this should be treated as 0 (zero).
If the <to age> is null (empty) this should be treated as
infinity (∞).


new additional graph object requirements

available in new upgrade (yes/no)

1 Total graph width of 364 pixels

2 Left margin 1 pixel
3 Space First column (bar)> 7 pixels
4 pixel width column 1 >86 pixels
5 Space between column 1 and 2 > 1 pixel
6 1 pixel space between column 2 and column 3
7 86 pixels width of column 3
8 1 pixel space between column 3 and column 4
9 86 pixels width of column 4
10 7 pixels space after the last column
11 1 pixel for the right margin
12 The graphs should not be too wide and too low
13 The legend has a black border, this should be
changed to the color of the border to the color of the
background

14 The ability to fix The width of the column

15 The width of the column should not be dependended on the
amount of columns

Please advise.

Thanks,

AK

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Dec 30, 2008 12:07 pm

I offer consulting services if you'd like assistance with preparing your impact analysis.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked