Created
April 18, 2020 00:13
-
-
Save marshallmurphy/33cd2036549bc7a02aaa940a80de2f3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{axisValues.days.map((item, index) => ( | |
<Text | |
key={index} | |
fill="#fff" | |
x={this.getValuePosition(index, axisValues.days, width)} | |
y={0} | |
font={`12px Arial`} | |
alignment='center' | |
opacity={index === 6 ? 1: 0.6} | |
> | |
{item} | |
</Text> | |
))} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment