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

Graph Area (within some height and width) #57

Closed
darpan2212 opened this issue Nov 21, 2019 · 2 comments
Closed

Graph Area (within some height and width) #57

darpan2212 opened this issue Nov 21, 2019 · 2 comments

Comments

@darpan2212
Copy link

When I am using SfCartesianChart() widget to my viewport, It'll cover the random screen area based on the remaining space it has.

Is it possible to give some specific height and width to it?

@dharanidharandharmasivam
Copy link
Contributor

Hi @darpan2212 ,

Greetings from Syncfusion and thanks for your interest in our Flutter components. You can specify the size (height and width) to the chart like the below code.

  Container(
      height: 300,
      width: 300,
      child: SfCartesianChart(
          // Other configurations
      )
    )

For your convenience, we have attached the sample which can be found from below.
https://www.syncfusion.com/downloads/support/directtrac/256041/ze/sample-1131461163

Thanks,
Dharani.

@darpan2212
Copy link
Author

Thanks a lot @dharanidharandharmasivam

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

2 participants