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
x
1
anychart.onDocumentReady(function () {
2
3
var chart = anychart.column([10, 1, 7, 10]);
4
5
var credits = chart.credits();
6
7
// put your license key here and uncomment the next line
8
// anychart.licenseKey("COPY-PASTE-YOUR-LICENSE-KEY");
9
// credits are enabled by default. The only exception is our playground site. You can remove next line in production.
10
credits.enabled(true);
11
12
// custom logo src
13
credits.logoSrc("https://static.anychart.com/images/github.png");
14
15
// draw
16
chart.container("container");
17
chart.draw();
18
});