Added HasLegend trait

- Refactored component to use BaseChartModel and traits
This commit is contained in:
Andrés Santibáñez
2020-10-25 00:40:06 -05:00
parent 8126b95593
commit 9df03c36a8
9 changed files with 123 additions and 72 deletions

View File

@@ -110,9 +110,4 @@ class LineChartModel extends BaseChartModel
$this->markers = collect(data_get($array, 'markers', []));
}
public function reactiveKey()
{
return md5(json_encode($this->toArray()));
}
}