Scripted js dashboard cannot set editable false and width

I created properly a scripted.js to return a dashboard.
But attributes editable and width are not considered when dashboard is rendered.
As scripted.js sample I ve done :

title: ‘Chart’,
height: ‘290px’,
“editable” :false,
“panels”: panels

return dashboard;

Those are old properties that no longer have an effect

which ones should I use? To make dashboard not editable and set the width size

Please give me some clues…