add movingAverage, secondYAxis (only works in png mode)