Search found 8 matches

by rupi
Tue Jun 07, 2016 11:55 am
Forum: JFreeChart
Topic: ChartComposite mouseClicked
Replies: 1
Views: 3054

ChartComposite mouseClicked

The ChartComposite has a ChartMousListener with chartMouseClicked as one of the methods. But the chartMouseClicked method is called when the mouse butoon is pressed. In my opinion that is not correct as the mouse is actually clicked when the mouse button is raised. Does anybody know why this anomaly ?
by rupi
Sun Jun 05, 2016 6:45 pm
Forum: JFreeChart
Topic: Legend on a separate SWT control
Replies: 1
Views: 2672

Legend on a separate SWT control

I would like to draw the legend on a separate SWT control and not on the chart. I was hoping that this would be possible but I am not sure. If yes, does anybody have any pointers ?
by rupi
Thu Jun 02, 2016 1:21 pm
Forum: JFreeChart
Topic: Barchart gradient fill
Replies: 0
Views: 4204

Barchart gradient fill

I have a bar chart with the default bar renderer that use gradient fills. If I use the AWT Chartpanel the gradient show up fine as shown below. http://s33.postimg.org/cyt1k9jmz/correct.jpg The same chart using SWT ChartComposite does not show the gradient. Is this expected behaviour or do I need to ...
by rupi
Thu Jun 02, 2016 1:12 pm
Forum: JFreeChart
Topic: ChartComposite with zoom rectangle
Replies: 1
Views: 2702

Re: ChartComposite with zoom rectangle

I was able to solve my own problem. Turns out that ChartComposite has a constructor that is much more complex but allows you to set the minimum chart height and width. Using that with a minimum height of 0 solved this problem.
by rupi
Wed Jun 01, 2016 8:02 pm
Forum: JFreeChart
Topic: ChartComposite with zoom rectangle
Replies: 1
Views: 2702

ChartComposite with zoom rectangle

I have a chartcomposite with a range zooming turned off and domain zooming turned on. The code is chartComposite.setRangeZoomable(false); chartComposite.setDomainZoomable(true); As seen in the image below the zoom rectangle shows up fine. http://s33.postimg.org/6qci1vxwr/correct.jpg But when I make ...
by rupi
Wed Jan 21, 2015 6:02 pm
Forum: JFreeChart
Topic: Two chart with the same size
Replies: 1
Views: 2308

Two chart with the same size

I have a requirement to have two versions of the same chart stacked one above the other. I need the chart and plot sizes to be exactly the same. But I don't want the Y-Axis labels to show up on the second graph. The problem with this is that if I hide the axis label in the second chart, the plot are...
by rupi
Thu May 07, 2009 4:35 pm
Forum: JFreeChart
Topic: Chart Mergins with Layered Renderer
Replies: 3
Views: 2732

Re: Chart Mergins with Layered Renderer

I just couldnt find a way to attach a picture. Do I have to host the picture on some site and refer to it using a URL ?
by rupi
Thu May 07, 2009 3:40 pm
Forum: JFreeChart
Topic: Chart Mergins with Layered Renderer
Replies: 3
Views: 2732

Chart Mergins with Layered Renderer

I have an issue that is getting very confusing. I have a chart with a Category Plot. There are three rows and one column. So the chart should display three bars overlapping each other. I also have set the lower and upper margins for the plot to 0. The margins do get set to 0 when widest series is ad...