Fix chart when no measure is provided