2022.2

Table Of Contents
Tofindthescriptthatprovidesdataforachart,hoveroverthenamesofthescriptintheScriptspane.
ThatparticularscriptwillhighlightthechartinthetemplateanditsselectoristhesameastheIDof
thebusinessgraphic(precededby#).
1. UsetheInput Typedrop-downtoselectthesourceofthedatafortheChart:
l
Data Fields:Thedataoriginatefromdatafieldsinthemainrecord.Thechartwillhavethe
samenumberofitemsforeachrecord.
l
Data Table,thedataaretakenfromadetailtablethatyouselectusingtheDetail Table
drop-down.
InPieCharts,onlydatafromthefirstrecordinthedetailtableareused.
HowtocreateaPieChartthathasonesliceperdetailrecordisexplainedinaHow-
to:PutonesliceperdetailrecordinaPieChart.
2. ForaBarorLineChartbasedonadetailtable,youalsohavetoselectaCategory:onedatafield
(inthedetailtable)ofwhichthevalueswillappearunderthebarsortheline;inotherwords,on
thexaxis.
3. NexttoValues,selectdata fieldswithanumericalvalue.
TheToggle non-numeric fieldsbuttonfiltersnon-numericfieldsfromthelist.Thelistwillthen
displayonlyInteger,FloatandCurrencydatafields.
4. Adjustthelabelofeachoftheselecteddatafieldsasneeded:clickonthelabelandtypethenew
one.
InBarandLineChartswithDataFieldsasinputdata,theselabelsappearunderthex-axisofthe
chart.
Labelsareusedinthelegend.Theywillbevisiblewhenthelegendisenabled.
5. Selectacolorforeachoftheselectedfields.ClickonthecolortoopentheEditColordialog(see
"ColorPicker"onpage878).
ColorsdefinedintheChartPropertiesdialogoverridethecolorssetinthescript.Toopenthe
ChartPropertiesdialog,right-clickthechartafteraddingit,andselectChart....See:"Enhancing
acharts'design"onpage631.
6. UsetheMove UpandMove Downbuttonstochangetheorderofthefields,whichisreflectedin
thechart.
ThePreviewshowswhatthechartlookslikewiththecurrentsettings,whilsttheDataPreviewshows
whichdatawillbepassedtotheamChartslibrary.
Page 629