Commit 2a58e2c1 authored by d.arizona's avatar d.arizona

apdet

parent c8055284
...@@ -444,7 +444,7 @@ export default class DashboardFinancial extends React.Component { ...@@ -444,7 +444,7 @@ export default class DashboardFinancial extends React.Component {
if (this.state.report.value == 'summary') { if (this.state.report.value == 'summary') {
companyRev.push(item.periode) companyRev.push(item.periode)
mbRev.push(Number(item.value)) mbRev.push(Number(item.value))
mrRev.push(Number(item.gp_margin)) mrRev.push(Number(item.gp_margin).toFixed(1))
} else { } else {
companyRev.push(handleName(item.company)) companyRev.push(handleName(item.company))
mbRev.push(Number(item.value_mb)) mbRev.push(Number(item.value_mb))
...@@ -502,7 +502,6 @@ export default class DashboardFinancial extends React.Component { ...@@ -502,7 +502,6 @@ export default class DashboardFinancial extends React.Component {
max: maxRev, max: maxRev,
interval: intervalRev, interval: intervalRev,
axisLabel: { axisLabel: {
formatter: '{value}%',
interval: 0, interval: 0,
// rotate: 10, // rotate: 10,
textStyle: { textStyle: {
...@@ -581,7 +580,7 @@ export default class DashboardFinancial extends React.Component { ...@@ -581,7 +580,7 @@ export default class DashboardFinancial extends React.Component {
if (this.state.report.value == 'summary') { if (this.state.report.value == 'summary') {
companyTPAT.push(item.periode) companyTPAT.push(item.periode)
mbTPAT.push(Number(item.value)) mbTPAT.push(Number(item.value))
mrTPAT.push(Number(item.gp_margin)) mrTPAT.push(Number(item.gp_margin).toFixed(1))
} else { } else {
companyTPAT.push(handleName(item.company)) companyTPAT.push(handleName(item.company))
mbTPAT.push(Number(item.value_mb)) mbTPAT.push(Number(item.value_mb))
...@@ -706,7 +705,7 @@ export default class DashboardFinancial extends React.Component { ...@@ -706,7 +705,7 @@ export default class DashboardFinancial extends React.Component {
if (this.state.report.value == 'summary') { if (this.state.report.value == 'summary') {
companyEBITDA.push(item.periode) companyEBITDA.push(item.periode)
mbEBITDA.push(Number(item.value)) mbEBITDA.push(Number(item.value))
mrEBITDA.push(Number(item.gp_margin)) mrEBITDA.push(Number(item.gp_margin).toFixed(1))
} else { } else {
companyEBITDA.push(handleName(item.company)) companyEBITDA.push(handleName(item.company))
mbEBITDA.push(Number(item.value_mb)) mbEBITDA.push(Number(item.value_mb))
......
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