Commit 30d3f6f7 authored by dkasliwal's avatar dkasliwal

Add x-axis and y-axis label name in a list for bubble chart.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104627 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 68efb935
...@@ -2296,6 +2296,7 @@ public class MetaDataDtl ...@@ -2296,6 +2296,7 @@ public class MetaDataDtl
{ {
ArrayList<String> dataList = new ArrayList<String>(); ArrayList<String> dataList = new ArrayList<String>();
ArrayList<String> labelList = new ArrayList<String>(); ArrayList<String> labelList = new ArrayList<String>();
ArrayList<String> dataListValue = new ArrayList<String>();
ArrayList<Object> graphDtlList = new ArrayList<Object>(); ArrayList<Object> graphDtlList = new ArrayList<Object>();
NodeList groupFilterNodeList = null; NodeList groupFilterNodeList = null;
NodeList columNodeList = null; NodeList columNodeList = null;
...@@ -2365,6 +2366,7 @@ public class MetaDataDtl ...@@ -2365,6 +2366,7 @@ public class MetaDataDtl
columNodeList = groupFilterNode.getChildNodes(); columNodeList = groupFilterNode.getChildNodes();
for (int k = 0; k < columNodeList.getLength(); k++) for (int k = 0; k < columNodeList.getLength(); k++)
{ {
columnNode = columNodeList.item(k); columnNode = columNodeList.item(k);
data = columnNode.getAttributes().getNamedItem("id").getNodeValue(); data = columnNode.getAttributes().getNamedItem("id").getNodeValue();
labelList.add(data); labelList.add(data);
...@@ -2374,13 +2376,20 @@ public class MetaDataDtl ...@@ -2374,13 +2376,20 @@ public class MetaDataDtl
if (("column_group".equalsIgnoreCase(childNodeName)) && (null) != graphDataNode.getAttributes().getNamedItem("id") && "data".equals(graphDataNode.getAttributes().getNamedItem("id").getNodeValue())) if (("column_group".equalsIgnoreCase(childNodeName)) && (null) != graphDataNode.getAttributes().getNamedItem("id") && "data".equals(graphDataNode.getAttributes().getNamedItem("id").getNodeValue()))
{ {
groupFilterNodeList = graphDataNode.getChildNodes(); groupFilterNodeList = graphDataNode.getChildNodes();
CommonUtils.printOnConsole("groupFilterNodeList.getLength() :"+groupFilterNodeList.getLength());
for (int j = 0; j < groupFilterNodeList.getLength(); j++) for (int j = 0; j < groupFilterNodeList.getLength(); j++)
{ {
groupFilterNode = groupFilterNodeList.item(j); groupFilterNode = groupFilterNodeList.item(j);
columNodeList = groupFilterNode.getChildNodes(); columNodeList = groupFilterNode.getChildNodes();
CommonUtils.printOnConsole("Value : "+groupFilterNode.getChildNodes().item(0).getNodeValue());
CommonUtils.printOnConsole("columNodeList.getLength() :"+columNodeList.getLength());
for (int k = 0; k < columNodeList.getLength(); k++) for (int k = 0; k < columNodeList.getLength(); k++)
{ {
columnNode = columNodeList.item(k); columnNode = columNodeList.item(k);
CommonUtils.printOnConsole("columnNode.getNodeValue() @@@@@@@@@@ : "+columnNode.getChildNodes().item(0).getNodeValue());
dataListValue.add(columnNode.getChildNodes().item(0).getNodeValue());
data = columnNode.getAttributes().getNamedItem("id").getNodeValue(); data = columnNode.getAttributes().getNamedItem("id").getNodeValue();
dataList.add(data); dataList.add(data);
} }
...@@ -2400,6 +2409,7 @@ public class MetaDataDtl ...@@ -2400,6 +2409,7 @@ public class MetaDataDtl
graphDtlList.add(componentIcon); graphDtlList.add(componentIcon);
graphDtlList.add(labelList); graphDtlList.add(labelList);
graphDtlList.add(dataList); graphDtlList.add(dataList);
graphDtlList.add(dataListValue);
CommonUtils.printOnConsole("******** graphDtlList ******** :"+graphDtlList); CommonUtils.printOnConsole("******** graphDtlList ******** :"+graphDtlList);
return graphDtlList; return graphDtlList;
......
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