Search found 23 matches

by blueser
Thu Jun 12, 2008 12:54 pm
Forum: JFreeChart
Topic: Given a spline, how do I find Y value for a given X?
Replies: 2
Views: 3933

Given a spline, how do I find Y value for a given X?

Hi, we're using splines on some of our plots, and this is working beautifully so far (this new feature arrived just in time with 1.0.9 ;-)). However, now we will need to find what's the Y-value corresponding to a specific X-value given a spline curve, where this X-value doesn't belong to one of the ...
by blueser
Wed Jun 04, 2008 9:38 pm
Forum: JFreeChart
Topic: Annotations and markers outside data ranges
Replies: 4
Views: 7534

Hi David, thks for the quick reply. Well, I'll try to do it on my own, then. We are already extending NumberAxis and we have a wrapper for a JFreeChart, I thought maybe we could make our addMarker(...) and removeMarker(...) methods update a "markerRange" field on our range and domain axis, and we wo...
by blueser
Wed Jun 04, 2008 9:02 pm
Forum: JFreeChart
Topic: Annotations and markers outside data ranges
Replies: 4
Views: 7534

Annotations and markers outside data ranges

Hi,

we have some plots with annotations and markers that sometimes fall outside data ranges, and by default they're not drawn if auto-range is turned on.

Is there any way I could configure a XYPlot so that auto-range would automatically include annotations and markers?

Regards,

Andre
by blueser
Fri Oct 26, 2007 9:27 pm
Forum: JFreeChart
Topic: How do you remove a domain/range marker from an XYPlot?
Replies: 3
Views: 4452

Hi,

any progress on this?

I just realized I need it, but RFE #969808 is still opened, so I guess not :( Just checking anyway...

Regards,

Andre
by blueser
Wed Aug 08, 2007 8:09 pm
Forum: JFreeChart
Topic: Internationalization
Replies: 5
Views: 6053

Hi leo77, thks for providing pt_BR translations for JFC, our customers have just requested this, perfect timing :-) (I was actually surprised when I tried it with JFC 1.0.6 and it "just worked" ;-)) David: thks (again) for your continued support on JFC, keep up the great work :-) There are though so...
by blueser
Tue Jul 31, 2007 7:42 pm
Forum: JFreeChart
Topic: Cursor tracking fails after resize
Replies: 3
Views: 4699

I guess I got it: it looks like I should use:

chartPanel.getChartRenderingInfo().getPlotInfo().getDataArea()

instead of:

chartPanel.getScreenDataArea()

Does it make sense?

Andre
by blueser
Tue Jul 31, 2007 5:20 pm
Forum: JFreeChart
Topic: Cursor tracking fails after resize
Replies: 3
Views: 4699

Hi David, I saw that one coming ;-) On my behalf I can only say we needed it really badly, and since no one complained about the code azaza21 provided, I assumed it could be ok, but of course we needed to test it -- and that's how we found the problems that led to this thread. I'd love to get my han...
by blueser
Tue Jul 31, 2007 3:19 pm
Forum: JFreeChart
Topic: Cursor tracking fails after resize
Replies: 3
Views: 4699

Cursor tracking fails after resize

Hi, we're using the code provided here (thks azaza21 for providing that ;-)) to implement a "cursor tracker" (we need to show current cursor coordinates on a label). It works fine as long as the panel keeps its original size. Once it is resized scaling errors start creeping in, and displayed (x, y) ...
by blueser
Tue Jul 17, 2007 12:59 pm
Forum: JFreeChart
Topic: ChartMouseEvent#getEntity() and multiple series
Replies: 2
Views: 3538

Hi David, thks for the reply.

Yes, please consider this for future versions :) Maybe you could add a List<ChartEntity> getEntities() method that would deprecate the current ChartEntity getEntity() method... (just a thought)

Regards,

Andre
by blueser
Mon Jul 16, 2007 9:01 pm
Forum: JFreeChart
Topic: ChartMouseEvent#getEntity() and multiple series
Replies: 2
Views: 3538

ChartMouseEvent#getEntity() and multiple series

Hi,

if I receive a ChartMouseEvent for a coordinate where there are n data points (from n different series), which entity is returned by getEntity()? The "top" one (i.e. the last one rendered)? Is there any way to get a list of entities hit by the click?

TIA

Andre
by blueser
Mon Jul 09, 2007 6:37 pm
Forum: JFreeChart
Topic: Show arbitrary tooltip?
Replies: 0
Views: 2355

Show arbitrary tooltip?

Hi, is it possible to show an arbitrary tooltip on a specific coordinate? The situation is this: our users want to be able to know what are the data space coordinates to any place they click on the chart. ScatterPlotDemo3 shows me it's possible to capture mouse clicks (although a little more help wo...
by blueser
Mon Jul 09, 2007 5:48 pm
Forum: JFreeChart
Topic: Crosshair and tooltips don't mix?
Replies: 3
Views: 5305

Hi David,

thks for the confirmation. Indeed, some words about it on the docs would be helpful ;)

Regards,

Andre
by blueser
Mon Jul 09, 2007 4:01 pm
Forum: JFreeChart
Topic: Multi-value functions?
Replies: 2
Views: 3112

Hi David, thks for the reply. My description of the problem was not accurate, my bad. Actually, I just realized I might have no problem at all :D ScatterPlot would indeed allow f(x) = {y1, y2, ...}, but that's not really what I need. What I really need is to be able to plot eg. an "alpha-shaped" cur...
by blueser
Sat Jul 07, 2007 2:53 am
Forum: JFreeChart
Topic: Crosshair and tooltips don't mix?
Replies: 3
Views: 5305

Crosshair and tooltips don't mix?

Hi, I just enabled horizontal and vertical axis traces and realized they don't mix with tooltips :( I am not sure I am doing something wrong). When the mouse stops over one of the dataset points the tooltip is shown as expected, but that causes the trace lines to stay on the chart (they are not remo...
by blueser
Fri Jul 06, 2007 11:26 pm
Forum: JFreeChart
Topic: Multi-value functions?
Replies: 2
Views: 3112

Multi-value functions?

Hi all,

this is probably (hopefully! :wink:) a newbie question :)

I need to plot some "multi-value functions", which means that for a given x I might have multiple y values, e.g. f(x) --> {y1, y2,...}.

Is it possible? If so, what's the recommended way to do it?

TIA

Andre