Added chart js plugin package and sets static label
This commit is contained in:
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user