Search found 168 matches
- Tue Jul 01, 2014 3:02 pm
- Forum: JFreeChart
- Topic: NumberAxis label at wrong place when using label angle
- Replies: 3
- Views: 4610
Re: NumberAxis label at wrong place when using label angle
I would like to have a fully visible rotated label that is placed uppermost (HIGH_END) or lowermost (LOW_END)
- Tue Jul 01, 2014 2:44 pm
- Forum: JFreeChart
- Topic: NumberAxis label at wrong place when using label angle
- Replies: 3
- Views: 4610
Re: NumberAxis label at wrong place when using label angle
I have posted a bug for it: https://sourceforge.net/p/jfreechart/bugs/1130/
- Tue Jul 01, 2014 2:31 pm
- Forum: JFreeChart
- Topic: NumberAxis label at wrong place when using label angle
- Replies: 3
- Views: 4610
NumberAxis label at wrong place when using label angle
The label of a NumberAxis is rendered at the wrong place when setting the label angle and getAxisLabelLocation() != MIDDLE. Please try the following test program which rotates the label of a NumberAxis and changes the location after one complete turn. /* ------------------- * LineChartDemo1.java * -...
- Thu Jun 26, 2014 8:05 am
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
Works like a charme!! Great! Well done! :P One minor "bug": On some axis it is possible to start zooming with the mouse within the axis and when moving into the plot the zoom window is painted. But when releasing the mouse the axis is not zoomed. Example: CrosshairDemo2 - the left range axis works w...
- Mon Jun 23, 2014 1:07 pm
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
Great!
I was offline for some days but will test the latest patch during the next days.
Edit: Did you update the patch at http://sourceforge.net/p/jfreechart/patches/309/? The last change is from May 21st.
Thanks!
Uli
I was offline for some days but will test the latest patch during the next days.
Edit: Did you update the patch at http://sourceforge.net/p/jfreechart/patches/309/? The last change is from May 21st.
Thanks!
Uli
- Mon May 26, 2014 2:41 pm
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
Can you explain a situation where it is reasonable to use the isGloballyPannable/Zoomable flag? I find it more understandable to have an isSingleAxisPannable/Zoomable flag of the ChartPanel (or Chart?) instead. At the moment it is possible to set all isGlobally* flags to false (the defaults), set t...
- Thu May 22, 2014 9:30 am
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
Thanks! I managed to use your patch. It works for me. I have some minor comments: Combined plots seems to be not supported yet When zooming with the mouse on a single axis the mouse movement should only be evaluated in x direction for domain axes and y direction for range axes. This matters for the ...
- Mon May 19, 2014 10:05 am
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
PanHandler is already implemented. Please check my patch. I have seen that. It is certainly a good way to shorten the source code of ChartPanel. I was just wondering whether using that approach is flexible enough to handle future needs that one might have, such as data point selection, adding annot...
- Sun May 18, 2014 9:26 pm
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
I have uploaded a patch, patch no. 309. Is the patch complete? At least I cannot find PannableEntity (class, interface?). The only thing that is missing is an individual zoom for a specific axis that is triggered by a mouse drag ant not by a mouse wheel action. It should be possible to integrate th...
- Thu May 15, 2014 2:13 pm
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
It sounds like we have implemented those features in parallel :-) Can you try to merge our patches? It's ok for me (and it's obviously easier) to have a single patch. It's also ok for me if you use your implementation instead of mine. Anyhow it would be great if the complete functionality is availab...
- Thu May 15, 2014 9:21 am
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
I have also uploaded a small fix for the FastScatterPlot:
https://sourceforge.net/p/jfreechart/patches/307/
https://sourceforge.net/p/jfreechart/patches/307/
- Thu May 15, 2014 9:17 am
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Re: Some new patches around zooming and panning
Great!
I have uploaded a second path for the mouse wheel zoom handler. It now supports FastScatterPlots and CombinedXXPlots.
I have uploaded a second path for the mouse wheel zoom handler. It now supports FastScatterPlots and CombinedXXPlots.
- Mon May 12, 2014 2:38 pm
- Forum: JFreeChart
- Topic: Some new patches around zooming and panning
- Replies: 22
- Views: 22594
Some new patches around zooming and panning
Hi, I have posted some patches that improve zooming and panning. As a main new feature the patches allow to zoom and pan single axis (instead of zooming and panning all axes). The patches are: Panning of single axis: https://sourceforge.net/p/jfreechart/patches/303/ Small bugfix for panning in Combi...
- Mon May 12, 2014 10:33 am
- Forum: JFreeChart
- Topic: Retrieve axis by mouse coordinate
- Replies: 1
- Views: 2541
Patch: Pan axis separately
Found out myself. ChartPanel.getEntityForPoint(int viewX, int viewY) returns an AxisEntity when the coordinates are over an axis. As a first attempt I have posted a patch that enables to pan a single axis when panning is started on an axis. This allows to pan axis separately. https://sourceforge.net...
- Fri May 09, 2014 1:33 pm
- Forum: JFreeChart
- Topic: Retrieve axis by mouse coordinate
- Replies: 1
- Views: 2541
Retrieve axis by mouse coordinate
Hi, how can I retrieve which axis is drawn at a given mouse coordinate? I want to add the zoom and pan feature for a single axis by catching the mouse event on the axis. At first it should be added to XYPlots. It would allow users to zoom and pan each axis separately. I have had a look at the ChartP...