Java prog#63. How to add a Jfreechart pie chart to a panel in netbeans java

  Рет қаралды 78,183

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

Пікірлер: 25
@1045sai
@1045sai 11 жыл бұрын
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 )
@shujat132
@shujat132 12 жыл бұрын
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
@tusharkanavalli534
@tusharkanavalli534 9 жыл бұрын
Good one!! please take care of the background sound
@ind0r
@ind0r 11 жыл бұрын
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).
@pustakawandunia1688
@pustakawandunia1688 7 жыл бұрын
can you help me? how to make line scrol to show data in jtable from combain line chart jfreechart and database?
@madhumitasasmal7169
@madhumitasasmal7169 10 жыл бұрын
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.
@CloudDinoGod
@CloudDinoGod 8 жыл бұрын
ill help
@titanpogi2559
@titanpogi2559 6 жыл бұрын
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
@jtw549
@jtw549 12 жыл бұрын
im confused...why have 'P' if you are not gonna use it?
@MrPhan176
@MrPhan176 11 жыл бұрын
ChartFrame frame = new ChartFrame("text", chart); How to do??? I can't do it. Plesea tell me where is ChartFrame? :(
@sbastidasr
@sbastidasr 11 жыл бұрын
I love you so much man, thanks
@ccnaguru
@ccnaguru 8 жыл бұрын
how to add this chart in JPanle and show on a JFrame with other components
@AzizjanAyupov_leo
@AzizjanAyupov_leo 7 жыл бұрын
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();
@REDSSARMY
@REDSSARMY 12 жыл бұрын
GOD BLESS YOU bro :D
@roginroireillo7153
@roginroireillo7153 7 жыл бұрын
hi can you help me? I'm using eclipse
@AzizjanAyupov_leo
@AzizjanAyupov_leo 7 жыл бұрын
Really helpful! Thank you very much!!!
@debosteebo
@debosteebo 11 жыл бұрын
im wondering the same thing, anyone figure out why?
@medogado100
@medogado100 12 жыл бұрын
does not work with me!!!
@WuWarXtream
@WuWarXtream 11 жыл бұрын
You're the man!
@tanveersingh3359
@tanveersingh3359 7 жыл бұрын
can u send me the code ??
@vineetkaushik250
@vineetkaushik250 12 жыл бұрын
someone use eclipse for godsake!this isn't as holistic as i had hoped for
@ind0r
@ind0r 11 жыл бұрын
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
Java prog#64. How to add a Jfreechart 3D pie chart to a panel in netbeans java
2:09
Netbeans Tutorial - Create a Pie Chart using Java
16:47
VertexDigitalArts
Рет қаралды 26 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Java prog#62.How to download jfreechart and connect it to netbeans Java
5:08
ProgrammingKnowledge
Рет қаралды 96 М.
NetBeans BarChart using JFreeCharts for JPANEL
14:55
zFlexSW
Рет қаралды 41 М.
Pie Chart | JFreeChart Part-1
15:46
PCODEP
Рет қаралды 4,9 М.
Creating a Pie Chart with NETBEANS and JFreeChart
13:33
zFlexSW
Рет қаралды 6 М.
JavaFx - Creating a Pie Chart
6:10
Professor Saad
Рет қаралды 15 М.