Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ solved ] Value with decimals in pipeline graph
#10
Works as above

};
var maxnum = Math.max.apply(Math, chartDataObject.datasets[0].data);
var maxgrph = Math.ceil(maxnum + (10 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
precision: 0
}
});
window.schart{/literal}{$HOME_STUFFID}{literal} = new Chart(stuffchart,{
type: charttype,
data: chartDataObject,
options: {
responsive: true,
legend: {
position: "right",
display: (charttype=='pie'),
labels: {
fontSize: 11,
boxWidth: 18
}
}
}
Ranieri
eCRM Web
Reply


Messages In This Thread
RE: Value with decimals in pipeline graph - rslemer - 09-01-2019, 01:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)