Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6594049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:45:38+00:00 2026-05-25T17:45:38+00:00

I have been tasked with producing a analytic tool for some of the data

  • 0

I have been tasked with producing a analytic tool for some of the data which we get in about the activities the company i work for has with its clients.

Last week i made a mock up view of one possible graph using some PHP and the Flot Jquery graphing tool. Unfortunatly I dont think I am going to be able to use flot for what i need in the long term as to make the graph i needed work I had to hack 8 divs one of top of the other otherwise i just got a flat line…

So now i am looking at technologies to work with for this tool. One of the senior members here recommends using Django for the framework and do the graphs using reportlabs or matplotlib

I have spent the last couple of days looking for decent tutorials on how to produce graphs using report labs or matplotlib and using django to display them, unfortunately i havent been able to find much which is of any use.
the 2 examples i found on the django site werent terriably useful and most examples give you something like:

    drawing = Drawing()
data = [
        (13, 5, 20, 22, 37, 45, 19, 4),
        (14, 6, 21, 23, 38, 46, 20, 5)
        ]
bc = VerticalBarChart()
bc.x = 50
bc.y = 50
bc.height = 125
bc.width = 300
bc.data = data
bc.strokeColor = colors.black
bc.valueAxis.valueMin = 0
bc.valueAxis.valueMax = 50
bc.valueAxis.valueStep = 10
bc.categoryAxis.labels.boxAnchor = 'ne'
bc.categoryAxis.labels.dx = 8
bc.categoryAxis.labels.dy = -2
bc.categoryAxis.labels.angle = 30
bc.categoryAxis.categoryNames = ['Jan-99','Feb-99','Mar-99',
    'Apr-99','May-99','Jun-99','Jul-99','Aug-99']
drawing.add(bc)

but how do you then intergrate that with django`s views? this was my attempt which produced a blank screen…

def chartTest(request):

import mycharts
drawing = Drawing()
d = mycharts.testChart(drawing)

binaryStuff = d.asString('gif')

return HttpResponse(binaryStuff,'image/gif')

I did manage to make matplotlib produce a graph but it had a grey background which for life of me I couldn’t work out how to make it go away and found it hard looking on Google for any information about why it is like that.

I am a little bit stuck atm, so if anyone has any ideas on where I can find helpful advice on learning these tools that would be most awesome.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:45:39+00:00Added an answer on May 25, 2026 at 5:45 pm

    Have a look at Google Charts Tools http://code.google.com/apis/chart/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been tasked to optimize some sql queries at work. Everything I have
I have been tasked with implementing a PKI library in C# for a company
I have been tasked with converting several php classes into java classes, which is
I have been tasked with giving my company's website (~40 pages) a facelift. The
I have been tasked with writing an ADP application using Access. The back-end data
I have been tasked with improving the performance of a slow running process which
I have been tasked with doing some planning and research for a home grown
I have been tasked to write a device driver for an embedded device which
I have been tasked with researching and implementing data warehousing for our ERP system
I have been tasked with rewriting a .NET application which communicates using a WSE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.