About 129,000 results
Open links in new tab
  1. java - Setting Range for X,Y Axis-JfreeChart - Stack Overflow

    Aug 29, 2011 · I have two y-axis (left in range 60-90) and right in -200 to 200. Everything works fine except any negative number on the "right" axis will be truncated, not plotted.

  2. ChartPanel (JFreeChart 1.5.3 API)

    A Swing GUI component for displaying a JFreeChart object. The panel registers with the chart to receive notification of changes to any component of the chart. The chart is redrawn automatically whenever this notification is received. See Also: Serialized Form

  3. java - JFreeChart domain/range axes defined - Stack Overflow

    Nov 29, 2012 · EDIT (for completeness): You can change the orientation of the plot (i.e. define, which of the axes is the range axis) using PlotOrientation.VERTICAL / PlotOrientation.HORIZONTAL.

  4. How to make Panel, Frame etc in Java to display graph on?

    Apr 24, 2017 · No need to learn Graphics2D, just go for JFreeChart. Here is a simple tutorial to get you started (A minimum of Java programming knowledge is required though)

  5. org.jfree.chart.plot.XYPlot#setRangeAxis - ProgramCreek.com

    public void addSeries (String yaxisName, TimeSeries series) { NumberAxis axis2 = new NumberAxis (yaxisName); axis2.setAutoRangeIncludesZero (false); XYPlot plot = (XYPlot) chart.getPlot (); plot.setRangeAxis (axisNum, axis2); plot.setRangeAxisLocation (1, AxisLocation.BOTTOM_OR_LEFT); TimeSeriesCollection dataset = new TimeSeriesCollection ...

  6. JFreeChart Tutorial - Create Charts in Java

    JFreeChart allows to create a wide variety of both interactive and non-interactive charts. We can create line charts, bar charts, area charts, scatter charts, pie charts, Gantt charts, and various specialized charts such as wind charts or bubble charts.

  7. [HOWTO] create charts with defined data/plot area - JFree.org

    Nov 26, 2008 · Here is the code for three methods. The first one has to be placed in the XYPlot class. It receives a Graphics2D and a Rectangle2D as argument and expands the rectangle in-place with the space required for the plot insets, the plot border, and the axis space. The second one belongs to the JFreeChart class.

  8. ChartPanel (Java Chart Component Library - ChartCat 1.2)

    Powerful java chart library with a building block architecture. It contains a lot of predefined elements like graphs, scales, legends and grids that can be used to build bar charts, pie charts, line charts, ring charts, radar chats, area charts and many others.

  9. java - Adding ChartPanel to JTabbedPane using JPanel - Stack Overflow

    Mar 30, 2013 · As shown in How to Use Tabbed Panes, you can add components to a tabbed pane. ChartPanel, a subclass of JPanel, is such a component. In addition to these examples, you can use the example below to experiment with other features. As you are new, limit using the NetBeans GUI editor, implied in your question, but continue to use the NetBeans IDE.

  10. Introduction to JFreeChart - Baeldung

    Mar 10, 2024 · In this tutorial, we’ll see how to use JFreeChart, a comprehensive Java library for creating a wide variety of charts. We can use it to integrate graphical data representations into …

  11. Some results have been removed
Refresh