title: How to remove PullInSlice/PullOutSlice onclick and add PullInSlice/PullOutSlice on mouseover hover in Animated Amcharts Timeline Pie-chart
body: <p>I want to remove the slice pull in and pull out on Mouse Click on <a href="https://www.amcharts.com/demos/animated-time-line-pie-chart/" rel="nofollow noreferrer" title="Animated Amcharts Timeline Pie-chart">Animated Amcharts Timeline Pie-chart</a></p>
  
  <p>Here is the code:</p>
  
  <pre><code>function pushvalue(curyear,curmonth,monvalue,state,statecount){
   array.push({year: curyear, month: curmonth, count: monvalue, state: state, 
   statecount: statecount});
  }
  
  var monthNames = ["January", "February","March", "April", "May", "June","July", "August", "September", "October", "November", "December”];
  var currentYear = 1997;
  var array = [];
  
  for (var i = 0; i &lt; 4; ++i) {
  for (var j = 0; j &lt; 12; ++j) {
   pushvalue(currentYear + i, monthNames[j],count[j],state[j],statecount[j]);
  }
  }
  
  var chartData = {};
  for (var i = 0; i &lt; array.length; ++i) {
   if (!chartData[array[i].year]) {
     chartData[array[i].year] = [];
   }
   chartData[array[i].year].push({"Month": array[i].month, "Count": array[i].count, “State”: array[i].state, “StateCount”: array[i].statecount });
  }
  
  var currentYear = 1997;
  var chart = AmCharts.makeChart( "chartdiv", {
    "type": "pie",
    "theme": "light",
    "dataProvider": [],
    "valueField": "Count",
    “valueField1”: “State”,
    “valueField2”: “StateCount”,
    "titleField": "Month",
    "startDuration": 0,
    "innerRadius": 80,
    "pullOutRadius": 20,
    "marginTop": 30,
  "balloonText": "Completed [[State]] for [[StateCount]] states in [[title]] month",
  “labelText”: “[[title]] - [[value]]”,
    "titles": [{
      "text": "Test chart"
    }],
    "allLabels": [{
      "y": "54%",
      "align": "center",
      "size": 25,
      "bold": true,
      "text": "1995",
      "color": "#555"
    }, {
      "y": "49%",
      "align": "center",
      "size": 15,
      "text": "Year",
      "color": "#555"
    }],
    "listeners": [ {
      "event": "init",
      "method": function( e ) {
        var chart = e.chart;
  
    function getCurrentData() {
      var data = chartData[currentYear];
      currentYear++;
      if (currentYear &gt; 2000)
        currentYear = 1997;
      return data;
    }
  
    function loop() {
      chart.allLabels[0].text = currentYear;
      var data = getCurrentData();
      chart.animateData( data, {
        duration: 1000,
        complete: function() {
          setTimeout( loop, 3000 );
        }
      } );
    }
  
    loop();
  }
    } ],
      } );
  </code></pre>
  
  <p>Only answer I came across is <a href="https://stackoverflow.com/a/31156286/7115396" title="amCharts pie - how to get slice to pull out on rollOverSlice?">amCharts pie - how to get slice to pull out on rollOverSlice?</a></p>
  
  <p>But in that answer the Rolloverslice was just added to the actual clickonslice event predefined in the Amcharts.
  Is there anyway to remove the clickonslice pulloutslice that predefined and add it on mouse hover over event? 
  As we are planning to add some other event for Clickonslice.</p>
  
  <p>Thank you!</p>