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

Как работает вес? #10

Closed
Spaider15 opened this issue Nov 30, 2020 · 2 comments
Closed

Как работает вес? #10

Spaider15 opened this issue Nov 30, 2020 · 2 comments

Comments

@Spaider15
Copy link

Добрый день, есть следующая задача: есть 6 типов точек, от самой большой до самой маленькой, нужно сделать так, что бы на тепловой карте их можно было различить, не могу добиться нужного результата.

Самое близкое сейчас это то что в примере, 6 5 и 4 различаются, а дальше все идут просто зеленые
image

Пример: https://jsfiddle.net/28ujbc3n/6/
Подскажите пожалуйста, как им правильно выставить веса, что бы все 6 были разные?

6 - самая красная
5 - менее красная
4 оранжевая и т.д
Спасибо!

@ch-ms
Copy link
Contributor

ch-ms commented Nov 30, 2020

Можно попробовать сдвинуть intensityOfMidpoint на 0.5 и равномерно распределить веса. У меня получилось как то так https://jsfiddle.net/bpuaskj4/

@Spaider15
Copy link
Author

Спасибо, похоже это то что надо!

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