Injecting model/record into a chart
I've got a Link model which has multiple clicks. I want to plot these clicks on a chart over time.
I've built my ChartWidget and I've added it to my
getHeaderWidgets
method, but I cant work out how to actually access the current record inside my ChartWidget...
I'm trying to make something like the attached image.
Thanks!0 Replies