I am trying to generate a highchart using livewire model. I have a datepicker input from which the user can select the date range of the chart. Initially the chart loads, but when I change the date range, the chart disappears.
I have used the redraw() and yAxis[0].isDirty = true methods of the hightcharts API, but it does not seem to work.
below is my render method.
public function render()
{
return view('livewire.reserves', [
'dates' => $this->getDates(),
'chartData' => $this->getChartData(),
]);
}
Has anyone come across this issue?