<!----  fetch chart on dashboard   --->
            <div class="col-sm-2 col-sm-offset-10" >
                <!----  user id hidden field  ----->
                <select id="slt_year" class="form-control" style="padding-right:10px">
                    <?php
                    $date=date("Y");
                    ?>
                        <option value="<?php echo $date;?>"> <?php echo $date;?>  </option>
                    <?php
                    for($i=1;$i<4;$i++)
                    {
                       $date2=date("Y",strtotime("- $i year"));
                    ?>
                        <option value="<?php echo $date2;?>"> <?php echo $date2;?> </option>
                    <?php
                    }
                    ?>
                </select>
            </div>
          <div class="row">
            <div class="col-sm-12">
                <div id="chart-container">
                      <canvas id="graphCanvas"></canvas>
                 </div>
            </div><!-- /.col -->
          </div><!-- /.row -->