Search found 30 matches
- Wed Jul 22, 2015 11:31 pm
- Forum: JFreeChart
- Topic: stackedXYAreachart - series not displayed
- Replies: 0
- Views: 5890
stackedXYAreachart - series not displayed
Hi, Could you tell me what am I doing wrong? Series 1 is never seen even though it has a value. Is this a stackeXYAreaChart property? Even though I have values for series 2, I don't see in on the chart. I am plotting the order series in the same way - Series 1, 2, 3, followed by 4. package test; imp...
- Wed Jul 22, 2015 7:56 pm
- Forum: JFreeChart
- Topic: Cloning and disabling series in Chart - legend item appears
- Replies: 8
- Views: 16020
Re: Cloning and disabling series in Chart - legend item appe
Yes, you are correct - the series shapes change and also the line types as well.
- Fri Jul 17, 2015 5:09 pm
- Forum: JFreeChart
- Topic: Cloning and disabling series in Chart - legend item appears
- Replies: 8
- Views: 16020
Re: Cloning and disabling series in Chart - legend item appe
The colours are all good. The chart seems to be good. Except that when I disable a series, the legend item does not disappear. That was the only issue which I was facing.
- Thu Jul 16, 2015 4:58 pm
- Forum: JFreeChart
- Topic: Cloning and disabling series in Chart - legend item appears
- Replies: 8
- Views: 16020
Re: Cloning and disabling series in Chart - legend item appe
I am using JFreeChart 1.0.19 - the latest version on the website. Is this a bug ?Or am I the only one experiencing it ?
- Wed Jul 15, 2015 5:00 pm
- Forum: JFreeChart
- Topic: Cloning and disabling series in Chart - legend item appears
- Replies: 8
- Views: 16020
Re: Cloning and disabling series in Chart - legend item appe
Hi John, there is no exact reply there and the comments link it to the same page - the page where I posted my question.
So if there's a better reply, please let me know.
So if there's a better reply, please let me know.
- Wed Jul 15, 2015 2:13 am
- Forum: JFreeChart
- Topic: Cloning and disabling series in Chart - legend item appears
- Replies: 8
- Views: 16020
Cloning and disabling series in Chart - legend item appears
Hi, I am cloning a JFreeChart and disabling one of the series in the Chart. if I disable the series on the original chart, the series and the legend item do not appear. But when do the same command on the cloned chart, the legend item still appears. What am I doing wrong? Here's my code: package tes...
- Wed Jul 15, 2015 2:10 am
- Forum: JFreeChart
- Topic: Can LineChart Labels be put in the foreground?
- Replies: 3
- Views: 8334
Re: Can LineChart Labels be put in the foreground?
This might not be an appropriate answer, but why don't you add a CustomXYToolTip to your plot ?When you hover over the dataset, the tooltip appears. Without any overlap as such. (I hope that works. My apologies if it doesn't fit).
- Mon Jul 13, 2015 6:08 pm
- Forum: JFreeChart
- Topic: Update on tracelines
- Replies: 3
- Views: 9122
Re: Update on tracelines
Hi David,
I was looking for the source code of the CrossHairOverlayDemo2. I need multiple crosshairs a chart and i couldn't find the source code as such. Is it open source ?
I was looking for the source code of the CrossHairOverlayDemo2. I need multiple crosshairs a chart and i couldn't find the source code as such. Is it open source ?
- Fri Jul 10, 2015 5:50 pm
- Forum: JFreeChart
- Topic: Adding FreeChart to JPanel?
- Replies: 2
- Views: 6508
Re: Adding FreeChart to JPanel?
Add your chart to a chartPanel and then add the chartPanel to the JPanel.
ChartPanel chartPanel= new ChartPanel(chart);
JPanel panel = new JPanel();
panel .add(chartPanel);
ChartPanel chartPanel= new ChartPanel(chart);
JPanel panel = new JPanel();
panel .add(chartPanel);
- Thu Jul 09, 2015 5:35 pm
- Forum: JFreeChart
- Topic: Tooltip - Y value always shows 0
- Replies: 3
- Views: 8754
Re: Tooltip - Y value always shows 0
I changed to a StackXYAreaRenderer2. It works now.
- Thu Jul 09, 2015 5:32 pm
- Forum: JFreeChart
- Topic: Tooltip - Y value always shows 0
- Replies: 3
- Views: 8754
Re: Tooltip - Y value always shows 0
Still shows me the same value of 0.
- Thu Jul 09, 2015 3:04 am
- Forum: JFreeChart
- Topic: Shapes in StackedAreaChart using StackedAreaRenderer2
- Replies: 1
- Views: 5664
Shapes in StackedAreaChart using StackedAreaRenderer2
Hi, How can we set shapes to a StackedXYAreaChart using a StackedXYAreaRenderer2? Here's what I was trying - no shapes though : package test; import java.awt.geom.Ellipse2D; import javax.swing.JFrame; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFre...
- Thu Jul 09, 2015 12:48 am
- Forum: JFreeChart
- Topic: Tooltip - Y value always shows 0
- Replies: 3
- Views: 8754
Tooltip - Y value always shows 0
I am generating a StackedXYAreaChart using the ChartFactory utility. Everytime I hover over my chart - the 'Y' value is always shown 0.0 even though the chart plots a correct value greater than -0. Is there something I am doing wrong ? Here's my sample program: TimeTableXYDataset dataset = new TimeT...
- Tue Jul 07, 2015 8:42 pm
- Forum: JFreeChart
- Topic: Pass data onto Tooltip Generator
- Replies: 1
- Views: 4810
Pass data onto Tooltip Generator
Is it possible to pass an object to a tooltip Generator and then use values from that object? Is yes, could someone explain how ?
- Tue Jul 07, 2015 2:29 am
- Forum: JFreeChart
- Topic: Show annotations on demand
- Replies: 1
- Views: 5372
Show annotations on demand
I am making a dynamic XY chart.
I wanted a feature such that when the user clicks a specific data point the annotation be displayed. I don't know if annotations can be retrieved on demand based on the user's request. Is it possible ?
I wanted a feature such that when the user clicks a specific data point the annotation be displayed. I don't know if annotations can be retrieved on demand based on the user's request. Is it possible ?