anchor.diff:                   var allSvgsCode = '<svg xmlns="http://www.w3.org/2000/svg" class="gauge1" width="800" height="244" style="background-color: #FFFFFF;">';
   
   
  -                var svgs = document.getElementsByClassName("gauge");
  -                 for(var i = 0; i < svgs.length;i++) {
  +                 var svgs = document.getElementsByClassName("gauge");
  +
  +                 to = to < svgs.length ? to : svgs.length - 1;
  +                 var gaugeCount = to - from + 1;
  +                 for(var i = from; i <= to;i++) {
                        var svgOrigin =svgs[i];
   
                        //copy svg chart
                        var svg = svgOrigin.cloneNode(true);
   
  -                     svg.setAttribute("x", marginLeft + i*(guageWidth+indent));
  +                     svg.setAttribute("x", marginLeft + (i-from)*(guageWidth+indent));
                        svg.setAttribute("y", marginTop);
                        svg.setAttribute("style", "background-color: #FFFFFF;");
   
  
positive.code:                                     <div class="box-right-nav dropdown">
                                          <a href="#" data-target="#" data-toggle="dropdown"><i class="fa fa-cog"></i></a>
                                          <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
                                              <li><a href="" onclick="saveSvgAsPng(event, ${index})">Save</a></li>
                                              <ano:iF test="${requestScope.selectedDashboard == null && gauge.dashboardsToAdd != ''}">
                                                  <li><a onclick="addGauge('${gauge.caption}', '${gauge.name}', '${gauge.dashboardsToAdd}')" >Add to Dashboard</a></li>
                                              </ano:iF>
  
negative.code: 
          <!-- Gauges -->
          <script type="text/javascript">
               function saveGaugesSvgAsPng(event, from, to) {
  
                   event.preventDefault();
                   event.stopPropagation();
  
  //                 var xValBegin= 100, xStep = 200;
                   var guageWidth = 144,
  