Skip to content

Credits

Alexander Shestacov edited this page Jul 9, 2019 · 5 revisions

Overview

Credits is a single object shown as a watermark in the right bottom corner of any chart. It consists of four elements: text, tooltip (alt), URL and picture. If you want to customize any part of credits placed in your chart, you can purchase a license at AnyChart Website.

Text

Credits text can be changed by using text() method:

chart.credits().text("Company");

Tooltip

Tooltip is shown when a credits is hovered. It can be adjusted with alt() method.

chart.credits().alt("Custom tooltip");

URL

Credits acts as a link. By default it references to AnyChart Site. You can change it using url() method.

chart.credits().url("https://www.anychart.com/buy/");

Logo

Logo picture can be adjusted as well. Use logoSrc() method to set custom image.

chart.credits().logoSrc("https://static.anychart.com/images/github.png");

Disable

To disable credits just put this in your code, but remember: it will work only if you have a license key.

chart.credits().enabled(false);

License

When you purchase a license to AnyChart 8 you receive an access to your customer area and a license key. AnyChart trial is fully functional, but you are limited in the ways you can use trial version and you may not remove credits from the charts. To register your copy and enable credits removal put this in your code:

anyChartView.setLicenceKey("YOUR-LICENSE-KEY");

To purchase a license proceed to Buy AnyChart page.