When using the "Group By" option on a line chart, the chartAnnotations() fails, because the calculated pointNumber is incorrect. The data matches are made in the array of all data points, which means that the point number on the X-axis may be non-existent, since the maximum number of points is actually length(data) / # of groups.
When using the "Group By" option on a line chart, the
chartAnnotations()
fails, because the calculatedpointNumber
is incorrect. The data matches are made in the array of all data points, which means that the point number on the X-axis may be non-existent, since the maximum number of points is actually length(data) / # of groups.