You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# JavaScript OHLC Chart with Automatic Packing Resolution
2
2
3
-

3
+

4
4
5
5
This demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.
6
6
7
7
LightningChart JS is entirely GPU accelerated and performance optimized charting library for presenting massive amounts of data. It offers an easy way of creating sophisticated and interactive charts and adding them to your website or web application.
8
8
9
9
The demo can be used as an example or a seed project. Local execution requires the following steps:
10
10
11
-
- Make sure that relevant version of [Node.js](https://nodejs.org/en/download/) is installed
12
-
- Open the project folder in a terminal:
11
+
-Make sure that relevant version of [Node.js](https://nodejs.org/en/download/) is installed
12
+
-Open the project folder in a terminal:
13
13
14
-
npm install # fetches dependencies
15
-
npm start # builds an application and starts the development server
14
+
npm install # fetches dependencies
15
+
npm start # builds an application and starts the development server
16
16
17
-
- The application is available at *http://localhost:8080* in your browser, webpack-dev-server provides hot reload functionality.
17
+
-The application is available at _http://localhost:8080_ in your browser, webpack-dev-server provides hot reload functionality.
18
18
19
19
20
20
## Description
21
21
22
22
The examples purpose is to shed some light on the packing logic of OHLCSeriesWithAutomaticPacking and how it can be fit to users needs by usage of method: `setPackingResolution`.
23
23
24
-
This class is a variant of OHLCSeries, which adds the automatic packing of XY-points to XOHLC-points. In a nutshell, when pushing points, it simply packages these points into 'XOHLC'-objects at certain intervals (which is controlled by the packing resolution property).
24
+
This class is a variant of OHLCSeries, which adds the automatic packing of XY-points to XOHLC-points. In a nutshell, when pushing points, it simply packages these points into 'XOHLC'-objects at certain intervals (which is controlled by the packing resolution property).
25
25
26
26
By default, or if packing resolution is explicitly set to 'undefined', the used value will be automatically computed based on current pixel-size. This effectively means that any newly pushed points will never be able to be zoomed closer than the view at the time of packing.
27
27
28
28
To ensure that the figures can be zoomed up to desired details, users can set an explicit value for the packing resolution, which will specify the minimum interval (in axis values) between two fully zoomed figures.
29
29
30
-
[//]: #"IMPORTANT: The assets will not show before README.md is built - relative path is different!"
30
+
[//]: #'IMPORTANT: The assets will not show before README.md is built - relative path is different!'
31
31
32
32

33
33
@@ -45,26 +45,26 @@ To ensure that the figures can be zoomed up to desired details, users can set an
45
45
46
46
If you notice an error in the example code, please open an issue on [GitHub][0] repository of the entire example.
47
47
48
-
Official [API documentation][1] can be found on [Arction][2] website.
48
+
Official [API documentation][1] can be found on [LightningChart][2] website.
49
49
50
50
If the docs and other materials do not solve your problem as well as implementation help is needed, ask on [StackOverflow][3] (tagged lightningchart).
51
51
52
-
If you think you found a bug in the LightningChart JavaScript library, please contact support@arction.com.
52
+
If you think you found a bug in the LightningChart JavaScript library, please contact support@lightningchart.com.
53
53
54
-
Direct developer email support can be purchased through a [Support Plan][4] or by contacting sales@arction.com.
54
+
Direct developer email support can be purchased through a [Support Plan][4] or by contacting sales@lightningchart.com.
0 commit comments