Add graphic parameters for display + reset when change n