example/public/ueditor/third-party/highcharts/modules/data.src.js
function (rows) {
		var row,
			rowsLength,
			col,
			colsLength,
			columns;

		if (rows) {
			columns = [];
			rowsLength = rows.length;
			for (row = 0; row < rowsLength; row++) {
				colsLength = rows[row].length;
				for (col = 0; col < colsLength; col++) {
					if (!columns[col]) {
						columns[col] = [];
					}
					columns[col][row] = rows[row][col];
				}
			}
		}
		return columns;
	}
function (rows) {
		var row,
			rowsLength,
			col,
			colsLength,
			columns;

		if (rows) {
			columns = [];
			rowsLength = rows.length;
			for (row = 0; row < rowsLength; row++) {
				colsLength = rows[row].length;
				for (col = 0; col < colsLength; col++) {
					if (!columns[col]) {
						columns[col] = [];
					}
					columns[col][row] = rows[row][col];
				}
			}
		}
		return columns;
	}
function ( rows ) { var row , rowsLength , col , colsLength , columns ; if ( rows ) { columns = [ ] ; rowsLength = rows . length ; for ( row = 0 ; row < rowsLength ; row ++ ) { colsLength = rows [ row ] . length ; for ( col = 0 ; col < colsLength ; col ++ ) { if ( ! columns [ col ] ) { columns [ col ] = [ ] ; } columns [ col ] [ row ] = rows [ row ] [ col ] ; } } } return columns ; }
Reorganize rows into columns
Reorganize rows into columns