Hey =)
I want to do something like this:
"vAxis" =>array(
"direction" => function($row) {
if ($row['timeBased'] == true) {
return -1;
}
else {
return 1;
}
},
),
If the row 'timeBased' is true, then the values of vAxis should be reverted.
Original:
Revert:
There are multiple Charts like this in a report. Some are timeBased and others are not.
Atm it just work like this:
"vAxis" =>array(
"direction" => "-1",
),
or:
"vAxis" =>array(
"direction" => "1",
),
Thank you =)