Commit f10c73fa authored by skamble's avatar skamble

changes for chc_sales_kpi

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217713 ce508802-f39f-4f6c-b175-0d175dae99d5
parent af1b8a32
......@@ -31,8 +31,8 @@
{
component_type: 'CUSTOM_CHART_4',
detailModel: {
image_column: 'ICON',
image: 'ICON',
image_column: 'image',
image: 'date_white.svg',
title_column: 'PRD_QTR_STR',
sales_info_column: 'SALES_VAL',
target_info_column: 'TARGET_VAL',
......@@ -109,37 +109,35 @@
sh_descr : 'SH_DESCR'
}
},
chartConfig: {
chartType: 'line',
chartConfig: {
chartType: 'bar',
image: 'total_calls.svg',
title_column: 'Monthwise Sales Summary',
theme : 'violet',
datasets: [
{
x_column: 'CODE',
x_column_label: 'Duration',
x_column: 'PRD_MONTH',
y_column: 'SALES_VAL',
y_column_label: 'Sales',
fill: false,
lineTension: 0.1,
pointHoverRadius: 5,
pointHoverBorderWidth: 2,
backgroundColor : "rgba(163, 142, 230, 1)"
backgroundColor : "rgba(0, 123, 171, 1)"
},
{
x_column: 'CODE',
x_column_label: 'Duration',
x_column: 'PRD_MONTH',
y_column: 'TARGET_VAL',
y_column_label: 'Sales',
fill: false,
lineTension: 0.1,
pointHoverRadius: 5,
pointHoverBorderWidth: 2,
backgroundColor : "rgba(1, 162, 127, 1)"
backgroundColor : "rgba(1, 162, 127, 1)"
}
],
options: {
x_column_label: 'Duration',
y_column_label: 'Sales',
percentFactorColumn: 'TARGET_VAL',
animateScale: true,
animateRotate: true,
......@@ -167,7 +165,25 @@
expression: " 81 <= data[0] ",
colors: [[0, 199, 153], [248, 248, 248]]
}
]
],
scales: {
xAxes: [
{
scaleLabel:{
display : '',
labelString: ''
}
}
],
yAxes: [
{
scaleLabel:{
display : '',
labelString: ''
}
}
]
}
}
}
}
......
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