-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Multiple colors grid background #2346
Comments
to draw gird background color, you need to know where '50' is, it can be done by using So take a look at how |
Hello Liuxuan, Do you have an example of how to use the pointValueToPixel method? And I can't find the method drawLimitLine() implementation |
my bad, it's called |
I have now changed my code but its still not working. The line Code:
|
@jmamegroot I'm fill area between two limit lines. My Full Code :
Result |
can we achieve the same thing for xAxis? |
Change YAxisRender -> XAxisRender |
Reference to my previous question: #2172
I still get it not working correctly. The colors are drawing upside down and it always start at half the height of the chart (see image). In this case the colors must be 50 --> 70 gray, 70 --> 80 green, 80+ yellow
Code:
The text was updated successfully, but these errors were encountered: