HTMLcopy
1
<div id="container"></div>
CSScopy
6
1
html, body, #container {
2
width: 100%;
3
height: 100%;
4
margin: 0;
5
padding: 0;
6
}
JavaScriptcopy
10
1
anychart.onDocumentReady(function () {
2
var chart = anychart.scatter();
3
var series = chart.line([2, 6, 4, 8]);
4
series.error(1);
5
var error = series.error();
6
var xUpperError = error.xUpperError(); // get upper error for X value.
7
chart.title("xUpperError - " + xUpperError);
8
chart.container("container");
9
chart.draw();
10
});