AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.13.0 version of this document. Switch to the 8.4.0 version to see the up to date information.

class anychart.core.ui.StageCredits Improve this Doc

Define class Credits.
Note: Use anychart.ui#credits method to create instance of this class.
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.

Methods Overview

Specific settings
alt()Alternative text for credits.
imgAlt()Image alternative text.
logoSrc()Logo source for credits.
text()Text for credits.
url()Url for credits.

Methods Description

alt

Getter for credits alternative text.

Returns:

string - Credits alternative text.
See listing
var currentCredits = stage.credits();
var creditsAlt = currentCredits.alt();
Setter for credits alternative text.

Params:

NameTypeDescription
valuestringTitle value.

Returns:

anychart.core.ui.StageCredits - Self instance for method chaining.

imgAlt

Getter for the image alternative text.

Returns:

string - Image alternative text.
See listing
var imgAlt = credits.imgAlt();
Setter for the image alternative text.

Params:

NameTypeDescription
valuestringAlternative text.

Returns:

anychart.core.ui.StageCredits - Self instance for method chaining.

logoSrc

Getter for credits logo source.

Returns:

string - Credits logo source.
See listing
var currentCredits = stage.credits();
var creditsLogoSrc = currentCredits.logoSrc();
Setter for credits logo source.
Note: Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.

Params:

NameTypeDescription
valuestringLogo source value.

Returns:

anychart.core.ui.StageCredits - Self instance for method chaining.

text

Getter for credits text value.

Returns:

string - Credits text.
Setter for credits text value.

Params:

NameTypeDescription
valuestringText value.

Returns:

anychart.core.ui.StageCredits - Self instance for method chaining.

url

Getter for credits url.

Returns:

string - Credits url.
See listing
var currentCredits = stage.credits();
var creditsUrl = currentCredits.url();
Setter for credits url.

Params:

NameTypeDescription
valuestringUrl value.

Returns:

anychart.core.ui.StageCredits - Self instance for method chaining.