title: Is it possible to create a sparkline using apps script and not built in function?
body: <p>I'm using Google Spreadsheets and I'd like to customize the sparkline function beyond the given parameters that come with the <code>=sparkline()</code> function.</p>
  
  <p>More specifically I want to create a bullet chart. I can create a stacked barchart by doing this: <code>=SPARKLINE(C9:E9,{"charttype","bar"})</code></p>
  
  <p>A stacked bar chart is half way to a bullet chart. <a href="http://dealerdiagnostics.com/blog/2008/05/create-bullet-graphs-with-google-charts-in-7-easy-steps/" rel="nofollow">Here's</a> an example bullet chart using Google Charts API.</p>
  
  <p>Given that blog post uses Google Charts API and that I'm currently using Google-Spreadsheets, stands to reason there may be a way to create a sparkline formula for a bullet chart (since I'm using 2 Google Services that are somewhat integrated).</p>
  
  <p>I also just want to practice using GAS.</p>
  
  <p>Ideally, I want to be able to create the sparklines using a function within a cell (similar to <code>=image()</code>). This is as opposed to creating a chart.</p>
  
  <p>Any helpers? Is there a way to do this using a custom function built using GAS?</p>