Type class
A base class for an amCharts theme.
Click here for more info
Sources
Theme can be used (imported) via one of the following packages.
// Import Theme
import * as am5 from "@amcharts/amcharts5";
// Create Theme
am5.Theme.new(root, {
// ... config if applicable
});
<!-- Load Theme -->
<script src="index.js"></script>
<script>
// Create Theme
am5.Theme.new(root, {
// ... config if applicable
});
</script>
Inheritance
Theme does not extend any other symbol.
Theme is extended by ResponsiveTheme.
Settings
Theme does not have any settings.
Private settings
Theme does not have any private settings.
Properties
Theme does not have any properties.
Methods
|
constructor( root: ) |
Returns |
|---|---|
|
new( root: ) |
Static Returns Use this method to create an instance of this class. Click here for more info |
|
rule( themeClass: ) |
Returns Creates a Click here for more info |
|
ruleRaw( themeClass: ) |
Returns Creates a NOTE: the difference from Click here for more info |
Events
Theme does not have any events.