Commit 20b5e6e4 authored by dkasliwal's avatar dkasliwal

Add parameter x-axis and y- axis label to method.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104734 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f0d012ba
function bubbleChart(jsonData , ContainerId) function bubbleChart(jsonData , ContainerId,xAxisLbl,yAxisLbl,zAxisLbl)
{ {
//alert("ContainerId in Bubble Dhanendra :"+ContainerId); //alert("ContainerId in Bubble Dhanendra :"+ContainerId);
jsonData = JSON.parse(jsonData); jsonData = JSON.parse(jsonData);
...@@ -127,6 +127,20 @@ console.log("bubbleChartData from JS :"+JSON.stringify(bubbleChartData)); ...@@ -127,6 +127,20 @@ console.log("bubbleChartData from JS :"+JSON.stringify(bubbleChartData));
display:true, display:true,
text:'' text:''
}, },
scales: {
xAxes: [{
scaleLabel: {
display: true,
labelString: xAxisLbl
}
}],
yAxes: [{
scaleLabel: {
display: true,
labelString: yAxisLbl
}
}]
},
legend: { legend: {
display:true, display:true,
position: 'top', position: 'top',
......
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