function edit(this,h)

%% Listeners which keep the panels udpated. These are @viewplot
%% specific
h.Listeners = [handle.listener(this.AxesGrid,'Viewchanged',@(es,ed) axespanel(h,this,'Y'));...
               handle.listener(this.AxesGrid,'Viewchanged',@(es,ed) axespanel(h,this,'X'));...
               handle.listener(this.AxesGrid,'Viewchanged',@(es,ed) updatechartable(h,this))];
%% Initialize prop editor
h.initialize(this)

%% Add panels
h.axespanel(this,'X');
h.axespanel(this,'Y');
s = struct('charlist',{{'Best fit line','tsguis.regLineData','tsguis.regLineView'}},...
    'additionalDataProps',{{}},'additionalDataPropDefaults',{{}},'additionalHeadings',{{}});
h.charpanel(this,s);