The name of a property on the author's own datum/row object.
Never a function: a declaration must survive JSON, because four of the slots
it rides in are serialised chart config and a function cannot be written in
one. d3 keeps its DataAccessor<T> (string | function) and accepts a bare
FieldRef wherever this file names one.
The name is resolved against the row the charting library bound to the mark
— a Chart.js datum, a Highcharts point.options, an amCharts
dataItem.dataContext — so it is the column name in your data, not a label
on the chart.
The name of a property on the author's own datum/row object.
Never a function: a declaration must survive JSON, because four of the slots it rides in are serialised chart config and a function cannot be written in one. d3 keeps its
DataAccessor<T>(string | function) and accepts a bareFieldRefwherever this file names one.The name is resolved against the row the charting library bound to the mark — a Chart.js datum, a Highcharts
point.options, an amChartsdataItem.dataContext— so it is the column name in your data, not a label on the chart.