some times lables have missing data.
Posted: Wed Aug 14, 2013 12:30 pm
In this image I told the x label to be "20,22,25,26,27.5,28.5,29.875,32" but in the image it does not show all the data?
Steema Software - Customer Support Forums
https://974310.kinnakethk.tech/
Code: Select all
chart.prototype.draw = function ()
{
this.UIDiv.removeChild( this.canvas );
this.canvas = document.createElement( 'canvas' );
this.canvas.id = "canvas" + this.id;
this.canvas.width = this.canvasData_width;
this.canvas.height = this.canvasData_height;
this.canvas.style.zIndex = this.canvasData_zIndex;
this.UIDiv.appendChild( this.canvas );
this.Chart1 = new Tee.Chart( "canvas" + this.id );
this.annot = new Tee.Annotation( this.Chart1 );
this.annot.position.x = 15;
this.annot.position.y = 20;
var anno = this.annot
this.annot.mousemove = function () { this.text = ""; }
for ( z = 0; z < this.Zdata.length; z++ )
{
this.addData( this.Ydata, this.Zdata[z], .05, "ellipse" );
}
this.Chart1.tools.add( this.annot );
this.Chart1.title.text = "";
this.Chart1.axes.left.title.text = this.labelY;
this.Chart1.axes.bottom.title.text = this.labelX;
this.Chart1.tools.add( new Tee.DragTool( this.Chart1 ) );
this.Chart1.draw();
};