Socket
Socket
Sign inDemoInstall

lightweight-charts

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightweight-charts - npm Package Compare versions

Comparing version 1.0.0-rc.5 to 1.0.0

27

dist/typings.d.ts

@@ -120,2 +120,8 @@ /**

}
export interface BarPrices {
open: BarPrice;
high: BarPrice;
low: BarPrice;
close: BarPrice;
}
export interface BarStyleOptions {

@@ -200,2 +206,4 @@ upColor: string;

labelVisible: boolean;
/** Background color of corresponding scale label */
labelBackgroundColor: string;
}

@@ -235,2 +243,4 @@ /** Structure describing crosshair options */

pressedMouseMove: boolean;
horzTouchDrag: boolean;
vertTouchDrag: boolean;
}

@@ -343,2 +353,7 @@ /**

options(): Readonly<ChartOptions>;
/**
* Make a screenshot of the chart with all the elements excluding crosshair.
* @returns a canvas with the chart drawn on
*/
takeScreenshot(): HTMLCanvasElement;
}

@@ -497,3 +512,3 @@ /** Interface to be implemented by the object in order to be used as a price formatter */

point?: Point;
seriesPrices: Map<ISeriesApi<SeriesType>, number>;
seriesPrices: Map<ISeriesApi<SeriesType>, BarPrice | BarPrices>;
}

@@ -563,2 +578,4 @@ export interface NonOverlaySeriesSpecificOptions {

borderColor: string;
/** Indicates whether the price scale displays only full lines of text or partial lines. */
entireTextOnly: boolean;
}

@@ -586,13 +603,13 @@ export interface SeriesDataItemTypeMap {

priceLineColor: string;
/** Price line style. Suitible for percentage and indexedTo100 scales */
/** Price line style. Suitable for percentage and indexedTo100 scales */
priceLineStyle: LineStyle;
/** Formatting settings associated with the series */
priceFormat: PriceFormat;
/** Visibity of base line. Suitible for percentage and indexedTo100 scales */
/** Visibility of base line. Suitable for percentage and indexedTo100 scales */
baseLineVisible: boolean;
/** Color of the base line in IndexedTo100 mode */
baseLineColor: string;
/** Base line width. Suitible for percentage and indexedTo100 scales. Ignored if baseLineVisible is not set */
/** Base line width. Suitable for percentage and indexedTo100 scales. Ignored if baseLineVisible is not set */
baseLineWidth: LineWidth;
/** Base line style. Suitible for percentage and indexedTo100 scales. Ignored if baseLineVisible is not set */
/** Base line style. Suitable for percentage and indexedTo100 scales. Ignored if baseLineVisible is not set */
baseLineStyle: LineStyle;

@@ -599,0 +616,0 @@ }

2

package.json
{
"version": "1.0.0-rc.5",
"version": "1.0.0",
"name": "lightweight-charts",

@@ -4,0 +4,0 @@ "author": "TradingView, Inc.",

@@ -1,13 +0,23 @@

# Lightweight Charts
<!-- markdownlint-disable no-inline-html first-line-h1 -->
[![CircleCI](https://img.shields.io/circleci/build/github/tradingview/lightweight-charts.svg)](https://circleci.com/gh/tradingview/lightweight-charts)
[![npm version](https://badge.fury.io/js/lightweight-charts.svg)](https://www.npmjs.com/package/lightweight-charts)
[![npm bundle size](https://badgen.net/bundlephobia/minzip/lightweight-charts)](https://bundlephobia.com/result?p=lightweight-charts)
![Zero dependencies](https://badgen.net/badge/dependencies/0/green)
[![Downloads](https://img.shields.io/npm/dm/lightweight-charts.svg)](https://www.npmjs.com/package/lightweight-charts)
<div align="center">
<a href="https://www.tradingview.com/lightweight-charts/" target="_blank">
<img width="200" src="https://github.com/tradingview/lightweight-charts/raw/master/.github/logo.svg?sanitize=true">
</a>
[Demos](https://www.tradingview.com/lightweight-charts/) | [Documentation](./docs/README.md)
<h1>Lightweight Charts</h1>
TradingView Lightweight Charts is one of the smallest and fastest financial HTML5 charts.
[![CircleCI][ci-img]][ci-link]
[![npm version][npm-version-img]][npm-link]
[![npm bundle size][bundle-size-img]][bundle-size-link]
![Zero dependencies][zero-deps-img]
[![Downloads][npm-downloads-img]][npm-link]
</div>
<!-- markdownlint-enable no-inline-html -->
[Demos][demo-url] | [Documentation](./docs/README.md)
TradingView Lightweight Charts are one of the smallest and fastest financial HTML5 charts.
The Lightweight Charting Library is the best choice for you if you want to display financial data as an interactive chart on your web page without affecting your web page loading speed and performance.

@@ -85,1 +95,15 @@

As thanks for creating this product, we'd be grateful if you add it in a prominent place.
[demo-url]: https://www.tradingview.com/lightweight-charts/
[ci-img]: https://img.shields.io/circleci/build/github/tradingview/lightweight-charts.svg
[ci-link]: https://circleci.com/gh/tradingview/lightweight-charts
[npm-version-img]: https://badge.fury.io/js/lightweight-charts.svg
[npm-downloads-img]: https://img.shields.io/npm/dm/lightweight-charts.svg
[npm-link]: https://www.npmjs.com/package/lightweight-charts
[bundle-size-img]: https://badgen.net/bundlephobia/minzip/lightweight-charts
[bundle-size-link]: https://bundlephobia.com/result?p=lightweight-charts
[zero-deps-img]: https://badgen.net/badge/dependencies/0/green

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc