some times lables have missing data.
some times lables have missing data.
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?
- Attachments
-
- missing_data.png (43.65 KiB) Viewed 16589 times
Re: some times lables have missing data.
Hi,
Excuse us for the delayed reply here.
Could you please share the code you used to generate that chart so we can reproduce the problem here?
Excuse us for the delayed reply here.
Could you please share the code you used to generate that chart so we can reproduce the problem here?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: some times lables have missing data.
sure, seems though its not the code because the vary same code is use to produce all charts. Some charts look ok, some are missing labels.
Here is an example of missing labels.
this.Ydata = 20,22,25,26,27.5,28.5,29.875,32
this.Zdata = 1,1,1,1,1,1,1,1,0.8,0.83,0.9,0.936,1,1,1,1,0.8,0.83,0.9,0.936,1,1,1,1,0.805,0.835,0.902,0.938,1,1,1,1,0.84,0.863,0.92,0.951,1,1,1,1,0.908,0.924,0.95,0.972,1,1,1,1,0.978,0.978,0.985,0.989,1,1,1,1,1,1,1,1,1,1,1,1
this.labelY = Pedal Pos
this.labelX = BP In Hg
Here is an example of missing labels.
this.Ydata = 20,22,25,26,27.5,28.5,29.875,32
this.Zdata = 1,1,1,1,1,1,1,1,0.8,0.83,0.9,0.936,1,1,1,1,0.8,0.83,0.9,0.936,1,1,1,1,0.805,0.835,0.902,0.938,1,1,1,1,0.84,0.863,0.92,0.951,1,1,1,1,0.908,0.924,0.95,0.972,1,1,1,1,0.978,0.978,0.985,0.989,1,1,1,1,1,1,1,1,1,1,1,1
this.labelY = Pedal Pos
this.labelX = BP In Hg
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();
};
Re: some times lables have missing data.
Hi,
I'm trying to get what you reported in the first post in this thread with the code you've pasted, but this is what I get: Here it is the full testing unit I'm using. Could you please tell us if you are getting the same with it? Can you please modify it so we can reproduce the problem here?
Thanks in advance.
I'm trying to get what you reported in the first post in this thread with the code you've pasted, but this is what I get: Here it is the full testing unit I'm using. Could you please tell us if you are getting the same with it? Can you please modify it so we can reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: some times lables have missing data.
Sorry about that, the second string needed element separators.
this.Zdata = [[1, 1, 1, 1, 1, 1, 1, 1], [0.8, 0.83, 0.9, 0.936, 1, 1, 1, 1],
[0.8, 0.83, 0.9, 0.936, 1, 1, 1, 1], [0.805, 0.835, 0.902, 0.938, 1, 1, 1, 1],
[0.84, 0.863, 0.92, 0.951, 1, 1, 1, 1], [0.908, 0.924, 0.95, 0.972, 1, 1, 1, 1],
[0.978, 0.978, 0.985, 0.989, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1]]
this.Zdata = [[1, 1, 1, 1, 1, 1, 1, 1], [0.8, 0.83, 0.9, 0.936, 1, 1, 1, 1],
[0.8, 0.83, 0.9, 0.936, 1, 1, 1, 1], [0.805, 0.835, 0.902, 0.938, 1, 1, 1, 1],
[0.84, 0.863, 0.92, 0.951, 1, 1, 1, 1], [0.908, 0.924, 0.95, 0.972, 1, 1, 1, 1],
[0.978, 0.978, 0.985, 0.989, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1]]
Re: some times lables have missing data.
after viewing your example I see its correct. So in an effort to figure it out I change the size to
<br><canvas id="canvas1" width="400" height="400">
and now the missing data shows up. So this may be related to the other issue (TF77016700)
<br><canvas id="canvas1" width="400" height="400">
and now the missing data shows up. So this may be related to the other issue (TF77016700)
Re: some times lables have missing data.
Hi,
Thanks for the feedback. I've added it to the ticket (TF77016700) description.
Thanks for the feedback. I've added it to the ticket (TF77016700) description.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |