Use chartjs
On Wed, 1 Jul 2020, 07:45 ratnadeep ray <ratnadeep9@gmail.com> wrote:
Hi all,--I have wrote a python program to display the line graph as follows:
import matplotlib.pyplot as plt
x = [1,2,3]
y = [2,4,1]
plt.plot(x, y)
plt.xlabel('x - axis')
plt.ylabel('y - axis')
plt.title('My first graph!')
plt.show()
def view1(request)
return render(request, 'display_report.html', { 'var1': "abc", ...
... })
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/827e0d0c-6bbb-4511-af73-9fa379df699do%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALY6ddd%3DN_WdOY%2B4xSUx13BjVeAdEo3ywQR5F3xUZk%2B6O4Q2jA%40mail.gmail.com.
No comments:
Post a Comment