plot graph extracting data from text file
plot graph extracting data from text file
i want to plot a bar graph using jfree chart by extracting data from text file and plot dynamically........plz help me as i'm a beginner in java.......
Re: plot graph extracting data from text file
You have 2 completely independent problems here:
1) Read values from a text file, interpret them as Java native variables (Integers, Doubles, etc) and put them into a format that can be converted into JFreeChart's internal data structure. (how to do this?)
2) Use JFreeChart to plot the converted data by means of a Bar Chart. (how to do this?)
Maybe, as you are a beginning in Java, you might want to start with something easier. Visualization of data is not exactly the first thing most people start with.
Alternatively you could also consider using an already pre-programmed tool like OpenOffice.org's Calc or Microsoft's Excel to visualize your data.
1) Read values from a text file, interpret them as Java native variables (Integers, Doubles, etc) and put them into a format that can be converted into JFreeChart's internal data structure. (how to do this?)
2) Use JFreeChart to plot the converted data by means of a Bar Chart. (how to do this?)
Maybe, as you are a beginning in Java, you might want to start with something easier. Visualization of data is not exactly the first thing most people start with.
Alternatively you could also consider using an already pre-programmed tool like OpenOffice.org's Calc or Microsoft's Excel to visualize your data.
Creator of Glotaran, a software program developed for global and target analysis of time-resolved spectroscopy and microscopy data. Big fan of JFreeChart.