Search found 8 matches

by Ivoryn
Thu Sep 28, 2006 2:44 pm
Forum: JFreeChart
Topic: setSeriesPaint not working correctly
Replies: 1
Views: 2872

ok, i found the problem.

i should write:

Code: Select all

renderer.setSeriesPaint(i, axisColor[i]); 
instead, now i did:

Code: Select all

renderer.setSeriesPaint(0, axisColor[i]); 
still thanks for listening :lol:
by Ivoryn
Thu Sep 28, 2006 2:31 pm
Forum: JFreeChart
Topic: setSeriesPaint not working correctly
Replies: 1
Views: 2872

setSeriesPaint not working correctly

hi, ich have a small problem with my chart. I have something like the MultipleAxisDemo, and setting the same color for the axis like the datasets is working fine. now i implemented a button with which you can switch between a colored chart and a black&white chart. but when i want the chart to be dis...
by Ivoryn
Thu Sep 14, 2006 12:46 pm
Forum: JFreeChart
Topic: How to show the points of the values in XYLine chart
Replies: 4
Views: 13208

you can make the lines fatter by:

plot.getRenderer().setSeriesStroke(0, new BasicStroke(2.0f));

for example :)
by Ivoryn
Wed Jun 21, 2006 12:18 pm
Forum: JFreeChart
Topic: different line colors
Replies: 2
Views: 3538

i found the same problem in another topic: http://www.jfree.org/phpBB2/viewtopic.php?t=16431&highlight=setseriespaint my picture looks the same. here is my sample code: import java.awt.Color; import java.text.DecimalFormat; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; impo...
by Ivoryn
Wed Jun 21, 2006 8:45 am
Forum: JFreeChart
Topic: different line colors
Replies: 2
Views: 3538

different line colors

hi, in my program, several different datasets are displayed in one chartpanel with a range axis for each dataset. when i have two different datasets (or even more) it always paints the first line red, the second blue, etc, so i have two or more red lines. so what can i do to make sure that one speci...
by Ivoryn
Tue Jun 20, 2006 9:19 am
Forum: JFreeChart
Topic: dots and stripes textures
Replies: 6
Views: 8313

hi, does anybody have an example of how to use the TexturePaints?

I would really appreciate if anybody could post some code. I really need this feature.

Thank you.
by Ivoryn
Fri Jun 16, 2006 8:49 am
Forum: JFreeChart
Topic: Multiple charts in one chartpanel?
Replies: 7
Views: 16243

For me it worked. Thanks David.
by Ivoryn
Thu Jun 15, 2006 3:11 pm
Forum: JFreeChart
Topic: Multiple charts in one chartpanel?
Replies: 7
Views: 16243

i have the same problem. i want to display up to four pie charts in one chart panel. they all have independent datasets. private void createPieChart(Dataset.Parameter p) { try { PieChart pieChart = new PieChart(p); setPanel(pieChart.getChartPanel(), frame.getchartPanel()); } catch (Exception e) ... ...