We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to format the value of the funnel but i getting no results. I'm trying with the getRowValueStyle function.
The text was updated successfully, but these errors were encountered:
Hi @MatheusPemill,
The Colours and Styles example has a working example of getRowValueStyle and demonstrates how to use it. The code can be found below;
https://github.com/DarylBuckle/react-funnel-pipeline/blob/master/example/src/App.tsx
<FunnelChart data={data} pallette={[ '#ffb3ba', '#ffdfba', '#ffffba', '#baffc9', '#bae1ff', ]} getRowStyle={() => { return { margin: '0px'} }} getRowNameStyle={(row) => { return row.value < 15 ? { color: 'red'} : { color: 'black'}}} getRowValueStyle={(row) => { return row.value < 15 ? { color: 'red'} : { color: 'black'}}} />
If you are still having trouble after looking at this example, please could you provide some code demonstrating the issue you're having. Thanks.
Sorry, something went wrong.
No branches or pull requests
I'm trying to format the value of the funnel but i getting no results. I'm trying with the getRowValueStyle function.
The text was updated successfully, but these errors were encountered: