Search found 21 matches

by Birgi
Tue Mar 29, 2005 9:32 pm
Forum: JFreeChart
Topic: Multiple Axis Chart
Replies: 1
Views: 2808

Raj,

I am sure that the following thread will help you :D,

http://www.jfree.org/phpBB2/viewtopic.php?t=12244

Good Luck

Birgi
by Birgi
Fri Mar 25, 2005 4:47 pm
Forum: JFreeChart
Topic: Cannot see "visible" lines!!!
Replies: 4
Views: 4828

Sarika,

As David mentioned my problem was about my secondary dataset. I think I put every element in a different category. That was why they were not any lines between the data point. Now my graph is just as I wanted.

Thanks for your concern

Birgi
by Birgi
Thu Mar 24, 2005 6:12 pm
Forum: JFreeChart
Topic: Cannot see "visible" lines!!!
Replies: 4
Views: 4828

David,

Code: Select all

for(;;)
    System.out.println("Thank you very much!");
Thanks a lot :D

Birgi
by Birgi
Thu Mar 24, 2005 4:58 pm
Forum: JFreeChart
Topic: Cannot see "visible" lines!!!
Replies: 4
Views: 4828

Cannot see "visible" lines!!!

Hi, In my chart I can see all the data points, but I cannot see the lines. "isLinesVisible()" method returns "true". However I have the following chart, maybe an image would help; http://www.geocities.com/birgitamersoy/chart.jpg and my code for this chart is; chart = ChartFactory.createBarChart( cri...
by Birgi
Wed Mar 23, 2005 6:37 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David,

I also tried to call the method setLinesVisible(true), but I still cannot see the lines. I still have the above chart and above code. Am I missing some point?

Thanks a lot

Birgi
by Birgi
Tue Mar 22, 2005 8:11 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David, Now I can see all the data points, but I still cannot see the lines connecting them. "isLinesVisible()" method still returns "true". However I have the following chart, maybe an image would help; http://www.geocities.com/birgitamersoy/chart.jpg and my code for this chart is; chart = ChartFact...
by Birgi
Tue Mar 22, 2005 7:21 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David, Now I can see all the data points. However I cannot see the lines connecting them. I used the method "isLinesVisible()" for the LineAndShapeRenderer object and it returned "true". My line chart seems to be under the bar chart (I cannot see data points if they are under a bar). Can this be the...
by Birgi
Tue Mar 22, 2005 7:02 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David, I tried it with a very simle dataset like; DefaultCategoryDataset dataset2 = new DefaultCategoryDataset(); dataset2.addValue(0.3,"birgi",""); dataset2.addValue(0.95,"damla",""); Now one shape appears on 0.3 and another shape appears on 0.95, but they are still on the same vertical line. [If y...
by Birgi
Tue Mar 22, 2005 6:17 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David, Sorry for bothering you this much, but I still have a problem. My code for creating the chart is as follows; chart = ChartFactory.createBarChart( criteria + " Grafiği", // chart title "Ürünler", // domain axis label criteria, // range axis label dataset, // data PlotOrientation.VERTICAL, fals...
by Birgi
Tue Mar 22, 2005 5:44 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

David, Thanks alot. My second axis appeared, but now I donot see a line chart. I have the following code; CategoryPlot plot = chart.getCategoryPlot(); NumberAxis axis2 = new NumberAxis("Satış Yüzdesi"); plot.setRangeAxis(1, axis2); plot.setDataset(1, secondaryDataset); To see a line chart with the s...
by Birgi
Tue Mar 22, 2005 4:13 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

Hi Alex, Unfortunately I could not do it. And you are right, I also need a bar chart with a line chart on it... I looked at some examples. They all have a code starting like this for the multiple axis charts; plot.setSecondaryRangeAxis(0, axis2); ... ... ... However I looked at the documentation and...
by Birgi
Mon Mar 21, 2005 11:01 pm
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

I also have another problem... I have to get the CategoryItemEntity at a point of a ChartPanel. The method .getEntityForPoint(int,int) returns a ChartEntity object. Can anybody suggest me a way of doing one of these; 1- Directly getting the CategoryItemEntity form the ChartPanel 2- Converting that C...
by Birgi
Mon Mar 21, 2005 11:05 am
Forum: JFreeChart
Topic: Help please
Replies: 9
Views: 13143

Alex,

You can create two ChartPanel's with your charts as parameters, and then add these to a JPanel.

example:

Code: Select all

ChartPanel cp1 = new ChartPanel(chart1);
ChartPanel cp2 = new ChartPanel(chart2);
...
JPanel panel = new JPanel();
... // panel properties
panel.add(cp1);
panel.add(cp2);
...
by Birgi
Mon Mar 21, 2005 10:57 am
Forum: JFreeChart
Topic: Multiple Axis Problem
Replies: 23
Views: 29036

Multiple Axis Problem

Hi Everybody. I am trying to make a multiple axis chart. I have the following code, chart = ChartFactory.createBarChart( criteria + " Grafiği",// chart title "Ürünler",// domain axis label criteria,// range axis label dataset,// data PlotOrientation.VERTICAL, false,// include legend true,// tooltips...
by Birgi
Thu Mar 17, 2005 8:23 pm
Forum: JFreeChart
Topic: Can't make it work!!!
Replies: 7
Views: 8538

Taque,

Thank you very much. At the end I could see "Process Completed." Now there is only one thing left, learning JFreeChart :D.

Thanks again

Birgi