Search found 427 matches

by John Matthews
Thu Aug 02, 2018 4:49 pm
Forum: JFreeChart
Topic: hi guys, i have a question
Replies: 1
Views: 23

Re: hi guys, i have a question

katherin04 wrote:There is no setFont() method in DefaultCategoryDataset?
Nor should there be. The particular font used is an attribute of the view. In contrast, a dataset is a model of the data displayed by the view. The separation is intentional.
by John Matthews
Sat Jul 28, 2018 1:31 pm
Forum: JFreeChart
Topic: help me, please
Replies: 1
Views: 37

Re: help me, please

Search the forum for the keyword subtask, for example.
by John Matthews
Sat Jul 28, 2018 1:25 pm
Forum: JFreeChart
Topic: i have a question about color
Replies: 1
Views: 25

Re: i have a question about color

Search the forum for DrawingSupplier, for example.
by John Matthews
Sat Jul 21, 2018 5:28 pm
Forum: JFreeChart
Topic: Attempting to assign weaker access privileges error in ChartViewer class
Replies: 4
Views: 88

Re: Attempting to assign weaker access privileges error in ChartViewer class

NB: "When migrating from JFreeChart 1.0.x to JFreeChart 1.5.0…all the classes from JCommon that are used by JFreeChart have [been] integrated within the JFreeChart jar file within a different package than before (you will need to change your imports)."
by John Matthews
Sun Jun 24, 2018 1:17 am
Forum: JFreeChart
Topic: A quick question about remove gradient
Replies: 1
Views: 116

Re: A quick question about remove gradient

You may be looking for the StandardBarPainter, suggested here.
by John Matthews
Sun Jun 24, 2018 1:13 am
Forum: JFreeChart
Topic: please help me a program
Replies: 1
Views: 80

Re: please help me a program

You need a compatible version of JCommon in your class path; it includes org.jfree.util.PublicCloneable.
by John Matthews
Sun Jun 17, 2018 11:52 am
Forum: JFreeChart
Topic: Help me!
Replies: 1
Views: 90

Re: Help me!

Did you specify a fillPaint when constructing the XYShapeAnnotation?
by John Matthews
Fri Jun 15, 2018 6:26 pm
Forum: JFreeChart
Topic: Need help?
Replies: 1
Views: 78

Re: Need help?

You might want to start with a more recent stable version, e.g. v1.0.19, or the latest version, v1.5.0.
by John Matthews
Wed Jun 13, 2018 3:39 am
Forum: JFreeChart
Topic: Is a Discontinuous Plot Possible?
Replies: 1
Views: 85

Re: Is a Discontinuous Plot Possible?

You might look at a SegmentedTimeline.
by John Matthews
Tue Jun 12, 2018 3:08 am
Forum: JFreeChart
Topic: Refresh Jchart Issue
Replies: 1
Views: 104

Re: Refresh Jchart Issue

You may be blocking the event dispatch thread. Instead, pace the animation using a javax.swing.Timer, as shown here, or a javax.swing.SwingWorker, as shown here.
by John Matthews
Sun Jun 10, 2018 5:58 pm
Forum: JFreeChart
Topic: How can i do this?
Replies: 1
Views: 89

Re: How can i do this?

Use a suitable org.jfree.chart.plot.Marker for the threshold. Override your chosen renderer's getItemPaint() method to alter the color dynamically.
by John Matthews
Wed May 30, 2018 10:00 pm
Forum: JFreeChart
Topic: JFreeChart for JavaFX - Moving Average takes VERY long time
Replies: 8
Views: 368

Re: JFreeChart for JavaFX - Moving Average takes VERY long time

No; display the chart and then update the moving average TimeSeries in the valueProperty handler of your Task<TimeSeries>.
by John Matthews
Wed May 30, 2018 9:08 am
Forum: JFreeChart
Topic: JFreeChart for JavaFX - Moving Average takes VERY long time
Replies: 8
Views: 368

Re: JFreeChart for JavaFX - Moving Average takes VERY long time

You could try running the moving average calculation in the background.