Left axis round problem with 0
Posted: Thu May 11, 2017 1:32 pm
Hello,
I upgraded your Javascript version recently and the problem is the left axis label isn't 0 but 001e-11. This problem can be shown with this source code :
Can I have some help please ?
Alexis
I upgraded your Javascript version recently and the problem is the left axis label isn't 0 but 001e-11. This problem can be shown with this source code :
Code: Select all
<!DOCTYPE html>
<head>
<script src="http://www.steema.com/files/public/teechart/html5/latest/src/teechart.js" type="text/javascript"></script>
<script src="http://www.steema.com/files/public/teechart/html5/latest/src/date.format.js" type="text/javascript"></script>
<script type="text/javascript">
var Chart1;
function draw() {
Chart1=new Tee.Chart("Canvas1");
var VmSerieVal=Chart1.addSeries(new Tee.Line());
VmSerieVal.title="Test";
VmSerieVal.data.values=[0,0];
VmSerieVal.data.x=[new Date(1454198400000),new Date(1456704000000)];
VmSerieVal.data.labels=[" janv. 1 "," févr. 2 "];
Chart1.draw();
}
</script>
</head>
<BODY onload="draw()">
<canvas id="Canvas1" width="800" height="585">
This browser does not seem to support HTML5 Canvas.
</canvas>
</BODY>
</HTML>
Alexis