"undefined"==typeof AdfDhtmlChartPeer&&(AdfRichUIPeer.createPeerClass(AdfDhtmlDvtToolkitPeer,"AdfDhtmlChartPeer",A_c),AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.chart.Chart","AdfDhtmlChartPeer"));
AdfDhtmlChartPeer.InitSubclass=function(){AdfObject.ensureClassInitialization(AdfDhtmlChartPeer);AdfRichUIPeer.addComponentPropertyChanges(this,A_r.WA,A_r.XA,A_r.EMPTY_TEXT,A_r.lB,A_r.mB,A_r.uB,A_r.wB,A_r.EC,A_r.QC,A_r.TITLE,A_r.TITLE_HALIGN);AdfRichUIPeer.addSuppressedPPRAttributes(this,A_r.Ta);AdfRichUIPeer.addSuppressedPPRAttributes(this,A_r.Uu);AdfRichUIPeer.addSuppressedPPRAttributes(this,A_r.ev);AdfRichUIPeer.addSuppressedPPRAttributes(this,AdfDhtmlChartPeer.vu)};
A_h("AdfDhtmlChartPeer.InitSubclass",AdfDhtmlChartPeer.InitSubclass);AdfDhtmlChartPeer.Wc="popupLaunchContext";AdfDhtmlChartPeer.vu="seriesPopupLaunchContext";AdfDhtmlChartPeer.prototype.zb=function(a,b,c){return dvt.DN.newInstance(a,b,c)};
AdfDhtmlChartPeer.prototype.HandleEvent=function(a){var b=a.type;"action"==b?this.oc(a):"categoryHighlight"==b?(new A_nb(this.getComponent(),a.categories)).queue():"categoryHide"==b||"categoryShow"==b?(A_v(this,A_r.Uu,a.hiddenCategories.join(AdfDhtmlCommonFlashPeer.qc)),(new A_ob(this.getComponent(),a.category,"categoryHide"==b?"out":"in")).queue()):"viewportChange"==b?(b=a.xMin+AdfDhtmlCommonFlashPeer.qc+a.xMax,a.yMin!=A_&&a.yMax!=A_&&(b+=AdfDhtmlCommonFlashPeer.qc+a.yMin+AdfDhtmlCommonFlashPeer.qc+
a.yMax),A_v(this,A_r.ev,b)):"drill"==b?(a=new A_jb(this.getComponent(),a.id,a.series,a.group),a.setPartial(A_b),AdfPage.PAGE.queueEventToServer(a)):AdfDhtmlChartPeer.superclass.HandleEvent.call(this,a)};A_h("AdfDhtmlChartPeer.prototype.HandleEvent",AdfDhtmlChartPeer.prototype.HandleEvent);
AdfDhtmlChartPeer.prototype.oc=function(a){var b=a.clientId;a=b&&b.getId?new A_pb(this.getComponent(),"dvtAct",b.getId(),a.commandId,b.getId()):new A_pb(this.getComponent(),"dvtAct",A_,a.commandId,b);a.setPartial(A_b);AdfPage.PAGE.queueEventToServer(a)};
AdfDhtmlChartPeer.prototype.rf=function(a){for(var b=this.getComponent(),c=[],d=[],e=a.selection,f=0;f<e.length;f++){var g=e[f];c.push(g.getId());d.push({id:g.id,series:g.series,group:g.group})}c=c.join(AdfDhtmlCommonFlashPeer.qc);b.getProperty(A_r.sc)||A_v(this,A_r.Ta,c);(new A_kb(b,a.removedSet,a.addedSet,d,c,a.xMin,a.xMax,a.startGroup,a.endGroup,a.yMin,a.yMax,a.y2Min,a.y2Max)).queue(A_b)};
AdfDhtmlChartPeer.prototype.Oo=function(a){AdfDhtmlChartPeer.superclass.Oo.call(this,a);this.c&&this.c.HL&&this.c.HL.zM()};AdfDhtmlChartPeer.prototype.$z=function(a,b,c){A_t(this,{styleDefaults:{dataLabelPosition:c}})};A_h("AdfDhtmlChartPeer.prototype.ComponentDataLabelPositionChanged",AdfDhtmlChartPeer.prototype.$z);AdfDhtmlChartPeer.prototype.aA=function(a,b,c){A_t(this,{selectionMode:c})};A_h("AdfDhtmlChartPeer.prototype.ComponentDataSelectionChanged",AdfDhtmlChartPeer.prototype.aA);
AdfDhtmlChartPeer.prototype.io=function(a,b,c){A_t(this,{emptyText:c})};A_h("AdfDhtmlChartPeer.prototype.ComponentEmptyTextChanged",AdfDhtmlChartPeer.prototype.io);AdfDhtmlChartPeer.prototype.cA=function(a,b,c){A_t(this,{footnote:{text:c}})};A_h("AdfDhtmlChartPeer.prototype.ComponentFootnoteChanged",AdfDhtmlChartPeer.prototype.cA);AdfDhtmlChartPeer.prototype.dA=function(a,b,c){A_t(this,{footnote:{hAlign:c}})};A_h("AdfDhtmlChartPeer.prototype.ComponentFootnoteHalignChanged",AdfDhtmlChartPeer.prototype.dA);
AdfDhtmlChartPeer.prototype.eA=function(a,b,c){A_t(this,{hideAndShowBehavior:c})};A_h("AdfDhtmlChartPeer.prototype.ComponentHideAndShowBehaviorChanged",AdfDhtmlChartPeer.prototype.eA);AdfDhtmlChartPeer.prototype.gA=function(a,b,c){A_t(this,{hoverBehavior:c})};A_h("AdfDhtmlChartPeer.prototype.ComponentHoverBehaviorChanged",AdfDhtmlChartPeer.prototype.gA);AdfDhtmlChartPeer.prototype.DA=function(a,b,c){A_t(this,{styleDefaults:{seriesEffect:c}})};
A_h("AdfDhtmlChartPeer.prototype.ComponentSeriesEffectChanged",AdfDhtmlChartPeer.prototype.DA);AdfDhtmlChartPeer.prototype.KA=function(a,b,c){A_t(this,{subtitle:{text:c}})};A_h("AdfDhtmlChartPeer.prototype.ComponentSubtitleChanged",AdfDhtmlChartPeer.prototype.KA);AdfDhtmlChartPeer.prototype.xi=function(a,b,c){A_t(this,{title:{text:c}})};A_h("AdfDhtmlChartPeer.prototype.ComponentTitleChanged",AdfDhtmlChartPeer.prototype.xi);AdfDhtmlChartPeer.prototype.MA=function(a,b,c){A_t(this,{title:{hAlign:c}})};
A_h("AdfDhtmlChartPeer.prototype.ComponentTitleHalignChanged",AdfDhtmlChartPeer.prototype.MA);A_g=AdfDhtmlChartPeer.prototype;A_g.uo=function(){return["groups","series","selection"]};A_g.filter=function(a,b){this.c.filter(a,b)};A_g.An=function(a){this.c.An(a)};
A_g.Sd=function(a){var b;if(a instanceof Array){b=[];for(var c=0;c<a.length;c++)b.push(a[c].getId());b=b.join(AdfDhtmlCommonFlashPeer.qc)}else a.getId&&(b=a.getId());b?A_v(this,AdfDhtmlChartPeer.Wc,b,A_c,AdfUIComponent.PROPAGATE_ALWAYS):A_v(this,AdfDhtmlChartPeer.vu,a,A_c,AdfUIComponent.PROPAGATE_ALWAYS)};
A_g.Ro=function(a){if(!a)return A_;var b;if(a.valueFormats)for(var c=a.valueFormats,d=0;d<c.length;d++)c[d].converter&&(b=A_qb.Nj(c[d].converter),c[d].converter=b);for(var c=["xAxis","yAxis","y2Axis"],d=0;d<c.length;d++){var e=c[d];a[e]&&a[e].tickLabel&&a[e].tickLabel.converter&&(b=A_qb.Nj(a[e].tickLabel.converter),a[e].tickLabel.converter=b)}return a};A_g.s=function(){return this.c==A_?A_:this.c.Mb()};