nt
  <span class="hljs-keyword">var</span> n2 = count - n1

  pie = <span class="hljs-keyword">new</span> hx.PieChart(node);
  pie.setData({
    <span class="hljs-attr">name</span>: <span class="hljs-string">"Orders Dispatched"</span>,
    <span class="hljs-attr">segments</span>: [
      {
        <span class="hljs-attr">name</span>: <span class="hljs-string">"Completed"</span>,
        <span class="hljs-attr">size</span>: n1,
        <span class="hljs-attr">color</span>: color
      },
      {
        <spa