title: How to send jqPlot Image to the Microsoft ReportViewer RDLC in order to generate a PDF
body: <p>All:</p>
  
  <p>Here is the information about my Web Application development environment:</p>
  
  <p>-Microsoft Visual Studio Professional 2013</p>
  
  <p>-.NET Framework 4.0</p>
  
  <p>I've installed the following:</p>
  
  <p>-Microsoft Report Viewer 2012 Runtime</p>
  
  <p>-Microsoft Report Viewer 2010 SP1 WebForms</p>
  
  <p>-jqPlot Charts version: 1.0.8  revision: 1250</p>
  
  <p>For the application that we develop at work, we are able to generate a Graph using jqPlot.</p>
  
  <p>jqPlot will place the graph that is generated in the following div section within an ASPX page:</p>
  
  <pre><code>&lt;div id="chartdiv" &gt;&lt;/div&gt;
  </code></pre>
  
  <p>However, one of the requirements for the project is to ensure that the graph can also be placed in PDF file if the user wants to generate a pdf using Microsoft ASP.NET Report Definition Language Client-side (rdlc) and Microsoft ReportViewer technology.</p>
  
  <p>1) Would it be possible to some how directly you get the jqPlot graph as an image into a pdf file?</p>
  
  <p>If no, I have figured out how to make use of jqPlot's API to create an image in another div section of the same ASPX page.</p>
  
  <p>I just wanted to briefly describe the code:</p>
  
  <pre><code>  &lt;div id="chartdiv" &gt;&lt;/div&gt;
  
  
    var imgelem = $('#chartdiv').jqplotToImageElem();
  </code></pre>
  
  <p>2) Is it possible to send the imgelem variable which references an image to the Microsoft ReportViewer rdlc file?  If yes, could someone please give me a high-level stepy-by-step plan as to how I should go about implementing such a feature?</p>