Added stats mode selection to chart