Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom colors not applied #4

Open
otrsw opened this issue Oct 16, 2019 · 0 comments
Open

custom colors not applied #4

otrsw opened this issue Oct 16, 2019 · 0 comments

Comments

@otrsw
Copy link

otrsw commented Oct 16, 2019

Hi there. Nice component - just checking if the colors method is implemented?
I tested with a simple manually generated chart - the graph generates fine, but if I want to specify custom colors they are not applied

return $this->result([
            'Group 1' => 100,
            'Group 2' => 200,
            'Group 3' => 300,
        ])->colors([
            'Group 1' => 'blue',
            'Group 2' => 'green',
            'Group 3' => 'orange',

        ]);

sampleBarChart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant