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

[FR] Display curves with positive trend with "color_1", with negative trend - with "color_2" #1025

Open
cataseven opened this issue Oct 30, 2023 · 5 comments
Labels
feature request New feature or request

Comments

@cataseven
Copy link

Hi,

Great work first of all. Thanks.

What I want to do is, colorize line between dots according to previous value. For example, value is changed from 2 to 2.1 then the line between these two dots will be green. Then if the value drop again for example to 1.8 then the line between 2.1 and 1.8 is red.

Best,

@ildar170975
Copy link
Collaborator

Have you tried using a color_thresholds option?

@cataseven
Copy link
Author

as far as i know, color_thresholds is used to color line according to fixed numbers, isn't it? For example above 20 or below 17 or between 10-15.

However I want to colorize between two dots by comparing their values. If the previous one ise above next one then the line between these two dots will be red, but If the previous one ise below next one then the line between these two dots will be another color

@ildar170975
Copy link
Collaborator

In short:
every positive change = color_1
negative = color_2
?
изображение

@cataseven
Copy link
Author

In short: every positive change = color_1 negative = color_2 ? изображение

Yes :)

@ildar170975 ildar170975 changed the title Color According to Previous Value [FR] Display curves with positive trend with "color_1", with negative trend - with "color_2" Oct 30, 2023
@ildar170975 ildar170975 added the feature request New feature or request label Oct 30, 2023
@wernerhp
Copy link

wernerhp commented Dec 1, 2023

Yes, would be great. Great for tracking price movement.

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

No branches or pull requests

3 participants