How to make bar chart in java using JFreeChart

  Рет қаралды 46,000

CodeTech Club

CodeTech Club

Күн бұрын

Пікірлер: 39
@jayamadhukachandramal4328
@jayamadhukachandramal4328 3 жыл бұрын
Excellent Thank you So much
@DanielHorodenko
@DanielHorodenko 3 жыл бұрын
Thank you, it helped me a lot.
@chathuninimthara3243
@chathuninimthara3243 3 жыл бұрын
niceee
@DanielHorodenko
@DanielHorodenko 3 жыл бұрын
I have a question, what if pnlReport was part of another class? How would you insert a chart from one class to this one?
@Scorpiomaj27889
@Scorpiomaj27889 8 жыл бұрын
Is this something I could could tie to a SQL query and display bars based upon a group by and count function?
@CodeTechClubHD
@CodeTechClubHD 8 жыл бұрын
+scorpiomaj27 Yes why not, you can write a SQL query, execute It. Whatever records It will return you just have to run a loop, add those records to this chart so will get Bar chart of those records.
@ansh4926
@ansh4926 6 жыл бұрын
is there any way we can show value on bar .. for example 70 for dinesh on his corresponding bar
@KillerMachineGER
@KillerMachineGER 7 жыл бұрын
thanks a lot, this video was very helpful and good, thanks
@CodeTechClubHD
@CodeTechClubHD 6 жыл бұрын
Thanks. Please don't forget to subscribe for more videos If haven't subscribed yet .
@Germine100
@Germine100 9 жыл бұрын
hi, is it possible to link the data to arraylist? so that the data changes when i add in new stats ? (e.g. sales of different product, when i add in 4 more of Product A sold, the graph would update also)
@CodeTechClubHD
@CodeTechClubHD 9 жыл бұрын
+Germine100 yes why not, I made a video for you using HashMap and you can add your own another logic to it for security and all like using private variables and setter and getter methods, will upload a video soon
@CodeTechClubHD
@CodeTechClubHD 9 жыл бұрын
+Germine100 I've created a video for you, using HashMap, as it is easy to use HashMap. I just used simple way to add information to HashMap to make video ASAP and as I don't get idle time generally so I confess for that but I did my best hope your problem is solved. Please like and subscribe for more videos. Your support means a lot :) Here is the link of video: kzbin.info/www/bejne/a5C2omiih9R-etk&list=PLPbShmg3c8y9Pkq-pTZPGEbg_3Po4zPsE
@AzizjanAyupov_leo
@AzizjanAyupov_leo 7 жыл бұрын
Thank you very much! It's sooo useful !!!
@CodeTechClubHD
@CodeTechClubHD 7 жыл бұрын
You're welcome. Please don't forget to like, share and subscribe for more videos.
@AzizjanAyupov_leo
@AzizjanAyupov_leo 7 жыл бұрын
Of course! I did thees all :D
@CodeTechClubHD
@CodeTechClubHD 7 жыл бұрын
Thank you for support :)
@ersimarpreetsingh
@ersimarpreetsingh 7 жыл бұрын
I am getting error in this code as "Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problem: The method updateUI() is undefined for the type JFrame". Please suggest.
@kamalalam6403
@kamalalam6403 7 жыл бұрын
bro!! u r great and its very useful to me thank you bro (Y)
@CodeTechClubHD
@CodeTechClubHD 6 жыл бұрын
Thanks. Please don't forget to subscribe for more videos If haven't subscribed yet .
@noelpregot4178
@noelpregot4178 6 жыл бұрын
I get this error: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet. Any solution?
@rethabilelerata2364
@rethabilelerata2364 4 жыл бұрын
Lovely stuff thank you so much my brother
@CodeTechClubHD
@CodeTechClubHD 4 жыл бұрын
Thank you, please subscribe for more videos. Do visit codetechclub.com
@KuldeepSingh-cm3oe
@KuldeepSingh-cm3oe 8 жыл бұрын
what is that thing with which we are drag and dropping ?
@CodeTechClubHD
@CodeTechClubHD 8 жыл бұрын
+Kuldeep Singh If I'm not wrong you meant at the beginning at 0:33 to 1:07 ?? That is JPanel and JButton. If this is not what you asked for, then would you please elaborate little more by mentioning a specific time in the video so I can understand what precisely you want to know and thank you for showing an interest :)
@KuldeepSingh-cm3oe
@KuldeepSingh-cm3oe 8 жыл бұрын
Thanx for the response but i got that. I was talking about the window builder plugin. I did not know that bcoz i never used it but now i know :D
@CodeTechClubHD
@CodeTechClubHD 8 жыл бұрын
+Kuldeep Singh Ah! I see, good to know you figured that out. Please like, share and subscribe for more videos, If you haven't yet :)
@KuldeepSingh-cm3oe
@KuldeepSingh-cm3oe 8 жыл бұрын
sure
@CodeTechClubHD
@CodeTechClubHD 8 жыл бұрын
+Kuldeep Singh Thank you :)
@ucdopham3125
@ucdopham3125 4 жыл бұрын
how to set bar width in bar chart
@sabdaavicenna5509
@sabdaavicenna5509 7 жыл бұрын
what is your import codes for this chart program? i have been set my jcommon and jfreechart from my libraries, but they don't work in my netbeans. Too much syntax error in this action performed source codes from this video? How to deal with it?
@江宇祥-b6i
@江宇祥-b6i 6 жыл бұрын
I also encountered the same problem
@江宇祥-b6i
@江宇祥-b6i 6 жыл бұрын
Do you have a solution?
@江宇祥-b6i
@江宇祥-b6i 6 жыл бұрын
can you help me
@jihanejaddi3414
@jihanejaddi3414 7 жыл бұрын
thank you for sharing .. can you link me the source code plz ?
@hernaud1427
@hernaud1427 4 жыл бұрын
por que no te pasai el codigo oe >:C git push nomas nada mas enserio porfa
@AntoninaPanayiotou
@AntoninaPanayiotou 4 жыл бұрын
it doesnt work for me it throws exception error: incompatible types: pieC cannot be converted to CategoryDataset JFreeChart jchart = ChartFactory.createBarChart("Student Record", "Student Name", "Student Marks", dcd, PlotOrientation.VERTICAL, true, true, false); Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
NetBeans BarChart using JFreeCharts for JPANEL
14:55
zFlexSW
Рет қаралды 41 М.
Java buttons 🛎️
14:28
Bro Code
Рет қаралды 177 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Graph Arduino Sensor Data with Java and JFreeChart
57:33
upgrdman
Рет қаралды 130 М.
Netbeans Tutorial - Create a Pie Chart using Java
16:47
VertexDigitalArts
Рет қаралды 26 М.
Java - Gráficos com JFreeChart - O projeto
20:25
Programinhas
Рет қаралды 11 М.
Java Swing - Gauge Chart
36:33
Ra Ven
Рет қаралды 3,1 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 574 М.
Java GUI 🖼️
12:45
Bro Code
Рет қаралды 136 М.
How to Print Student Records in Java NetBeans
15:46
DJ Oamen
Рет қаралды 63 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН