coordinate « Plot « JFreeChart Q&A





1. Why doesn't JFreeCharts correctly connect the points in my xy-line graph?    stackoverflow.com

Each letter A,T,G,C represents a direction for the plot to graph. Specifically, “A” means move right, “T” is move down, “C” is move up, and “G” is move left. When the ...

2. Draw line from origin to a user clicked coordinate in XYPlot of JFree chart    stackoverflow.com

I have a XYPlot in JFree Chart with origin at (0,0).Now user clicks on anywhere in the chart.On clicking I want to draw a line from the origin to the coordinate ...

4. Problem getting coordinates in CombinedDomainXYPlot!!!    jfree.org

Hello!! I have a combined chart with a CombinedDomainXYPlot. In this chart i need to plot price and volumes for a financial application (Exactly like PriceVolumeDemo, but prices and volumes in different subplots). Now i would like that user can draw lines on the chart. for this, i have a ChartPane which implements an ActionListener and get the X Y coordinates ...

5. CategoryPointerAnnotation Help - Translate plot coordinates    jfree.org

I am trying to use CategoryPointerAnnotation to draw arrows at specific locations, angles, and lengths on a plot. As an example, I want to draw an arrow anchored at 9.0 in a category, with base at 5.0. However, base radius is in Java2D units/pixels. So I need to translate "9 minus 5" into a pixel count to pass to setBaseRadius. Does ...

6. Displaying text at specific coordinates on PolarPlot    jfree.org

Hi! Unfortunately that's currently not possible. You can add a "corner text" with PolarPlot.addCornertText() but that's it for now. However, it wouldn't be too hard to implement this feature in PolarPlot. Basically you would just copy the methods from XYPolarPlotthat deal with annotations (addAnnotation, removeAnnotation, getAnnotations, drawAnnotations). If you implement it, please provide a patch. hth, - martin