Skip to content

SEO-2494 React charts #139

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ReactJS/Chart/Chart-Dimensions.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: post
title: Chart size
description: Learn how to set Chart size and make it responsive.
title: Chart Dimensions in js Chart control | Syncfusion
description: Learn here about getting started with Syncfusion js Chart control, its elements, and more.
platform: js
control: Chart
documentation: ug
api : /api/js/ejchart
---

# Chart Dimensions
# Getting started with js Chart

You can set the size of the chart directly on the chart or to the container of the chart. When you do not specify the size, it takes 450px as the height and window size as its width, by default.

Expand Down Expand Up @@ -47,7 +47,7 @@ You can also set the chart dimension by using the [`size`](../api/ejchart#member

{% endhighlight %}

![](/js/Chart/Chart-Dimensions_images/Chart-Dimensions_img1.png)
![js Chart Chart-Dimensions](/js/Chart/Chart-Dimensions_images/Chart-Dimensions_img1.png)


## Setting size relative to the container size
Expand All @@ -69,7 +69,7 @@ You can specify the chart size in percentage by using the [`size`](../api/ejchar

{% endhighlight %}

![](/js/Chart/Chart-Dimensions_images/Chart-Dimensions_img2.png)
![js Chart Chart-Dimensions](/js/Chart/Chart-Dimensions_images/Chart-Dimensions_img2.png)


## Responsive chart
Expand Down