{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>
))}
view raw axisValuesMap.js hosted with ❤ by GitHub