title: How to divide amchart pie chart using time duration
body: <p>I am using amchart pie chart. I want to divide slices using hours and minutes and seconds. For example if the total working time is 8 hours, In that user spend 5 hours 30 minuts in working place and another time is out side. Then i want to add those time based on amchart pie chart. I don't know how to add that time. I added only numbers based. Please help me. Here is my code:</p>
  
  <pre><code>var chart;
  var a = 1.1;
  var chart = AmCharts.makeChart("chartdiv", {
      "type" : "pie",
      "allLabels" : [{
              "text" : "05:24",
              "align" : "center",
              "bold" : true,
              "y" : 230
          }, {
              "text" : "Clocked In",
              "align" : "center",
              "bold" : false,
              "y" : 250
          }
      ],
      "dataProvider" : [{
              "country" : a + "-in Visits",
              "litres" : 11
          }, {
              "country" : "Driving",
              "litres" : 20
          }
      ],
      "valueField" : "litres",
      "titleField" : "country",
      "labelText" : "[[title]]",
      "radius" : "30%",
      "innerRadius" : "60%",
      "marginTop" : 0,
      "marginBottom" : 0
  });
  
  
  &lt;div id="chartdiv"&gt;&lt;/div&gt;   
  </code></pre>
  
  <p>in above code i added numbers in liters field. There i want to add time.</p>
  
  <p>Please help me.   </p>