From 224bcb53345a3660493fc9ee0c206ab5a84daf5a Mon Sep 17 00:00:00 2001 From: Evgeniia Riazanova Date: Wed, 25 Dec 2024 15:41:41 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Anastasiia Chuprina <110668595+anachuprina@users.noreply.github.com> Co-authored-by: Mark Silverwood --- website/docs/intro.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/intro.mdx b/website/docs/intro.mdx index 3160b9d41..a0b85baab 100644 --- a/website/docs/intro.mdx +++ b/website/docs/intro.mdx @@ -8,7 +8,7 @@ sidebar_position: 0 ## Requirements -Lightweight Charts™ is _a client-side_ library that is not designed to work server-side, for example, with Node.js. +Lightweight Charts™ is _a client-side_ library that is not designed to work on the server side, for example, with Node.js. The library code targets the [_ES2020_ language specification](https://262.ecma-international.org/11.0/). Therefore, the browsers you work with should support this language revision. Consider the following [table](https://compat-table.github.io/compat-table/es2016plus/) to ensure the browser compatibility. @@ -62,14 +62,14 @@ const firstChart = createChart(document.getElementById('firstContainer')); const secondChart = createChart(document.getElementById('secondContainer')); ``` -As a result, `createChart` returns a [`IChartApi`](/api/interfaces/IChartApi.md) object that allows you to interact with the created chart. +As a result, `createChart` returns an [`IChartApi`](/api/interfaces/IChartApi.md) object that allows you to interact with the created chart. ## Creating a series When the chart is created, you can display data on it. The basic primitive to display data is a [series](/api/interfaces/ISeriesApi.md). -There library supports the following series types: +The library supports the following series types: - Area - Bar