fix bug where charts wouldnt transition due to swapped parameters in method call