Search found 4 matches

by stefan__
Fri Jan 08, 2010 3:27 pm
Forum: JFreeChart
Topic: How to retrieve XYItemEntity from Domain/RangeCrosshair
Replies: 7
Views: 10643

Re: How to retrieve XYItemEntity from Domain/RangeCrosshair

David,

do you know the status of this feature request, i.e Is it being worked on or under consideration?

regards,
Stefan
by stefan__
Thu Jan 07, 2010 9:43 pm
Forum: JFreeChart
Topic: Fetch TimeSeries
Replies: 4
Views: 5523

Re: Fetch TimeSeries

Ok, but if I have two items and click in the white space between, the crosshair choose the closest item, which is perfectly fine. Question: can I in code find out which item the crosshair chose? The crosshair obviously finds the item, so I would assume it should be able to tell me as well..? regards...
by stefan__
Thu Jan 07, 2010 6:33 pm
Forum: JFreeChart
Topic: Fetch TimeSeries
Replies: 4
Views: 5523

Re: Fetch TimeSeries

skunk, thanks for your reply. The crosshair seems to choose the closest timeseries, thus I exptected to get the timeseries the crosshair choose. Is there a way to do this?

Regards,
S
by stefan__
Thu Jan 07, 2010 4:26 pm
Forum: JFreeChart
Topic: Fetch TimeSeries
Replies: 4
Views: 5523

Fetch TimeSeries

Im trying to fetch the TimeSeries in a chartMouseClicked event, however, event.getEntity() returns null: public void chartMouseClicked(ChartMouseEvent event) { XYItemEntity entity = (XYItemEntity) event.getEntity(); XYDataset dataset = entity.getDataset(); int series = entity.getSeriesIndex(); } Im ...