I want to extend the Jqplot class and add more functions to it.
I am trying to do something like this:
var myFunc = new JqPlot();
myFunc.prototype.sayhello = function(){
alert("hi");
}
or
var myFunc = new $.JqPlot();
myFunc.prototype.sayhello = function(){
alert("hi");
}
Can anyone help me to achieve this.