function mergeDataWithLabels (labels,data){

	const results = [];

	for (var i = 0; i < labels.length; i++) {
		// Merging
		const labelWithValue = { type : labels[i], value: data[i]};
		// push
		results.push(labelWithValue);
	}
	// 
	return results;
}
// This function takes the labels and the datasets and put them into json format for be ready to G2Plot lib
This function takes the labels and the datasets and put them into json format for be ready to G2Plot lib
This function takes the labels and the datasets and put them into json format for be ready to G2Plot lib
function mergeDataWithLabels (labels,data){
	const results = [];
	for (var i = 0; i < labels.length; i++) {
		const labelWithValue = { type : labels[i], value: data[i]};
		results.push(labelWithValue);
	}
	return results;
}
function mergeDataWithLabels ( labels , data ) { const results = [ ] ; for ( var i = 0 ; i < labels . length ; i ++ ) { const labelWithValue = { type : labels [ i ] , value : data [ i ] } ; results . push ( labelWithValue ) ; } return results ; }
This function takes the labels and the datasets and put them into json format for be ready to G2Plot lib
This function takes the labels and the datasets and put them into json format for be ready to G2Plot lib
// Merging // push // 