@rafaeladi I looked at the package briefly and it seems like this uses Chartisan under the hood. Which is basically a Library, called similarly to a facade. I'm not sure if that syntax is what is tripping you up or if you actually mean the data. You can populate the data using Eloquent or QueryBuilder.
public function handler(Request $request): Chartisan
{
$data = DB::table('whatever')->pluck('column_with_numbers');
return Chartisan::build()
->labels(['First', 'Second', 'Third'])
->dataset('Sample', $data->toArray());
}
Obviously keeping this example very simple... but you can grab labels dynamically if needed... pretty much do whatever you need to. Hope this helps.