randomDataXLabels function
Generate list of "random" xUserLabels
as monthNames or weekday names.
Implementation
List<String> randomDataXLabels(int numXLabels) {
List<String> xLabelsDows = ['First', 'Second', 'Third', 'Fourth', 'Fifth', 'Sixth', 'Seventh'];
return xLabelsDows.getRange(0, numXLabels).toList();
}