Graph 2 « Graph « JFreeChart Q&A





1. Sliding candle stick graph    jfree.org

Hi, I so far have developed a candle stick graph based on the DefaultOHLCDataset. In case I have data to be displayed > 1 year I have to provide the possibility to scroll. For this I need to keep the y-axis always being displayed and the x-axis depending on the scroller to be moved. It is similar to the idea of ...

2. Glitchy graphing using JFreeChart    jfree.org

Hi, I'm working with JFreeChart to plot several TimeSeries charts. It seemed to be working fine, but as of today, all the graphs seem to flicker and are randomly glitching making them impossible to see. If I minimize and maximize, the issue gets fixed for a few seconds until the next update or mouse click. Does anyone have an idea about ...

3. Newbie needs help with creating first graph    jfree.org

Hi, I am trying to create a bar graph to plot the value of orders against time on the X axis. So i am retrieving the orders from our database which has a value column and a date column. So in my code I have a loop which for a given date range gets the orders in no particular order. So ...

4. Using setTitle() to update a graph title.    jfree.org

I'm trying to build a right click menu item that will allow me to change the title of my graph by right clicking, choosing "Change Title" and then opening up a text box to allow the user to change the title of the graph to their chosen title. Currently, I have it hard coded in to change to "title changed". I ...

5. get all graph names with constructors    jfree.org

Re: get all graph names with constructors by paradoxoff Tue Jan 05, 2010 7:12 pm That is possible either by hand and following the API doc, or by reflection. Try this snippet: Code: Select all package mycharts; import org.jfree.chart.ChartFactory; import java.lang.reflect.Method; import java.lang.reflect.Modifier; public class JfreeChartReflectionDemo { public static void main(String[] args){ ...

6. How to add jfreechart graph to Java Desktop Application    jfree.org

(0) Ask yourself whether you even need to ask a question. Did you: (a) look through the Javadocs? (b) search the forum to see if a similar question has already been asked and answered? (c) search the web (via your search engine of choice)? Heck, you might even want to look through the JFreeChart source code - it's not just for ...

7. Generating graphs with more than one data.    jfree.org

Hello to all, How can I generate the graph having more than one element on x-axis against the y-axis? E.g. I have data having number of counts of male and female per year registered, so I want to show the a bar graph with year on x-axis and y-axis showing the number. Can I do this? Thanks in advance.





10. Upgraded to 1.0.13 from 1.0.6 and graphs not generating    jfree.org

I switched from version 1.0.6 to 1.0.13 and although all my graphs worked fine previously, after the upgrade nothing is displayed. Infact the entire panel seems to be missing. Also i just got the Demo Collection for 1.0.13; im trying to get a DateAxis to display as follows: http://picasaweb.google.com.br/ricardo. ... 0976390434 MultipleAxisDemo3 shows multiple domain axes; but how would you move ...

11. Graph draws more than he should    jfree.org

12. Spider graph background    jfree.org

Hi, I'm trying to create a spider chart (using 1.0.13) from the demo code, but I need the background and the values for the background to be generated along with the plot. The web part of the graph along with 0, 1, 2, 3, 4, etc... that would go under the plot. Second question, is there is "Render" class for Spider? ...

14. Read values on Jfreechart graph    jfree.org

public class SimpleToolTipDemo { public static void main(String[] args) { DefaultXYDataset set = new DefaultXYDataset(); set.addSeries("Values",new double[][]{{-10,-1,-0.1,0,0.1,1,10},{-0.1,-1,-10,Double.NaN,10,1,0.1}}); JFreeChart chart = ChartFactory.createXYLineChart( "Tool Tips","x","y", ...

15. graph position on the screen    jfree.org

Hi My code is not going wrong at all. But I am drawing 6 graphs simultaneously and they all appear one-on-top of the other. I am an experienced programmer and in mathlab I used to do the same and reporition each graph on the screen so when they appeared I could see all 6 at tha same time and didn't have ...

16. pressing the red cross (close) on a graph    jfree.org

Hi I draw about nine graphs at a time on the screen and I would like to know if there is a quick way to close all these graphs without me having to individually press the close X on top right corner of each graph. I am not saving any handles to the graphs at present. Any suggestions are appreciated.