2022.2

Table Of Contents
linesofaBarchartorLinechart,producingahand-drawneffect.
AllconfigurationoptionscanbefoundintheamChartsAPIdocumentation:https://-
docs.amcharts.com/3/javascriptcharts/.
Itdependsontheclasstowhichapropertybelongs,whereintheJSONthepropertyshouldbeadded.
Chartpropertiesshouldbeaddedatthehighestlevel;forexample:
{
"type": "serial",
"rotate": true,
...
}
PropertiesoftheLegend(listedhere:https://docs.amcharts.com/3/javascriptcharts/AmLegend)should
gointhelegendsectionintheJSON:
...
"legend": {
"position": "right"
},
TheSourcetabalsoletsyouchangepropertiesthatareavailableineithertheScriptWizardorother
tabsoftheChartPropertiesdialog.Youcould,forexample,setthecolorsofthebars,linesorslicesby
addinganarrayofhexadecimalcolorvalues,likethis:
"colors": ["#FF6600", "#FCD202", "#B0DE09", "#0D8ECF"]
NotethatpropertiesdefinedontheSourcetaboverridethosemadeintheScriptWizardoronother
tabsofthePropertiesdialog.
ForinspirationyoucoulduseamCharts'online editor:https://live.amcharts.com/new/.
PropertiescanbecopieddirectlyfromtheCodetabintheliveeditortotheSourcetaboftheChartprop-
ertiesdialoginConnect.
NotethatcopyingtheentirecontentoftheCodetabwillalsocarryoverthesampledatafromthelive
editor(thedataProviderkey).ThesewillbeoverwrittenbythechartscriptinConnect.
l
PropertiesdefinedontheSourcetaboverridethosemadeintheScriptWizardoronother
tabsofthePropertiesdialog.TheonlyexceptionisthedataProviderproperty:thiswill
beoverwrittenbythechart'sscript.
l
InConnect,theimplementationwastestedwithPieCharts(amPieChart)andwithBar
ChartsandLineCharts(amSerialChart).Othervariantsmayormaynotwork.
l
Animationswillnotworkintheoutput,eveniftheoutputisawebpage.Thisisbecausethe
chartisgeneratedontheserver,notinthebrowser.
Page 632