anchor.diff:  
   <br />
   
  -<div id="report_pie_chart" class="pie-chart-report"></div>
  +<% unless @stats['emails_sent'] == 0  %>
   
  -<div class="pie-chart-data">
  -  <ul id="campaign_email_reports" class="campaign-email-reports">
  -    <li><div class="box delivered"></div>Delivered: <%= @stats['emails_delivered'] %></li>
  -    <li><div class="box bounced"></div>Bounced: <%= @stats['emails_bounced'] %></li>
  -    <li><div class="box opened"></div>Opened: <%= @stats['emails_opened'] %></li>
  -    <li><div class="box unopened"></div>Unopened: <%= @stats['emails_delivered'] - @stats['emails_opened'] %></li>
  -  </ul>
  -</div>
  +  <div id="report_pie_chart" class="pie-chart-report"></div>
  +  <div class="pie-chart-data">
  +    <ul id="campaign_email_reports" class="campaign-email-reports">
  +      <li><div class="box delivered"></div>Delivered: <%= @stats['emails_delivered'] %></li>
  +      <li><div class="box bounced"></div>Bounced: <%= @stats['emails_bounced'] %></li>
  +      <li><div class="box opened"></div>Opened: <%= @stats['emails_opened'] %></li>
  +      <li><div class="box unopened"></div>Unopened: <%= @stats['emails_delivered'] - @stats['emails_opened'] %></li>
  +    </ul>
  +  </div>
  +  <div class="clear-fix"></div>
  +  <hr />
   
  -<div class="clear-fix"></div>
  +  <%= javascript_tag do %>
  +    var innerData = ([{ 'name': 'Delivered', 'y': <%= @stats['emails_delivered'] %>, 'color': '#105A9C' }, { 'name': '', 'y': <%= @stats['emails_bounced'] %>, 'color': '#930F1C' }]);
  +    var outerData = ([{ 'name': 'Opened', 'y': <%= @stats['emails_opened'] %>, 'color': '#829909' }, { 'name': 'Unopened', 'y': (<%= @stats['emails_delivered'] - @stats['emails_opened'] %>), 'color': '#ED7D05' }, { 'name': 'Bounced', 'y': <%= @stats['emails_bounced'] %>, 'color': '#930F1C' }]);
   
  -<hr />
  +    $(function (){
  +      var campaignDataReport = new CampaignDataReport($("#report_pie_chart"), innerData, outerData);
  +      campaignDataReport.init();
  +    });
  +  <% end %>
  +<% else %>
  +
  +<% end %>
   
   <h3>Reports</h3>
   <br/ >
  -<% if @reports.present? %>
  +<% if @reports.present? && @stats['emails_sent'] != 0 %>
     <table class="table">
       <thead>
         <th class="col-md-4"><%= Spree.t(:name) %></th>
  
positive.code: <script src="https://code.highcharts.com/highcharts.js"></script>
  <script src="https://code.highcharts.com/modules/exporting.js"></script>
  
  <% content_for :page_title do %>
    <%= @marketing_campaign.name.titleize %>
  
negative.code:     <%= Spree.t(:no_resource_found, resource: "Reports") %>
    </div>
  <% end %>
  