Using dynamically allocated valueAxis functionIndices.