About 436,000 results
Open links in new tab
  1. swing - Creating a Simple Bar Chart in Java - Stack Overflow

    Apr 26, 2015 · Use the code given below, which uses JOptionPane. A function private void createBars () to create the bars array on assigning width, height, value (bars [i].value = inputData [i]), nix, and nwy of each bar.

    Missing:

    • Horizontal

    Must include:

  2. java - Swing JFrame horizontal scrollbar - Stack Overflow

    Jun 16, 2016 · In my program I am getting some random numbers from text file based on which the graph will be created. I have been able to make the graph but I need to add a scroll bar to see the full graph, which is long enough to fit in the generated window. Could anyone modify or suggest me a very simple so. import java.io.BufferedReader; MyPanel panel;

  3. java - JFreeChart - horizontal stacked bar chart with date axis

    Oct 18, 2016 · Use ChartFactory.createStackedBarChart () with PlotOrientation.HORIZONTAL to create the chart. Make sure the first parameter to addValue () is a multiple of 15 minutes, in milliseconds. Use a DateAxis for the domain; call setDateFormatOverride () to get …

  4. JFreeChart Bar Chart - Online Tutorials Library

    This chapter demonstrates how you can use JFreeChart to create Bar Chart from a given set of business data. A bar chart uses different orientation (horizontal or vertical) bars to show comparisons in various categories.

  5. 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 a Swing application. It also includes a separate extension for JavaFX.

    Missing:

    • Horizontal

    Must include:

  6. Java Swing Bar chart using JFreeCharts - YouTube

    Feb 22, 2023 · A bar chart uses different orientation (horizontal or vertical) bars to show comparisons in various categories. One axis (domain axis) of the chart shows the specific domain being compared, and...

  7. JFreeChart Bar Chart - CodersLegacy

    This tutorial covers the JFreeChart Bar Chart in Java. The Bar Chart has always been a very standard way of representing data, as well as comparing two or more data sets. You can also change the orientation of the bar chart between either vertical or horizontal.

  8. Java Swing - Bar Chart with Animation - YouTube

    Java Swing ChartCreate and custom bar chart with animation using graphics 2d Bar Chart : https://youtu.be/YVXnR42ikgA🙏🙏🙏 Support me by subscribe 🙏🙏🙏 ...

  9. Bar and Line Chart with Horizontal Scroll - www.jfree.org

    Apr 5, 2015 · I'm trying to create a chart with bars and lines mixed with a horizontal scroll. Without the scroll, it works great, but when I try to use the SlidingCategoryDataset, just the bars move. So, I need a way to scroll both bars and line.

  10. java - How to draw very simple horizontal bar charts in SWT?

    I need to draw very simple horizontal bar charts in SWT. For example, giving 50 items and with those items oscillating between the value 0 and 100, I want to display a horizontal chart with vertical bars.

  11. Some results have been removed