I am generating an extra field in my JSON feed to use as a filter criteria using Global: PHP.
This works fine.
I only get the rows where the value of the Chart Record is less than 2.

Configure filter criterion:Global: PHP

if ($row->value_2 > 2) {
return true;
};

The [Chart Record] is not defined as a Label OR data in the chart settings and the field is set to "Exclude from display" whilst using the Highcharts Library. The third field appears as a chart element with no label (See Pie.png).

Using Google Charts seems to work.

Maybe I should try .dev

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fgjohnson@lojoh.ca’s picture

Issue summary: View changes
FileSize
7.34 KB
2.85 KB
1.16 KB
fgjohnson@lojoh.ca’s picture

FileSize
15.7 KB
fgjohnson@lojoh.ca’s picture

Issue summary: View changes