Search found 486 matches

by John Matthews
Wed May 16, 2012 5:09 am
Forum: JFreeChart
Topic: XYChartBartdemo3 without dinamic xyseries in Demo Collection
Replies: 1
Views: 1265

Re: XYChartBartdemo3 without dinamic xyseries in Demo Collec

An example of creating an IntervalXYDataset with seven data items is shown here.
by John Matthews
Mon May 14, 2012 6:12 am
Forum: JFreeChart
Topic: x-axis overlap
Replies: 3
Views: 1661

Re: x-axis overlap

Cross-posted here.
by John Matthews
Thu May 10, 2012 2:09 am
Forum: JFreeChart
Topic: Clickable legends?
Replies: 3
Views: 2305

Re: Clickable legends?

Looks OK to me in 1.0.14: LegendItemEntity java.awt.geom.Rectangle2D$Double[x=249.0,y=458.515625,w=38.0,h=18.484375] LegendItemEntity java.awt.geom.Rectangle2D$Double[x=289.0,y=458.515625,w=56.0,h=18.484375] LegendItemEntity java.awt.geom.Rectangle2D$Double[x=347.0,y=458.515625,w=44.0,h=18.484375] c...
by John Matthews
Mon May 07, 2012 11:27 am
Forum: JFreeChart
Topic: CategoryPlot and XYplot in the same image
Replies: 2
Views: 1227

Re: CategoryPlot and XYplot in the same image

Construct a ChartPanel from each chart and add each such panel to a GridLayout(0, 1).
by John Matthews
Sun May 06, 2012 10:29 pm
Forum: JFreeChart
Topic: Gradient XYAreaRender
Replies: 1
Views: 963

Re: Gradient XYAreaRender

It's deprecated, but setPaint() works after a fashion.
by John Matthews
Sun May 06, 2012 10:00 pm
Forum: JFreeChart
Topic: CSV TO JFREECHART
Replies: 2
Views: 2059

Re: CSV TO JFREECHART

It looks like you could start with CSV and JDBCCategoryDataset.
by John Matthews
Tue May 01, 2012 3:40 pm
Forum: JFreeChart
Topic: Line break in legend
Replies: 4
Views: 4314

Re: Line break in legend

Cross-posted here.
by John Matthews
Tue May 01, 2012 3:36 pm
Forum: JFreeChart
Topic: Updating and refreshing the graph per second
Replies: 4
Views: 5585

Re: Updating and refreshing the graph per second

I prefer `javax.swing.Timer`; if you `sleep()` on a separate thread, you need to use `invokeLater()` to run on the event dispatch thread. Java Web Start is a good deployment strategy.
by John Matthews
Fri Apr 27, 2012 11:19 am
Forum: JFreeChart
Topic: line under the dynamic graph
Replies: 4
Views: 2850

Re: line under the dynamic graph

It's hard to say without seeing your code, but the picture suggests trying the approach shown here.
by John Matthews
Thu Apr 19, 2012 10:13 pm
Forum: JFreeChart
Topic: Updating and refreshing the graph per second
Replies: 4
Views: 5585

Re: Updating and refreshing the graph per second

As an alternative to java.util.Timer, suggested by remiohead, javax.swing.Timer offers several advantages outlined in How to Use Swing Timers. DTSCTest is an example.
by John Matthews
Thu Apr 19, 2012 9:58 pm
Forum: JFreeChart
Topic: Shift the origin from (0,0) to (0,-3)
Replies: 2
Views: 1639

Re: Shift the origin from (0,0) to (0,-3)

Cross-posted here; possible approach suggested here.
by John Matthews
Sun Mar 18, 2012 12:15 pm
Forum: JFreeChart
Topic: Automatic generate line color visible on white background
Replies: 1
Views: 1007

Re: Automatic generate line color visible on white backgroun

Cross-posted here.

Although now deleted, a commenter there suggested the Q&A How to automatically generate N “distinct” colors.
by John Matthews
Wed Mar 07, 2012 10:48 am
Forum: JFreeChart
Topic: JFreechart XYPlot DataArea
Replies: 1
Views: 1091

Re: JFreechart XYPlot DataArea

Cross-posted here.
by John Matthews
Mon Mar 05, 2012 6:02 pm
Forum: JFreeChart
Topic: Equation of a line
Replies: 2
Views: 1148

Re: Equation of a line

See this Q&A for one possible approach.