I am using Label in a React Pure Component BarChart. The data is passed as prop. The char renders. But when i tried to use lables as mentioned in examples. It says undefined for data. if i change that data to this.props.data in the label def. It then cannot find x function
I am using Label in a React Pure Component BarChart. The data is passed as prop. The char renders. But when i tried to use lables as mentioned in examples. It says undefined for data. if i change that data to this.props.data in the label def. It then cannot find x function