?
Solved

how to create a custom graph image

Posted on 2014-02-17
3
Medium Priority
?
420 Views
Last Modified: 2014-02-19
We have a userbase in a saas product.  We want to generate custom graphs that are turned into images, that are then send to them in a weekly email.

We can do all except the custom graph image.  Any thoughts or direction on this?

Our technologies are js, java, jquery, ajax.
0
Comment
Question by:Shaye Larsen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39866662
Instead of reinventing the wheel, why not use one of the many open source chart and graph libraries?  http://www.chartjs.org/ or http://www.jqplot.com/ or http://d3js.org/.  I have used the first two myself.

If you want to turn things into images, I can't speak to java because I don't know the language.  I have http://www.imagemagick.org/ installed on my server and it does the trick.  There is a learning curve but it is similar to having photoshop features at the command line you can access by your serverside code.
0
 
LVL 1

Author Comment

by:Shaye Larsen
ID: 39867509
Creating the graph isn't my problem, it is getting it into an email.  Either I need to produce a friendly image of the graph, or friendly html that email can handle.
0
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39867523
I see.  As long as you can create the graph, that is where imagemagick comes in.  Or perhaps running something like this  html2canvas on the fly http://html2canvas.hertzen.com/examples.html.  The key is you need a way to save the image serverside, then put the full url to the image in your email.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question