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

Can we add an option to customise rect width and height? #126

Closed
shivams07 opened this issue Dec 23, 2023 · 1 comment
Closed

Can we add an option to customise rect width and height? #126

shivams07 opened this issue Dec 23, 2023 · 1 comment

Comments

@shivams07
Copy link

Currently, I see the rect size is hardcoded to 11. Can we make changes to accept width and height in rectProps and use the same ?

Hardcoded values:
const { transform, gridNum = 0, startY = 0, panelColors = {}, initStartDate, space = 2, value = [], rectSize = 15, endDate, rectProps, rectRender } = props;

rectProps example:

rectProps={{
rx: 5,
width:'15',
height:'15',
}}

@shivams07
Copy link
Author

Used inbuilt variable rectSize in heatmap component.

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