Search found 49 matches

by AjitPS
Mon Jul 07, 2014 5:23 pm
Forum: JFreeChart
Topic: AttributedString Pie Labels generateAttributedSectionLabel
Replies: 2
Views: 4736

Re: AttributedString Pie Labels generateAttributedSectionLa

Hi, I too have a couple of queries around issues that I'm facing with the AttributedString labels of the domain & range axis. Any feedback would be appreciated. The issues are described here:
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=116966
by AjitPS
Mon Jul 07, 2014 5:21 pm
Forum: JFreeChart
Topic: JFreeChart popup menu "Properties"- MissingResourceException
Replies: 5
Views: 7760

Re: JFreeChart popup menu "Properties"- MissingResourceExcep

Hi David,
I have a couple of queries around issues that I'm facing with the AttributedString labels of the domain & range axis. Any feedback from you on this would be very helpful. Thanks. The issues are described here:
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=116966
by AjitPS
Mon Jul 07, 2014 5:21 pm
Forum: JFreeChart
Topic: JFreeChart AttributedString: how to get axis Label ?
Replies: 6
Views: 8777

Re: JFreeChart AttributedString: how to get axis Label ?

Hi David, I have a couple of queries around issues that I'm facing with the AttributedString labels of the domain & range axis. Any feedback from you on this would be very helpful. Thanks. The issues are described here:
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=116966
by AjitPS
Mon Jul 07, 2014 10:27 am
Forum: JFreeChart
Topic: Rename x and y-axis labels [AttributedString error]
Replies: 2
Views: 5699

Re: Rename x and y-axis labels [AttributedString error]

Note: I had asked a similar question before at http://www.jfree.org/phpBB2/viewtopic.p ... utedString but did not get a solution to my problem then.

Any suggestions on how to resolve this would be very helpful.
by AjitPS
Mon Jul 07, 2014 10:26 am
Forum: JFreeChart
Topic: Rename x and y-axis labels [AttributedString error]
Replies: 2
Views: 5699

Rename x and y-axis labels [AttributedString error]

Hi, I'm using JFreeChart to create XYLineCharts. However, I am facing a few issues related to the Chart's x-axis and y-axis labels , around renaming them. Firstly, after the chart is drawn, I open its popup menu & click on " Properties " to bring up the Properties menu for the Chart. However, if I t...
by AjitPS
Wed Mar 05, 2014 1:48 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart- smooth line, XYSplineRenderer not working

@remiohead:
Thanks, it works when I reduce the tension to 0.05 from 0.5. Thanks for the solution.
by AjitPS
Tue Mar 04, 2014 3:19 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart- smooth line, XYSplineRenderer not working

How do I do that: reduce the tension closer to 0 to have less of a curve What I find strange is that in Series 2 (the green one) the curve goes below 0 and then comes back up between points 2.0 and 3.0 on the x-axis while the x, y points in the Series for those 2 points are: (2.0,10.6659), (3.0,5.49...
by AjitPS
Tue Mar 04, 2014 12:09 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart- smooth line, XYSplineRenderer not working

@remiohead: Hi, I have included some sample data for which the smooth lines go haywire along with my code. I have used the XYCardinalSplineRenderer that you posted but have made one change to it. Instead of using google.collections.Lists, I have used a java ArrayList. This is because I tried to manu...
by AjitPS
Mon Mar 03, 2014 4:33 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart- smooth line, XYSplineRenderer not working

@remiohead, I just tested out the XYCardinalSplineRendderer code posted by you. However, the problem still persists. For one of the examples, it plotted a smooth line between the points (just like JFreeChart's XYSplineRenderer ). However, for another dataset the lines went haywire between certain po...
by AjitPS
Mon Mar 03, 2014 4:19 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart- smooth line, XYSplineRenderer not working

Hi,
Thanks for the reply and the solution. I will test it out and let you know how it goes.
Thanks.
by AjitPS
Mon Mar 03, 2014 3:22 pm
Forum: JFreeChart
Topic: JFreeChart- point clicked, clear/ reset Crosshair ?
Replies: 0
Views: 3265

JFreeChart- point clicked, clear/ reset Crosshair ?

Hi, I am using the XYLinechart in JFreeChart to generate a chart with multiple XYSeries on it. My chart has 3 XYSeries on it and I have coded my program to return and display the x, y values only for 1 of the Series. I use a ChartMouseListener to detect mouse clicks on the ChartPanel. Currently, if ...
by AjitPS
Thu Feb 27, 2014 3:19 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

Re: XYLineChart - smooth line

I had read that the XYSplineRenderer can be used to accomplish this and tried using it but it did not work for me. I had used: final XYSplineRenderer rend = new XYSplineRenderer(); rend.setPrecision(2); // Precision: the number of line segments between 2 points [default: 5] rend.setSeriesItemLabelsV...
by AjitPS
Wed Feb 26, 2014 4:08 pm
Forum: JFreeChart
Topic: XYLineChart- smooth line, XYSplineRenderer not working
Replies: 10
Views: 15665

XYLineChart- smooth line, XYSplineRenderer not working

Hi, Is there any way to have a smooth line connecting the x, y points for an XYSeries in JFreeChart's XYLineChart ? If I have multiple x, y points with gradually decreasing y-axis values, e.g., (1.0,450.0) , (2.0,360.0), (3.0,290.0), (4.0,228.0), (5.0,189.0), (6.0,112.0), (7.0,82.0), (8.0,70.0), etc...
by AjitPS
Wed Feb 26, 2014 4:06 pm
Forum: JFreeChart
Topic: XYLineChart - Spacing in plot between beginning & 1st point
Replies: 2
Views: 3211

Re: XYLineChart - Spacing in plot between beginning & 1st po

Hi David,
Thanks. The problem was occurring because I was re-setting the DomainAxis range in the code. It's working now.
by AjitPS
Mon Feb 24, 2014 6:53 pm
Forum: JFreeChart
Topic: XYLineChart - Spacing in plot between beginning & 1st point
Replies: 2
Views: 3211

XYLineChart - Spacing in plot between beginning & 1st point

Hi, I am generating an XYLineChart using JFreeChart. However, the 1st & last points in my dataset are barely visible as the chart's plot starts from the 1st point and ends at the last without any space on either side. Is there a way to leave some space or padding within the plotted area so that ther...