canvasjs-dashboard-samples/assets/economy-dashboard/economy-dashboard.js
//On click of the bubble in the bubble chart it scrolls down to the chart of population, working population, and Merchandise import and export chart 

On click of the bubble in the bubble chart it scrolls down to the chart of population, working population, and Merchandise import and export chart
On click of the bubble in the bubble chart it scrolls down to the chart of population working population and Merchandise import and export chart
function showChartForSelectedCountry(e) {
		$('div #selected-country').each(function(){
			$(this).html(' - '+e.dataPoint.name);
		});
		createPopulationChart(e.dataPoint.name);
		createWorkingPopulationChart(e.dataPoint.name);
		merchandiseImportsExportsColumnChart = createMerchandiseImportsExportsChart(e.dataPoint.name);
		setMerchandiseImportsExportsColumnChartAxisYTitleFontSize();
		$('html,body').animate({scrollTop: $("#population-charts").offset().top},400);
	}
function showChartForSelectedCountry ( e ) { $ ( 'div #selected-country' ) . each ( function ( ) { $ ( this ) . html ( ' - ' + e . dataPoint . name ) ; } ) ; createPopulationChart ( e . dataPoint . name ) ; createWorkingPopulationChart ( e . dataPoint . name ) ; merchandiseImportsExportsColumnChart = createMerchandiseImportsExportsChart ( e . dataPoint . name ) ; setMerchandiseImportsExportsColumnChartAxisYTitleFontSize ( ) ; $ ( 'html,body' ) . animate ( { scrollTop : $ ( "#population-charts" ) . offset ( ) . top } , 400 ) ; }
On click of the bubble in the bubble chart it scrolls down to the chart of population, working population, and Merchandise import and export chart
On click of the bubble in the bubble chart it scrolls down to the chart of population working population and Merchandise import and export chart