Charts and Data Visualization | Django Inventory Management System Web Application

Charts and Data Visualization | Django Inventory Management System Web Application

KenBroTech

3 года назад

43,055 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Big Tymer
Big Tymer - 13.02.2023 17:50

You focused on the colors for way to long bro

Ответить
Kaustubh mokal
Kaustubh mokal - 12.06.2022 01:12

Great teacher

Ответить
PRINCE SAMUEL KYEREMANTENG
PRINCE SAMUEL KYEREMANTENG - 07.04.2022 21:05

This is pretty much simplified!
Assuming I need to make a grath displaying orders made based on the days in the week, how do I go by that?
So say:
I want to get the days and their orders dynamically (considering 7 days in a week - Monday to Sunday) .

Ответить
Antonio Ohdiambo
Antonio Ohdiambo - 30.03.2022 15:40

Very good work Kenneth, keep it up!
Question : Can orders from one product have the same color in the pie chart, for instance HP laptop orders having a collective input in the pie chart so that it has one color representing all orders.

Ответить
Kwami Kudawoo
Kwami Kudawoo - 19.02.2022 22:00

Hi Ken, i hope you are doing great, how to count employee group by department in django

Ответить
Luka Danelia
Luka Danelia - 26.10.2021 15:57

Great, Thanks again

Ответить
Muhammed Esayed
Muhammed Esayed - 23.08.2021 18:51

This is very good
But I have a question
How can we add filters to the charts, filter by order or product ?

Ответить
DrHappybone
DrHappybone - 17.08.2021 19:03

This is epic! I'm gonna find projects just to use this now lol

Ответить
Pubudu Ariyadasa
Pubudu Ariyadasa - 18.07.2021 06:42

Thanks for the explanation ..

Ответить
Mariam M.
Mariam M. - 15.07.2021 10:08

Thanks a lot

Ответить
Sebastian Gutierrez
Sebastian Gutierrez - 14.06.2021 08:11

Hey! You could try adding this code beetwen the JS tags



var color_list = [{% for order in orders %} 'rgba('+Math.floor(Math.random() * 256)+', '+Math.floor(Math.random() * 256)+', '+Math.floor(Math.random() * 256)+', 1)',{% endfor %}];


and then



backgroundColor: color_list,
borderColor: color_list,



This way you'll have infinity random colors for your chart

Ответить
Zack Seeker
Zack Seeker - 03.06.2021 09:38

This is what I wanted! Thanks a lot for ur great contribution.

Ответить