< 640; ++i) {
		context.moveTo(i, 640);
		context.lineTo(i, 640 - values[i]);
	}
	context.stroke();
	context.closePath();

	// select path by canvas to draw
	const the_path = canvas_name == "search" ? path : path_int;

	// path
	context.lineWidth = 1;
	for(var i = 0; i < the_path.length; ++i) {
		const gray = Math.max(0, (16 - i) * 10);
		context.beginPath()
		context.strokeStyle='rgb('+gray+', '+gray+', '+gray+')';
		for(var j = the_path[i][0]; j <= the_path[i][1]; ++j) {
			const value_part = values[j] / 