ScalarValue
This type is mainly used to allow more possibilities and ways to enter props
We currently allow following three types :
1. Number
Definition
In Typescript: number
Example: 3
,5
Utilities
The value is converted using Axis scale
Example
2. Pixels
Definition
In Typescript: '${number}'
Explanation: String number
Example: '3'
,'5'
Utilities
The value is in pixels, independent from scale and Axis
Example
3. Percentage
Definition
In Typescript: '${number}%'
Explanation: String number ends with "%"
Example: '3%'
,'5%'
Utilities
The value is converted depending on Axis domain