Search found 513 matches

by John Matthews
Sat Oct 09, 2021 6:09 pm
Forum: JFreeChart
Topic: Getting and installing
Replies: 5
Views: 22740

Re: Getting and installing

Your odyssey is just beginning. Start here, and then try this, substituting whatever JAR version numbers are expected by your music library:

Code: Select all

java -cp lib/jfreechart-1.0.19.jar:lib/jcommon-1.0.23.jar org.jfree.chart.demo.TimeSeriesChartDemo1
by John Matthews
Thu Oct 07, 2021 11:30 pm
Forum: JFreeChart
Topic: Getting and installing
Replies: 5
Views: 22740

Re: Getting and installing

You can download prior versions of JFreeChart from here. At a guess based on date, v1.0.17 was extant then; it should include a compatible version of JCommon. I've never seen package installers; I just put the JARs on the class path.
by John Matthews
Thu Jul 15, 2021 12:27 am
Forum: JFreeChart
Topic: JFreeChart installation problem
Replies: 2
Views: 18979

Re: JFreeChart installation problem

Why not try the current release, version 1.5.3; more here.
by John Matthews
Sat Jun 19, 2021 1:07 am
Forum: JFreeChart
Topic: XYLineAndShapeRenderer Override getItemStroke Which Series is Which Row?
Replies: 1
Views: 18227

Re: XYLineAndShapeRenderer Override getItemStroke Which Series is Which Row?

It looks like row is the series index and column is the index within a series, for example.
by John Matthews
Sat Jun 19, 2021 12:55 am
Forum: JFreeChart
Topic: BACKGROUND ZONES IN XY CHART
Replies: 1
Views: 17850

Re: BACKGROUND ZONES IN XY CHART

ThermometerPlot only supports three sub-ranges, but a DatasetChangeListener can examine the value for boundary conditions.
by John Matthews
Fri May 07, 2021 4:02 am
Forum: JFreeChart
Topic: logarithmic scales in JFreeChart
Replies: 2
Views: 19472

Re: logarithmic scales in JFreeChart

Yes, JFreeChart includes both LogAxis and LogarithmicAxis. Look for examples here and on sites like StackOverflow. I highly recommend the guide for professional developers. I'm not sure what's current, but you might download and browse among the samples.
by John Matthews
Wed Apr 28, 2021 12:45 am
Forum: JFreeChart
Topic: Best code for thermal map chart
Replies: 1
Views: 18214

Re: Best code for thermal map chart

Consider an XYZ chart, examined here and here.
by John Matthews
Fri Dec 11, 2020 1:45 am
Forum: JFreeChart
Topic: 1.5.1 PeriodAxis.draw() does not honor axis.isVisible()
Replies: 3
Views: 5704

Re: 1.5.1 PeriodAxis.draw() does not honor axis.isVisible()

I can reproduce this. Do you have a stand-alone example? Will you be submitting an issue or pull request?
by John Matthews
Wed Oct 14, 2020 6:06 pm
Forum: JFreeChart
Topic: Help with JFreeChart?
Replies: 1
Views: 4448

Re: Help with JFreeChart?

Read the API and source of classes in the package org.jfree.data.jdbc, then search for relevant examples.
by John Matthews
Thu Oct 01, 2020 9:06 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 10825

Re: Polar Axis Location incorrect for West and South

Sadly, no. You are correct.
by John Matthews
Wed Sep 30, 2020 5:09 pm
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 10825

Re: Polar Axis Location incorrect for West and South

An alternative, if I infer correctly, might include a chart Annotation, e.g. XYShapeAnnotation or XYDrawableAnnotation, to indicate direction.
by John Matthews
Tue Sep 29, 2020 5:21 pm
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 10825

Re: Polar Axis Location incorrect for West and South

Ah, I see; I've always used setAxisLocation in conjunction with a corresponding setAngleOffset . It looks like you want to stay north up and label the axis closest to a principal wind. I'm not sure I know how to fix the problem. I migrated your SampleCode to v1.5 with a similar result. As an aside, ...
by John Matthews
Mon Sep 28, 2020 11:59 pm
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 10825

Re: Polar Axis Location incorrect for West and South

Using the example examined here , I had no trouble with code that sets the location of the primary axis, e.g. ValueAxis radiusAxis = new NumberAxis(); radiusAxis.setInverted(true); //radiusAxis.setTickLabelsVisible(false); … plot.setAxisLocation(PolarAxisLocation.WEST_BELOW); Are you by chance alter...
by John Matthews
Mon Sep 28, 2020 12:28 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 10825

Re: Polar Axis Location incorrect for West and South

It sounds like you need to invert the ValueAxis used by the PolarPlot:

Code: Select all

ValueAxis radiusAxis = new NumberAxis();
radiusAxis.setInverted(true);
by John Matthews
Sun Sep 20, 2020 3:09 pm
Forum: JFreeChart
Topic: JFreeChart Scatter + Line
Replies: 1
Views: 3984

Re: JFreeChart Scatter + Line

Yes. If you're using a ChartFactory to create your scatter plot, note that it instantiates an XYLineAndShapeRenderer . One approach then is to add two series, one for the shapes and one for the line, setting the latter's visibility properties as seen here . Alternatively, look among the org.jfree.ch...