mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update index.php (#6125)
This commit is contained in:
@@ -116,6 +116,19 @@
|
||||
ctx.save();
|
||||
}
|
||||
};
|
||||
|
||||
const chart_counter_2 = {
|
||||
id: 'chart_counter_2',
|
||||
beforeDraw(chart, args, options){
|
||||
const {ctx, chartArea: {top, right, bottom, left, width, height} } = chart;
|
||||
ctx.font = (chart_font_size - 7) + 'px ' + chart_font_family;
|
||||
ctx.textBaseline = 'middle';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.fillStyle = chart_font_color;
|
||||
ctx.fillText(options.chart_text + '%', width / 2, top + (height / 2) + 35);
|
||||
ctx.save();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<?php
|
||||
|
||||
|
||||
Reference in New Issue
Block a user