Can anyone correct this syntax in laravel View?
I want to display my Ajax Data in View and I want to Add Charts in View... not THE CONTROLLER......
I know the guidelines of ConsoleTVs\Charts\Facades\Charts;
{{ Charts::multi(array('bar', 'material')) }}
{{ Charts::title("Weather Charts") }}
{{ Charts::dimensions(array(0, 400)) }}
{{ Charts::template("material") }}
{{ Charts::dataset(array('Element 1', array(5,20,100))) }}
{{ Charts::dataset(array('Element 1', array(5,20,100))) }}
{{ Charts::dataset(array('Element 1', array(5,20,100))) }}
{{ Charts::labels(array('One', 'Two', 'Three')) }}
{{ $chart->render() }}
this is my code for View.... and please correct anyone i guess this is Wrong.....
and if someone have code ready please share a link