fixing xAxisTickValue and yAxisTickValue configurations to accept and process both an array and a function.