I have a question, what if pnlReport was part of another class? How would you insert a chart from one class to this one?
@Scorpiomaj278898 жыл бұрын
Is this something I could could tie to a SQL query and display bars based upon a group by and count function?
@CodeTechClubHD8 жыл бұрын
+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.
@ansh49266 жыл бұрын
is there any way we can show value on bar .. for example 70 for dinesh on his corresponding bar
@KillerMachineGER7 жыл бұрын
thanks a lot, this video was very helpful and good, thanks
@CodeTechClubHD6 жыл бұрын
Thanks. Please don't forget to subscribe for more videos If haven't subscribed yet .
@Germine1009 жыл бұрын
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)
@CodeTechClubHD9 жыл бұрын
+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
@CodeTechClubHD9 жыл бұрын
+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_leo7 жыл бұрын
Thank you very much! It's sooo useful !!!
@CodeTechClubHD7 жыл бұрын
You're welcome. Please don't forget to like, share and subscribe for more videos.
@AzizjanAyupov_leo7 жыл бұрын
Of course! I did thees all :D
@CodeTechClubHD7 жыл бұрын
Thank you for support :)
@ersimarpreetsingh7 жыл бұрын
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.
@kamalalam64037 жыл бұрын
bro!! u r great and its very useful to me thank you bro (Y)
@CodeTechClubHD6 жыл бұрын
Thanks. Please don't forget to subscribe for more videos If haven't subscribed yet .
@noelpregot41786 жыл бұрын
I get this error: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet. Any solution?
@rethabilelerata23644 жыл бұрын
Lovely stuff thank you so much my brother
@CodeTechClubHD4 жыл бұрын
Thank you, please subscribe for more videos. Do visit codetechclub.com
@KuldeepSingh-cm3oe8 жыл бұрын
what is that thing with which we are drag and dropping ?
@CodeTechClubHD8 жыл бұрын
+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-cm3oe8 жыл бұрын
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
@CodeTechClubHD8 жыл бұрын
+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-cm3oe8 жыл бұрын
sure
@CodeTechClubHD8 жыл бұрын
+Kuldeep Singh Thank you :)
@ucdopham31254 жыл бұрын
how to set bar width in bar chart
@sabdaavicenna55097 жыл бұрын
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?
@江宇祥-b6i6 жыл бұрын
I also encountered the same problem
@江宇祥-b6i6 жыл бұрын
Do you have a solution?
@江宇祥-b6i6 жыл бұрын
can you help me
@jihanejaddi34147 жыл бұрын
thank you for sharing .. can you link me the source code plz ?
@hernaud14274 жыл бұрын
por que no te pasai el codigo oe >:C git push nomas nada mas enserio porfa
@AntoninaPanayiotou4 жыл бұрын
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