Skip to content

->options() not working as expected #19

@edstevo

Description

@edstevo

Hello,

I have been having issues getting the options to work for the chart. For example, the axis labelling wasn't working.

I'm using a plugin which is delivering my template using an anonymous livewire template.

If I use the ->livewire() method is leaves an error message because "$this->model" isn't accessible in the "chart-template-livewire.blade.php" file.

If I remove the livewire() method, it is ok if I remove the if function around the $options variable in "chart-template.blade.php". See attached screenshots.

Screenshot 2024-07-19 at 13 22 12 Screenshot 2024-07-19 at 13 22 36

I tried a pull request, but it reverted back to the original repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions