Continuous Color starting from the middle

95
3
Jump to solution
07-28-2020 07:50 AM
ThafnySoares
New Contributor III

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!

Reply
0 Kudos
1 Solution

Accepted Solutions
ThafnySoares
New Contributor III

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

Reply
0 Kudos
3 Replies
ThafnySoares
New Contributor III

Any idea?

Reply
0 Kudos
JohnGrayson
Esri Regular Contributor

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

Reply
0 Kudos
ThafnySoares
New Contributor III

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

Reply
0 Kudos