bottom row labels go away?
bottom row labels go away?
if the X of the chart size is too big the bottom row labels go away? some charts don't do this. In this image I found the thresh hold for this bug. On the left the size allows the graph, on the left I scaled the width just by a few pixels and the label vanished.
- Attachments
-
- labels.png (60.56 KiB) Viewed 10964 times
Re: bottom row labels go away?
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: bottom row labels go away?
Good chart
----------------------
this.canvas.width = 400
this.Xdata = 0.66,1.18,2.11,3.78,6.78,12.13
this.Ydata = 0,1,2,3,4,4.99999
----------------------
Bad chart
----------------------
this.canvas.width = 700
this.Xdata = 0.66,1.18,2.11,3.78,6.78,12.13
this.Ydata = 0,1,2,3,4,4.99999
----------------------
----------------------
this.canvas.width = 400
this.Xdata = 0.66,1.18,2.11,3.78,6.78,12.13
this.Ydata = 0,1,2,3,4,4.99999
----------------------
Bad chart
----------------------
this.canvas.width = 700
this.Xdata = 0.66,1.18,2.11,3.78,6.78,12.13
this.Ydata = 0,1,2,3,4,4.99999
----------------------
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 = ""; }
this.addData( this.Xdata, this.Ydata, .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: bottom row labels go away?
Hi,
I've been able to reproduce the problem with the example attached so I've added it to the defect list to be revised for further releases (TF77016700).
The bottom axis labels seem to be correctly drawn with a chart width 500, but with 600.
Thanks for reporting it.
I've been able to reproduce the problem with the example attached so I've added it to the defect list to be revised for further releases (TF77016700).
The bottom axis labels seem to be correctly drawn with a chart width 500, but with 600.
Thanks for reporting it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |