CoreBOSBB
[ solved ] Value with decimals in pipeline graph - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [ solved ] Value with decimals in pipeline graph (/showthread.php?tid=1560)

Pages: 1 2


RE: Value with decimals in pipeline graph - rslemer - 09-02-2019

value 10 solve overlapping, but a small values, bar is missing

I will try another values

This works

};
var maxnum = Math.max.apply(Math, chartDataObject.datasets[0].data);
var maxgrph = Math.ceil(maxnum + (6 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
max: maxgrph,
precision: 0
}


for testing, not is enough remove a cache, is necessary remove a widget and recreate it

Now not overlapping more


RE: Value with decimals in pipeline graph - joebordes - 09-03-2019

thanks.
uploaded the change to the project