2018.2

Table Of Contents
Using themes
The amCharts library supports working with themes. The default themes are: light, dark, black,
patterns, and chalk. All except the 'patterns' theme can be used in Connect templates. Here's
how to do that.
1. Add the theme to the top of the JSON on the Source tab of the Chart Properties diaog. For
example:
{ "theme": "light",
...
This setting overrides any color settings made in the Chart Script wizard and on the other
tabs of the Chart Properties dialog.
2. The 'light' theme requires no other settings. For the other themes you will have to
manually set the background color of the Div element that holds the chart:
A. Switch to the Design mode.
B.
Right-click the chart area and select Box... from the contextual menu.
C.
On the Background tab, set the Color to:
l #282828 for the 'dark' theme and the 'chalk' theme
l #222222 for the 'black' theme
3. Finally, the 'chalk' theme requires adding a remote stylesheet with this URL:
'https://fonts.googleapis.com/css?family=Covered+By+Your+Grace' to your template. See
"Using a remote style sheet" on page255.
Date
The Date element inserts the current system date, optionally making it dynamic so that it
updates whenever the template is viewed or produces output.
Adding a date
To add a Date element, use the Insert > Date option in the menus. A dialog appears with the
following controls:
l
Language: Use the drop-down to select which language the date should be displayed in.
l
Update Automatically: Check to update the date automatically when the template is
viewed or produces output. When this option is checked, a placeholder is inserted in the
Page 232