class anychart.core.ui.ChartCredits Improve this Doc
Extends: anychart.core.Base
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. |
Interactivity | |
enabled() | Credits state (enabled or disabled). |
Methods Description
alt
Setter for credits alt.
Detailed description
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.
Params:
Name | Type | Description |
---|---|---|
text | string | Alternative text to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it:
enabled
Getter for the credits state.
Returns:
boolean | null - Credits state. See listing
var credits = chart.credits(); var state = credits.enabled();
Setter for the credits state.
Params:
Name | Type | Description |
---|---|---|
enabled | boolean | Enabled state to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it:
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:
Name | Type | Description |
---|---|---|
text | string | Alternative text to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it:
logoSrc
Setter for credits logo source value.
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.
Params:
Name | Type | Description |
---|---|---|
logoSrc | string | Logo source to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it:
text
Setter for credits text value.
Detailed description
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.
Params:
Name | Type | Description |
---|---|---|
text | string | Text to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it:
url
Setter for the credits URL.
Detailed description
Note: You can't customize credits without a license key. See AnyChart Licensing to learn more.
Params:
Name | Type | Description |
---|---|---|
url | string | URL to set. |
Returns:
anychart.core.ui.ChartCredits - Self instance for method chaining.Try it: