-
Notifications
You must be signed in to change notification settings - Fork 154
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
Controlling the boundaries of sections painted with sectionColors #790
Comments
Can you share an image @ilyaserenyilmaz |
Of course @Abhinandan-Kushwaha! As you can see, I would like to give different ranges for each colored section on y axis in LineChart. |
Hi @ilyaserenyilmaz |
Hi @Abhinandan-Kushwaha |
Hi @ilyaserenyilmaz - I am looking for the similar use case but i dont have have the section but using reference line and want to make sure the section color each reference line is different from the other. so basically based on three reference line I want to show three different section color. Could you suggest how can I achieve this ? |
Hi @ilyaserenyilmaz @harishgupta01 I have added the prop type CustomBackground = {
color?: ColorValue
component?: Function
horizontalShift?: number
verticalShift?: number
height?: number
width?: number
widthAdjustment?: number // the library aut-computes the width, if you want slight less or more than that, use this property
} You can pass any component in the |
Is there any way to manipulate the boundaries of sections that are colored using sectionColors on y axis? For example, is it possible to have seven different sections such that first section is between [0,30] in y-axis filled with green, second section is between [30,100] in y-axis filled with blue and etc.?
The text was updated successfully, but these errors were encountered: