Style="#d64562";
    if(points_ok())
        for(var j = 0; j < w; ++j){
            const x = client_to_x(j);
            const y = polynomial_in_x(X, x, polynomial_n);
            if(j == 0) {
                polynomial_context.moveTo(x_to_client(x), y_to_client(y));
            } else {
                polynomial_context.lineTo(x_to_client(x), y_to_client(y));
            }
        }
    polynomial_context.stroke();
    polynomial_context.closePath();
    polynomial_context.lineWidth = 1;

    // dots
  