Commit 2bcb606f authored by dkasliwal's avatar dkasliwal

remove parameter from createInnerDiv


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104779 ce508802-f39f-4f6c-b175-0d175dae99d5
parent da889607
...@@ -435,7 +435,7 @@ public class GraphComponent extends Composite ...@@ -435,7 +435,7 @@ public class GraphComponent extends Composite
dataJSON = (JSONObject) dataJsn.get(key); dataJSON = (JSONObject) dataJsn.get(key);
//CommonUtils.printOnConsole("dataJsn for Stack key dataJSON :"+dataJSON); //CommonUtils.printOnConsole("dataJsn for Stack key dataJSON :"+dataJSON);
cnt++; cnt++;
this.createInnerDiv(uniqueId+cnt,groupNameList.get(0)+uniqueId,false); this.createInnerDiv(uniqueId+cnt,groupNameList.get(0)+uniqueId);
RootPanel.get("chart"+uniqueId+cnt).setStyleName(groupCssTypeNameList.get(0)); RootPanel.get("chart"+uniqueId+cnt).setStyleName(groupCssTypeNameList.get(0));
graphJson = ChartCreator.buildChartData(graphDtlList, dataJsn, key,parameterList,filterList,"",null); graphJson = ChartCreator.buildChartData(graphDtlList, dataJsn, key,parameterList,filterList,"",null);
...@@ -594,7 +594,7 @@ public class GraphComponent extends Composite ...@@ -594,7 +594,7 @@ public class GraphComponent extends Composite
/* ended code to add html tag to ssgrid by swati on 08-sep-2015 */ /* ended code to add html tag to ssgrid by swati on 08-sep-2015 */
/*Add uniqueId to Graph by Dhanendra on date 10-11-2015*/ /*Add uniqueId to Graph by Dhanendra on date 10-11-2015*/
this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId,false); this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId);
/*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/ /*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/
this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption); this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption);
/*End uniqueId to Graph by Dhanendra on date 10-11-2015*/ /*End uniqueId to Graph by Dhanendra on date 10-11-2015*/
...@@ -652,7 +652,7 @@ public class GraphComponent extends Composite ...@@ -652,7 +652,7 @@ public class GraphComponent extends Composite
this.createOuterDiv("Graph"+uniqueId+componentId,type,groupCssTypeNameList.get(0),"chartContainer"); this.createOuterDiv("Graph"+uniqueId+componentId,type,groupCssTypeNameList.get(0),"chartContainer");
idList.add("Graph"+uniqueId+componentId+"Div"); idList.add("Graph"+uniqueId+componentId+"Div");
/*Add append uniqueId in createInnerDiv method by Dhanendra on Date 14-03-2016*/ /*Add append uniqueId in createInnerDiv method by Dhanendra on Date 14-03-2016*/
this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId,false); this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId);
graphJson = ChartCreator.buildChartData(graphDtlList, jsonObjFrGraph, dtSrouce,parameterList,filterList,"",null); graphJson = ChartCreator.buildChartData(graphDtlList, jsonObjFrGraph, dtSrouce,parameterList,filterList,"",null);
this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" +uniqueId+ componentId, width, height, imageName,userMail,reportCaption); this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" +uniqueId+ componentId, width, height, imageName,userMail,reportCaption);
/*End uniqueId to Graph,chartContainer by Dhanendra on Date 10-11-2015*/ /*End uniqueId to Graph,chartContainer by Dhanendra on Date 10-11-2015*/
...@@ -833,7 +833,7 @@ public class GraphComponent extends Composite ...@@ -833,7 +833,7 @@ public class GraphComponent extends Composite
/* ended code to add html tag to ssgrid by swati on 08-sep-2015 */ /* ended code to add html tag to ssgrid by swati on 08-sep-2015 */
/*Add uniqueId to Graph by Dhanendra on date 10-11-2015*/ /*Add uniqueId to Graph by Dhanendra on date 10-11-2015*/
this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId,isCompSubTitle); this.createInnerDiv(uniqueId+componentId,"Graph"+uniqueId+componentId);
/*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/ /*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/
/*if(isCompSubTitle) /*if(isCompSubTitle)
{ {
...@@ -1244,7 +1244,7 @@ public class GraphComponent extends Composite ...@@ -1244,7 +1244,7 @@ public class GraphComponent extends Composite
mainPanel.setCellHorizontalAlignment(dateHPanel, HasHorizontalAlignment.ALIGN_RIGHT); mainPanel.setCellHorizontalAlignment(dateHPanel, HasHorizontalAlignment.ALIGN_RIGHT);
RootPanel.get("Map"+uniqueId+componentId+"head").add(mainPanel); RootPanel.get("Map"+uniqueId+componentId+"head").add(mainPanel);
this.createInnerDiv(uniqueId+componentId,"Map"+uniqueId+componentId,false); this.createInnerDiv(uniqueId+componentId,"Map"+uniqueId+componentId);
this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption); this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption);
/*End Added Code by Dhanendra for Dyanmic Div By Dhanendra on 11-03-2016*/ /*End Added Code by Dhanendra for Dyanmic Div By Dhanendra on 11-03-2016*/
...@@ -1312,7 +1312,7 @@ public class GraphComponent extends Composite ...@@ -1312,7 +1312,7 @@ public class GraphComponent extends Composite
mainPanel.setCellHorizontalAlignment(dateHPanel, HasHorizontalAlignment.ALIGN_RIGHT); mainPanel.setCellHorizontalAlignment(dateHPanel, HasHorizontalAlignment.ALIGN_RIGHT);
RootPanel.get("Map"+uniqueId+componentId+"head").add(mainPanel); RootPanel.get("Map"+uniqueId+componentId+"head").add(mainPanel);
this.createInnerDiv(uniqueId+componentId,"Map"+uniqueId+componentId,false); this.createInnerDiv(uniqueId+componentId,"Map"+uniqueId+componentId);
this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption); this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption);
/*End Added Code by Dhanendra for Dyanmic Div By Dhanendra on 11-03-2016*/ /*End Added Code by Dhanendra for Dyanmic Div By Dhanendra on 11-03-2016*/
...@@ -2583,10 +2583,10 @@ public class GraphComponent extends Composite ...@@ -2583,10 +2583,10 @@ public class GraphComponent extends Composite
alert("Excpeiton :: GraphComponent : createOuterDivDrillDown [" + e.message + "]"); alert("Excpeiton :: GraphComponent : createOuterDivDrillDown [" + e.message + "]");
} }
}-*/; }-*/;
private native void createInnerDiv(String innerDivId, String groupName,boolean isCompSubTitle) private native void createInnerDiv(String innerDivId, String groupName)
/*-{ /*-{
try { try {
$wnd.innerDiv(innerDivId,groupName,isCompSubTitle); $wnd.innerDiv(innerDivId,groupName);
} catch (e) { } catch (e) {
alert("Excpeiton :: GraphComponent : createInnerDiv [" + e.message + "]"); alert("Excpeiton :: GraphComponent : createInnerDiv [" + e.message + "]");
} }
...@@ -3239,7 +3239,7 @@ public class GraphComponent extends Composite ...@@ -3239,7 +3239,7 @@ public class GraphComponent extends Composite
cnt++; cnt++;
/*add uniqueId to groupname by dhanendra on date 09-11-2015 */ /*add uniqueId to groupname by dhanendra on date 09-11-2015 */
this.createInnerDiv(uniqueId+cnt,groupName+uniqueId,false); this.createInnerDiv(uniqueId+cnt,groupName+uniqueId);
/*end uniqueId to groupname by dhanendra on date 09-11-2015 */ /*end uniqueId to groupname by dhanendra on date 09-11-2015 */
personArr = multGrph.split("@"); personArr = multGrph.split("@");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment