Commit 5e5814c8 authored by prumde's avatar prumde

Updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217761 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 899380da
......@@ -18,8 +18,8 @@
<composite>
<composite_type><![CDATA[CARD_PANEL]]></composite_type>
<composite_id><![CDATA[_composite_daywise_kpi]]></composite_id>
<composite_descr><![CDATA[Day wise KPI - PC, POB, TLSD and TC]]></composite_descr>
<composite_id><![CDATA[_composite_quarterwise_kpi]]></composite_id>
<composite_descr><![CDATA[Quarterly Sales and Target Values]]></composite_descr>
<composite_css><![CDATA[db-col-1]]></composite_css>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
......@@ -83,20 +83,10 @@
</composite>
<composite>
<composite_type><![CDATA[CHART_PANEL]]></composite_type>
<composite_id><![CDATA[_composite_tot_calls_kpi]]></composite_id>
<composite_descr><![CDATA[QTR2[JUL-SEP]]]></composite_descr>
<composite_id><![CDATA[_composite_acct_prd_month_wise_summary]]></composite_id>
<composite_descr><![CDATA[Monthwise Sales Summary]]></composite_descr>
<composite_css><![CDATA[db-col-1]]></composite_css>
<link_metadata><![CDATA[]]></link_metadata>
<column_group id="1">
<columns>
<column id="1" type="string" filterBy="DESCR"><![CDATA[QTR1[APR-JUN]]]></column>
</columns>
</column_group>
<column_group id="2">
<columns>
<column id="1" type="string" filterBy="DATA_GRP"><![CDATA[MTD_DETAIL]]></column>
</columns>
</column_group>
<composite_config><![CDATA[
{
......@@ -124,7 +114,7 @@
pointHoverRadius: 5,
pointHoverBorderWidth: 2,
backgroundColor : "rgba(0, 123, 171, 1)"
},
},
{
x_column: 'PRD_MONTH',
y_column: 'TARGET_VAL',
......@@ -142,36 +132,15 @@
y_column_label: 'Sales ( in \u20B9 )',
percentFactorColumn: 'TARGET_VAL',
animateScale: true,
animateRotate: true,
width: 400,
height: 191,
height: 291,
responsive: true,
maintainAspectRatio: false,
tooltip: true,
cutOutPercentage: 70,
chartCenterText: "data[0] + '%'",
chartCenterTextFont1 : "20px Roboto,sans-serif",
condnFormat: [
{
id: "RED",
expression: "data[0] <= 60",
colors: [[252, 101, 101], [248, 248, 248]]
},
{
id: "YELLOW",
expression: " ( 61 <= data[0] ) && ( data[0] <= 80 )",
colors: [[255, 211, 90], [248, 248, 248]]
},
{
id: "GREEN",
expression: " 81 <= data[0] ",
colors: [[0, 199, 153], [248, 248, 248]]
}
],
tooltips: {
callbacks: {
label: function(tooltipItem, data) {
var label = '\u20B9 ' + tooltipItem.yLabel + tooltipItem.xLabel ;
var label = '\u20B9 ' + tooltipItem.yLabel + ' in ' + tooltipItem.xLabel ;
return label;
},
title: function(tooltipItem, data) {
......@@ -194,7 +163,7 @@
}
},
fontSize: 7
fontSize: 10
}
}
......
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