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

One issue in getting the height #159

Closed
sueyan2018 opened this issue Dec 19, 2018 · 2 comments
Closed

One issue in getting the height #159

sueyan2018 opened this issue Dec 19, 2018 · 2 comments

Comments

@sueyan2018
Copy link

sueyan2018 commented Dec 19, 2018

I use sizeme to wrap a chart component,and sizeme is inside a grid, but I cannot get the height of the grid,size.height is the height of winWindows , I'm wondering how it can be corrected.
The structure is like this:

<SizeMe
monitorHeight
refreshRate={32}
render={({ size }) =>

        <LineChart
            data={data2}
            width={size.width}
            height={size.height}
            />
      }
    />

Looking forward to your reply, thanks a lot.

@mattjohnsonpint
Copy link

Maybe the approach I describe here would help you?

@ctrlplusb
Copy link
Owner

@sueyan2018 let me know how it went for you. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants