2022.2

Table Of Contents
Togetanimationstoworkyouwouldhavetoimplementasolutionsimilartotheone
describedinthisHow-to:Dynamicdashboardcharts.
Using themes
TheamChartslibrarysupportsworkingwiththemes.Thedefaultthemesare:light,dark,black,pat-
terns,andchalk.Allexceptthe'patterns'themecanbeusedinConnecttemplates.Here'showtodo
that.
1. AddthethemetothetopoftheJSONontheSourcetaboftheChartPropertiesdiaog.For
example:
{ "theme": "light",
...
ThissettingoverridesanycolorsettingsmadeintheChartScriptwizardandontheothertabsof
theChartPropertiesdialog.
2. The'light'themerequiresnoothersettings.Fortheotherthemesyouwillhavetomanuallyset
thebackgroundcoloroftheDivelementthatholdsthechart:
A. SwitchtotheDesignmode.
B. Right-clickthechartareaandselectBox...fromthecontextualmenu.
C. OntheBackgroundtab,settheColorto:
l
#282828forthe'dark'themeandthe'chalk'theme
l
#222222forthe'black'theme
3. Finally,the'chalk'themerequiresaddingaremotestylesheetwiththisURL:'https://-
fonts.googleapis.com/css?family=Covered+By+Your+Grace'toyourtemplate.See"Usinga
remotestylesheet"onpage674.
COTG Elements
WiththeDesigneryoucancreateCaptureOnTheGotemplates.COTGtemplatesareusedtogenerate
formsfortheCaptureOnTheGomobileapplication.ThistopicisaboutCaptureOnTheGoformele-
ments.Formoreinformationabouttheapplicationrefertothesewebsites:CaptureOnTheGoandCap-
tureOnTheGointheResourceCenter.
CaptureOnTheGo(COTG)elementscanonlybeaddedwithinaFormelementinaWebcontext;see
"COTGForms"onpage516.ForinformationabouthowtoaddanduseCOTGElements,see"Using
COTGElements"onpage536.
ItisalsopossibletoaddCOTGElementsdynamically,tosetdefaultsforCOTGelementsandtoreact
tocustomeventsthatoccurwhenauserinteractswithaCOTGelement.Formoreinformationsee:
"UsingtheCOTGplugin"onpage545and"DynamicallyaddingCOTGwidgets"onpage548.
Page 633