Select to view content in your preferred language

Continuous Color starting from the middle

675
3
Jump to solution
07-28-2020 07:50 AM
ThafnySoares
Occasional Contributor

Hello. I am working with visual variables of the type 'color' and I am having a problem with the arrangement of the stop ticks. My minimum value is always with the 'little arrow' in the middle of the color bar, instead of being in the lower limit.

The minimum value of my samples in this case is 0 and even if I put the lower limit -100, the arrow is in the middle of the bar.

Am I forgetting something? Thank you!

0 Kudos
1 Solution

Accepted Solutions
ThafnySoares
Occasional Contributor

I'm sorry for answering so late.
When creating a codepen to submit here I realized that the problem only happened within my project. That's because in CSS there was content = "." influenced the rendering of the color ramp. Thank you anyway.

View solution in original post

0 Kudos
3 Replies
ThafnySoares
Occasional Contributor

Any idea?

0 Kudos
JohnGrayson
Esri Regular Contributor

Do you have a codepen or jsbin that shows the code and results?

0 Kudos
ThafnySoares
Occasional Contributor

I'm sorry for answering so late.
When creating a codepen to submit here I realized that the problem only happened within my project. That's because in CSS there was content = "." influenced the rendering of the color ramp. Thank you anyway.

0 Kudos