Nice work dude! --> creating a dataset -->chartfartory is a abstract class which is collection of utility methods for creating charts returning us a Jfreechart -->where PieChart Plot is used to set the properties for the chart ,but in this case not used -->And then creating a frame of type ChartFrame with two parameters(Title,JFreeChart object )
@shujat13212 жыл бұрын
Hi Dear, Please use a software which can capture your whole screen, bcz while watching this tutorial many times i wished that i can see your whole screen. well, nice work, keep it up
@tusharkanavalli5349 жыл бұрын
Good one!! please take care of the background sound
@ind0r11 жыл бұрын
Nothing. Leave it out. But to get access to PieChart Plot properties you can use P later (e.g.: "P.setSimpleLabels(true);" -> Other Labels in Chart).
@pustakawandunia16887 жыл бұрын
can you help me? how to make line scrol to show data in jtable from combain line chart jfreechart and database?
@madhumitasasmal716910 жыл бұрын
hi der .. thnx for the vedios.. but i want a lil help .. while creating the data u r using the static data entry .. can u help me making it dynamic entry whr usr ll have an option to enter the data values.
@CloudDinoGod8 жыл бұрын
ill help
@titanpogi25596 жыл бұрын
throw a global variable in the parameter instead of putting fixed integer value. Ex. pieDataset.setValue("one", new Interger(variable)); up to you what value that variable contains
@jtw54912 жыл бұрын
im confused...why have 'P' if you are not gonna use it?
@MrPhan17611 жыл бұрын
ChartFrame frame = new ChartFrame("text", chart); How to do??? I can't do it. Plesea tell me where is ChartFrame? :(
@sbastidasr11 жыл бұрын
I love you so much man, thanks
@ccnaguru8 жыл бұрын
how to add this chart in JPanle and show on a JFrame with other components
@AzizjanAyupov_leo7 жыл бұрын
DefaultPieDataset pieDataset = new DefaultPieDataset(); pieDataset.setValue("Azizjan", new Integer(20)); pieDataset.setValue("Leyla",new Integer(19)); pieDataset.setValue("Lola",new Integer(18)); pieDataset.setValue("Janara",new Integer(17)); pieDataset.setValue("Konstantin",new Integer(26)); JFreeChart chart = ChartFactory.createPieChart3D("Title",pieDataset,true,true,true); PiePlot3D P = (PiePlot3D)chart.getPlot(); //P.setForegroundAlpha(TOP_ALIGNMENT); ChartPanel chartPanel = new ChartPanel(chart); jPanel2.removeAll(); jPanel2.add(chartPanel); jPanel2.updateUI();
@REDSSARMY12 жыл бұрын
GOD BLESS YOU bro :D
@roginroireillo71537 жыл бұрын
hi can you help me? I'm using eclipse
@AzizjanAyupov_leo7 жыл бұрын
Really helpful! Thank you very much!!!
@debosteebo11 жыл бұрын
im wondering the same thing, anyone figure out why?
@medogado10012 жыл бұрын
does not work with me!!!
@WuWarXtream11 жыл бұрын
You're the man!
@tanveersingh33597 жыл бұрын
can u send me the code ??
@vineetkaushik25012 жыл бұрын
someone use eclipse for godsake!this isn't as holistic as i had hoped for
@ind0r11 жыл бұрын
Ehhmm: It seems to me that you don't know what the code is actually doing and this should be part of a useful tutorial (Intention of using Integer objects? What if I want to use double values? What is the concept behind the factory? What can you set with all these variables in the factory?...). And in this case, P is useless and this should be obvious even for java beginners. => I wouldn't hire you for programming if I saw this video