You need to specify a named range for X values and Y values. You could define two dummy named ranges that point to the first column and second column of your named range.
For example:
X values "Named range" nrCategoryTotalsX
: =OFFSET(nrCategoryTotals, 0, 0, ,1)
Y values "Named range" nrCategoryTotalsY
: =OFFSET(nrCategoryTotals, 0, 1, ,1)
Then you just need to define your graph with the formula:
=SERIES(,CategoryData!nrCategoryTotalsX,CategoryData!nrCategoryTotalsY,1)
Bear in mind that in this example named ranges are created within scope of CategoryData
worksheet.