Search found 9 matches

by rantfoil
Tue Oct 17, 2006 11:51 pm
Forum: JFreeChart - Stockmarket
Topic: Problem while displaying the time series chart - Urgent!!!.
Replies: 1
Views: 10085

1) get the numberAxis of the chart and call setAutoRangeIncludesZero(false)
by rantfoil
Tue Oct 17, 2006 10:44 am
Forum: JFreeChart
Topic: Chart speedup
Replies: 1
Views: 2423

by rantfoil
Tue Oct 17, 2006 10:43 am
Forum: JFreeChart
Topic: Is there a way to draw a curved line chart?
Replies: 1
Views: 2638

Try extending XYLineAndShapeRenderer -- maybe start by looking at the code around drawPrimaryLine() and drawItem()?
by rantfoil
Tue Oct 17, 2006 10:25 am
Forum: JFreeChart
Topic: 1891928: PercentageAxis (1891921: Enhanced LogarithmicAxis)
Replies: 13
Views: 19582

a fix for java2DToValue for logarithmic axes

This logarithmic axis provided by mhilpert is fantastic. One thing that I noticed with both JFreeChart is that it works well to chart any numbers below 1 as well, thanks to what is happening in adjustedLog10() method... or in mhilpert's fix, adjustedLog() which properly handles different bases. But ...
by rantfoil
Fri Jul 07, 2006 4:33 am
Forum: JFreeChart
Topic: PeriodAxis - bugs found - including test case
Replies: 3
Views: 3877

workaround

This is happening because PeriodAxis uses its own PeriodAxisLabelInfo array. You can work around this by doing creating your own PeriodAxisLabelInfo array and specify the desired stroke / paint etc. using the FULL constructor for PeriodAxisLabelInfo. The constructor of HPeriodAxis uses the short for...
by rantfoil
Thu Apr 06, 2006 10:14 pm
Forum: JFreeChart
Topic: SegmentedTimeline removal of weekends = DateAxis problems
Replies: 3
Views: 4407

example

Image

As you can see, the labels appear to run together above.
by rantfoil
Thu Apr 06, 2006 4:49 am
Forum: JFreeChart
Topic: SegmentedTimeline removal of weekends = DateAxis problems
Replies: 3
Views: 4407

SegmentedTimeline removal of weekends = DateAxis problems

I'm drawing a financial time series chart. DateAxis appears to draw incorrectly when I'm using a SegmentedTimeline to remove weekends. When I am looking at about a week of data, the date ticks are about 1 tick per day, however since we throw out weekends, the date labels actually show a visual glitc...
by rantfoil
Sat Dec 31, 2005 3:29 am
Forum: JFreeChart
Topic: Whole chart clicking: identifying parts of chart
Replies: 8
Views: 9137

I don't really know what AxisState does, but I do know Cursor contains an int that refers to the beginning pixel location of the axis. All I'm doing is storing that info so that a click can be found again later, and mapped back to the appropriate axis. I use arrays instead of a single variable to st...
by rantfoil
Tue Dec 20, 2005 8:10 pm
Forum: JFreeChart
Topic: Whole chart clicking: identifying parts of chart
Replies: 8
Views: 9137

A limited solution

Hey there, I've written this code for my app that might be useful for you-- basically identifying the axis that was clicked on according to datastructures populated upon draw. I added this to a subclass of XYPlot... This certainly solved my problem of knowing where the user clicked. -g /** * These a...