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

[Bug]: showTooltip prop for AreaChart does not accept string #3045

Open
archiewood opened this issue Jan 27, 2025 · 0 comments
Open

[Bug]: showTooltip prop for AreaChart does not accept string #3045

archiewood opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@archiewood
Copy link
Member

archiewood commented Jan 27, 2025

Describe the bug

showTooltip does not accept false only {false}

Steps to Reproduce

Using docs site

<AreaMap 
            data={la_zip_sales} 
            areaCol=zip_code
            geoJsonUrl='/geo-json/ca_california_zip_codes_geo_1.min.json'
            geoId=ZCTA5CE10
            value=sales
            showTooltip=false
/>

should hide the tooltip but does not

Severity

annoyance

Additional Information, or Workarounds

Workaround: pass as boolean not string

<AreaMap 
            data={la_zip_sales} 
            areaCol=zip_code
            geoJsonUrl='/geo-json/ca_california_zip_codes_geo_1.min.json'
            geoId=ZCTA5CE10
            value=sales
            showTooltip={false}
        />
@archiewood archiewood added bug Something isn't working to-review Evidence team to review and removed to-review Evidence team to review labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants