2022.2

Table Of Contents
Preparing a data table
Bydefault,achartthatisbasedonadetailtableshowsone series("category")ofbars/pointsper
record.Eachofthebarsorpointsinaserieshasitsowncolorandlabel,andrepresentsonedatafield
inthatrecord.
Thefollowingimageshowsadetailtable.BothoftheBarchartsbelowarebasedonthatdetailtable.
ThedifferencebetweentheBarchartsiscausedbythenumberofselecteddatafields(one,ortwo).
Thevaluesofthedatafield'Year'areusedasCategory(onthex-axis).
Whencreatingadatamappingconfiguration(see"Datamappingworkflow"onpage221),itisrecom-
mendedtoarrangedatainadetailtableinsuchawaythatitmatchesthis'oneseriesperrecord,one
bar/pointperdatafield'approach.
Occasionallyyoumayfindthatdatainadetailtabledoesnotmatchthisapproach,andthatitwouldbe
abetterfitifthecharthadone seriesofbars/pointsforeachselecteddetail data fieldinstead,and
onebar/pointforeachrecord.
Ifthenumberofrecordsinadetailtableisconsistentthroughoutallrecords,itisrecommendedto
modifythedetailtableinthedatamappingconfigurationinordertomakeitmatchthedefaultapproach.
OtherwisethisrequireschangingtheChartscript:opentheChartscript,clicktheExpandbutton,and
alterthecodethatputsdatainthedataProviderproperty.
Page 630