Skip to content
New issue

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

How to display charts with float values? #33

Open
EdaDeniz opened this issue Jan 22, 2021 · 1 comment
Open

How to display charts with float values? #33

EdaDeniz opened this issue Jan 22, 2021 · 1 comment
Labels
question Further information is requested

Comments

@EdaDeniz
Copy link

How can I display charts with float numbers? When I use it displays as Integer. But I need float numbers. Here is my code:

 <RadialGauge
                data={datam}
                startAngle={0}
                endAngle={Math.PI * 2}
                height={250}
                width={550}
                minValue={0}
                maxValue={max}
                fill={"white"}
                series={
                    <RadialGaugeSeries
                        arcWidth={10}
                        colorScheme={[
                            '#00ECB1',
                            '#DF8D03',
                        ]}/>
                }
            />

And this is my output:

image

@amcdnl
Copy link
Member

amcdnl commented Jan 22, 2021

Side note: Questions are better suited for the "Discussions" tab above.

@amcdnl amcdnl added the question Further information is requested label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants