Search found 34 matches

by tox0tes
Fri Sep 05, 2008 9:50 pm
Forum: JFreeChart
Topic: Push DateAxis to line up with the range axis
Replies: 5
Views: 5371

thanks, that worked. I had to modify a little bit because 0 made the 0'00" not display:

Code: Select all

plot.getDomainAxis().setLowerMargin(.0001);
plot.getDomainAxis().setUpperMargin(.0001);
by tox0tes
Thu Sep 04, 2008 10:04 pm
Forum: JFreeChart
Topic: Push DateAxis to line up with the range axis
Replies: 5
Views: 5371

yeah i just tried that and it didn't do anything... but doesn't that affect the vertical margins? i am looking for the horizontal (left and right)
by tox0tes
Thu Sep 04, 2008 9:08 pm
Forum: JFreeChart
Topic: Push DateAxis to line up with the range axis
Replies: 5
Views: 5371

Push DateAxis to line up with the range axis

How would I push the first tick mark of the DateAxis to line up with the range axis. Take a look at this picture:

Image
by tox0tes
Thu Sep 04, 2008 7:12 pm
Forum: JFreeChart
Topic: Inserting non-numerical characters into tick labels
Replies: 8
Views: 7760

Thanks Richard, that code did it! That just made my day.
by tox0tes
Thu Sep 04, 2008 1:25 am
Forum: JFreeChart
Topic: Inserting non-numerical characters into tick labels
Replies: 8
Views: 7760

Caused by: java.lang.ClassCastException: org.jfree.chart.axis.NumberAxis [17:18:40.423] {http--8080-2} at java:167) this is line 167: DateAxis domainAxis = (DateAxis) plot.getDomainAxis(); Richard, can I pay you $40 to write me sample code that simply displays a number representing milliseconds (47...
by tox0tes
Wed Sep 03, 2008 11:45 pm
Forum: JFreeChart
Topic: Inserting non-numerical characters into tick labels
Replies: 8
Views: 7760

Inserting non-numerical characters into tick labels

I have an XYLineChart that displays time in HHh MM' SS" .... however I cannot figure out how to have this displayed since the XYLineChart only takes numbers as tick labels.
by tox0tes
Tue Sep 02, 2008 9:14 pm
Forum: JFreeChart
Topic: Displaying horizontal grid lines for a particular axis
Replies: 1
Views: 2451

Displaying horizontal grid lines for a particular axis

I added additional axes to my XYLineChart and I was wondering how to specify which axis displays horizontal grid lines. Thanks.
by tox0tes
Tue Sep 02, 2008 7:42 pm
Forum: JFreeChart
Topic: IntervalMarker and label
Replies: 2
Views: 3881

can 't you just put a line break character: \n ?
by tox0tes
Fri Aug 29, 2008 10:01 pm
Forum: JFreeChart
Topic: Axes Spacing
Replies: 2
Views: 3102

the color methods worked, but the RectangleInsets method caused the axes to go off the screen due to the main chart not updating with the new width. This is probably a bug. I can post a picture if you don't know what I mean.
by tox0tes
Fri Aug 29, 2008 7:50 pm
Forum: JFreeChart
Topic: Dash line
Replies: 1
Views: 2687

Code: Select all

float dash[] = { 3.0f };
plot.getRenderer(0).setSeriesStroke(1, new BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 3.0f, dash, 0.0f));
by tox0tes
Thu Aug 28, 2008 10:10 pm
Forum: JFreeChart
Topic: Axes Spacing
Replies: 2
Views: 3102

Axes Spacing

How do I control the spacing between multiple axes? Also, how do I control the color of the tick marks and tick vertical line (the gray) of each axis. Look at picture for reference:

Image
by tox0tes
Thu Aug 28, 2008 12:07 am
Forum: JFreeChart
Topic: Auto Range Max Value on XYLineChart
Replies: 1
Views: 3240

Auto Range Max Value on XYLineChart

Is there a way to specify the maximum value for the range axis to display. For example, if I get a value of 100 but I specify the max to be 25, it should still plot 100 but the range axis should only go up to the greatest value of any of the other points less than 25. So, the line would extend beyon...
by tox0tes
Tue Aug 26, 2008 3:18 am
Forum: JFreeChart
Topic: Curved Line Charts
Replies: 10
Views: 18316

almost.... there is a problem where the curve extends beyond the auto-range:
Image
by tox0tes
Tue Aug 26, 2008 2:40 am
Forum: JFreeChart
Topic: Curved Line Charts
Replies: 10
Views: 18316

thanks a lot, works great 8)
by tox0tes
Tue Aug 26, 2008 2:24 am
Forum: JFreeChart
Topic: Curved Line Charts
Replies: 10
Views: 18316

thanks, i upgraded to the correct version and now it works. How do I make the plot points smaller?