Added chart js plugin package and sets static label

This commit is contained in:
dhanabalan
2025-06-27 12:46:29 +05:30
parent fea6573a7a
commit 0fc1852ea2
14 changed files with 6141 additions and 695 deletions

View File

@@ -158,14 +158,17 @@ class ProductionLineStopChart extends ChartWidget
protected function getOptions(): array
{
return [
'responsive' => true,
'plugins' => [
'legend' => [
'position' => 'bottom',
],
'tooltip' => [
'enabled' => true, // Tooltips enabled on hover
],
// 'responsive' => true,
// 'plugins' => [
// 'legend' => [
// 'position' => 'bottom',
// ],
// 'tooltip' => [
// 'enabled' => true, // Tooltips enabled on hover
// ],
// ],
'plugins' => [
'datalabels' => false,
],
'scales' => [
'x' => [