Chart « Graphics « Java Swing Q&A





1. FlexGantt TimelineObject color change    stackoverflow.com

I'm using the FlexGantt Javax Swing package (http://www.dlsc.com/) to display some Gantt charts. The trouble I'm having is that I can't figure out how to change the color of ...

2. Determine the value between 2 points in JFreeCharts    stackoverflow.com

Imagine an XY Line Chart. The X axis is a number range, as is the Y axis. There are 3 series on the chart The domain cross hair is NOT locked on data:

plot.setDomainCrosshairLockedOnData(false);
I ...

3. API for drawing Charts    coderanch.com

4. How to draw a chart with multiple y-axises    coderanch.com

Hi How to draw a single Chart with multiple y-axis and sharing the same x-aixs, each y-aixs may contain one or more series. I appreciate any example code/samples on this one. I am using JClass from Quest software. Ex: 20|| Graph 3 || 10|| || 0|______________________________| 3|| || Graph 22|| || 1|______________________________| 8|| 6|| || Graph 1 4|| || 2|______________________________| 15101520 ...

5. Painting graph and charts with Java.    coderanch.com

Hello Everyone, I read a lot of information that the Swing and AWT components should not be used together. I need to implement in my Java application that is based on SWING the possibility to draw graph and charts. I found that the Java 2D can be used for this. But its based on JDK 1.3 and based on the AWT ...

6. Graphics Pie Chart!    coderanch.com

Can anyone tell me why when I run this the output is not correct? It should be just a plain circle with pie slices.... import javax.swing.JComponent; import java.awt.Graphics; import java.awt.Graphics2D; /** Component that displays a pie chart. */ public class PieChartComponent extends JComponent { public void paintComponent(Graphics g) { Graphics2D g2 = (Graphics2D) g; PieChart p = new PieChart(getWidth(), getHeight()); p.add(1.1); ...

7. 3D Charts    coderanch.com

8. Drawing a Chart.    coderanch.com

Hi, I have a swing application already developed and running. I am not a seasoned swings developer, but understand the basics. My query We have XML config file that has information flow configuration. For example if information flows from A - > B -> C. I want to extend this swing application and draw a chart at runtime by reading this ...

9. Drawing charts using swings    java-forums.org

hi friends, i have just moved from vba to java. i am quite new to java. but unexpectedly i was given a task to build a chart for a table stored in oracle database. we have to use only swings technology. and now my task is, There will be a table in oracle database. i have to draw a line chart ...