Add "identity" scales
AndreiKingsley opened this issue · 4 comments
AndreiKingsley commented
"Identity" scale is a scale that takes aesthetics values directly and does not change them
For example:
color(listOf(Color.RED, Color.GREEN, Color.BLUE)) {
scale = identity()
}
devcrocod commented
I think this behavior is default
AndreiKingsley commented
Do you mean that this scale should be used by default when a required type is used and detected?
devcrocod commented
Yes
And what is the motivation to add identity at all?
AndreiKingsley commented
Example above - sometimes user uses aesthetics values directly in the input data.