implemented Chart.activate method cross-platform