Closed Damian89 closed 7 years ago
Since the current version allows it to add simple json string based options, it is not possible to generate options like:
options: { scales: { xAxes: [{ type: 'time', time: { displayFormats: { quarter: 'MMM YYYY' } } }] } }
Using the method optionsRaw(string) its possible to add a the options in raw format:
$chart->optionsRaw = "{ legend: { display:false }, scales: { xAxes: [{ gridLines: { display:false } }] } }";
I'm using my own helper, but its basically just passing this string into "optionsRaw".
Its not the best solution, but it works well ;)
@Damian89 great!! merged, thanks for support!
Since the current version allows it to add simple json string based options, it is not possible to generate options like:
Using the method optionsRaw(string) its possible to add a the options in raw format:
I'm using my own helper, but its basically just passing this string into "optionsRaw".
Its not the best solution, but it works well ;)