JSFiddle - React, Tailwind, and code Playground

by ruhul105

JavaScript

function CustomPlotV(jElement, data, options) {

            this.plot = $.plot(jElement, data, options);
            this.options = options;
            this.place = jElement;
            this.direction = 1;
            this.crossHairPos = this.plot.getAxes().xaxis.min;
        }
        
        CustomPlotV.prototype.test = function test() {
            $('#log').text("okF"); //not printed

        }