Search found 46 matches

by reboot
Thu Apr 09, 2009 10:51 am
Forum: JFreeChart
Topic: a simple framework to use jfreechart, is useless or usefull?
Replies: 7
Views: 4806

Re: a simple framework to use jfreechart, is useless or usefull?

Released a new Version, now is possible to add data into the chart using a ComparableElement with 2 different constructor. I have embended this object to manage the not natural sorting order . For example if u 'd like to create a chart about the money spent for each month. Now is possible to create ...
by reboot
Mon Apr 06, 2009 4:35 pm
Forum: JFreeChart
Topic: assign color to series by its name not positionally
Replies: 1
Views: 1961

assign color to series by its name not positionally

Greretings!! well i got a problem! i need to associate to a series a color, but i need to identify the series by its name and associate a color. I saw the metod from the AbstractRenderer. setSeriesPaint, but it want the color and the int position of the series, how can i retrive the series position ...
by reboot
Thu Mar 26, 2009 12:44 pm
Forum: JFreeChart
Topic: Problem in displaying graph in a jsp
Replies: 7
Views: 7140

Re: Problem in displaying graph in a jsp

may be that u have to close and flush the outputstream. I think is better if u create a specilized class to cerate the chart and come back it calling this class by the action... to have a clean code.
by reboot
Mon Mar 23, 2009 6:04 pm
Forum: JFreeChart
Topic: Labels on line chart
Replies: 6
Views: 7266

Re: Labels on line chart

i think that u can only enable the lenged, assuming that each line is showed in the legend. Or u can add to the value labels, the series name before it, for each point in the line chart... to have at the end of each line the series name, u'd overwrite the render method... where if u are lableing the...
by reboot
Mon Mar 23, 2009 10:41 am
Forum: JFreeChart
Topic: Transparency & Percentage Scaling in a Histogram
Replies: 3
Views: 4832

Re: Transparency & Percentage Scaling in a Histogram

Well the color is not so bad, u'd play a little bit with the exadecimal value.. when u overlap too much series usually the image loss of visibility. May be that u must assign a specific color for each value, that do not create broblem if overlapped. For the tick values on the Y axis, i have read som...
by reboot
Fri Mar 20, 2009 5:41 pm
Forum: JFreeChart
Topic: Transparency & Percentage Scaling in a Histogram
Replies: 3
Views: 4832

Re: Transparency & Percentage Scaling in a Histogram

Hum? may be so "transparency answer"

XYPlot yourXYPlot = (XYPlot)yourChart.getPlot();

yourXYPlot.setForegroundAlpha(0.6F);

it should work.. if i have understood the problem.
by reboot
Tue Mar 17, 2009 5:35 pm
Forum: JFreeChart
Topic: gap and width for diagonal matrix on bar chart
Replies: 3
Views: 2984

Re: gap and width for diagonal matrix on bar chart

U r right, but it was an extrem example, my problem is deeper. I got multiple series an multiple categories, but is not necessary true that whole series are in whole categories....May be that im doing an improper use of bar chart.. but u can image to have a table with 6 columns and X rows..each row ...
by reboot
Mon Mar 16, 2009 3:32 pm
Forum: JFreeChart
Topic: Labels on line chart
Replies: 6
Views: 7266

Re: Labels on line chart

Well if u want to show each value of the line chart u can use "search for CustomLabelGenerator on this forum", implements this class in your prject, after that when u create your chart use this code CategoryPlot categoryPlot = (CategoryPlot)yourChart.getPlot(); LineAndShapeRenderer lineAndShapeRende...
by reboot
Mon Mar 16, 2009 3:13 pm
Forum: JFreeChart
Topic: gap and width for diagonal matrix on bar chart
Replies: 3
Views: 2984

gap and width for diagonal matrix on bar chart

When we cerate a bar chart with multiple series and categories, and the keys which belong to a category do not to anthoer one, create a big gap in the bar chart. Is possible to avoid this behaviour? i know that im creating a matrix with null o zero values. For example if we create a diagonal matrix ...
by reboot
Fri Mar 13, 2009 3:55 pm
Forum: JFreeChart
Topic: Bar Chart and Stacked Bar dynamic width
Replies: 1
Views: 2323

Re: Bar Chart and Stacked Bar dynamic width

found it!

barRenderer.setMaximumBarWidth

c ya sorry for the question...again :D
by reboot
Fri Mar 13, 2009 12:19 pm
Forum: JFreeChart
Topic: Bar Chart and Stacked Bar dynamic width
Replies: 1
Views: 2323

Bar Chart and Stacked Bar dynamic width

Greetings, im sure there is somewhere the answer to my quesiton, but i dunno how to search for it...i remember to have read it... if i got only 2 categories in my chart, jfreechart create 2 bars very huge adapting the bar's width trough a %... i remember that is settable... but i dont remember where...
by reboot
Tue Mar 10, 2009 2:58 pm
Forum: JFreeChart
Topic: How to Display Bar Values
Replies: 1
Views: 2016

Re: How to Display Bar Values

search on this forum about CustomLabelGenerator... or if u want u can download and use my frame work :P u can find my post on this forum...a simple jfreechart.. etc etc
by reboot
Tue Mar 10, 2009 11:37 am
Forum: JFreeChart
Topic: a simple framework to use jfreechart, is useless or usefull?
Replies: 7
Views: 4806

Re: a simple framework to use jfreechart, is useless or usefull?

Released a new version, with new charts. Also released the source code, so if u want u can change it... as u prefer...
by reboot
Tue Mar 10, 2009 10:23 am
Forum: JFreeChart
Topic: DefaultCategoryDataSet sort mismatch..
Replies: 4
Views: 4991

Re: DefaultCategoryDataSet sort mismatch..

ok now its clear.. :D thank u... well maybe that im missing a possible solution, have u got any idea? cose i cannot chose the key ordering, because i receive data from DB and are random, after that i order them by keys and values of the same group... there is also a solution to avoid the gap between...
by reboot
Mon Mar 09, 2009 11:54 pm
Forum: JFreeChart
Topic: DefaultCategoryDataSet sort mismatch..
Replies: 4
Views: 4991

Re: DefaultCategoryDataSet sort mismatch..

Ok but if u look at the chart, seems that the first group "column" are well ordered, after that all the other group ...mismatch with the data ordering that i pass to the categrydataset... this not happens i create a bar chart with a single column... it works fine... Sorry may be that i didnt andrest...