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

Feature request: parametrize options #6

Open
MBlistein opened this issue Mar 21, 2018 · 1 comment
Open

Feature request: parametrize options #6

MBlistein opened this issue Mar 21, 2018 · 1 comment

Comments

@MBlistein
Copy link

MBlistein commented Mar 21, 2018

I really like this solution, thanks for that!
It would be great if rectangle options could be parameterized for use similar to the options of a regular bar chart, e.g.:

options: {
    elements: {
        rectangle: {
	    text: {
                display: false,
                textColor: 'rgba(0, 0, 0, 1),
            },
            borderWidth: 2,
            barThickness: 10
        }
    }                 
}
@fanthos
Copy link
Owner

fanthos commented Mar 23, 2018

Thanks.
I think the new options seems better, but I don't want to break the code.
Will do this later.

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

2 participants