Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
}
356 changes: 178 additions & 178 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The MIT License (MIT)
https://github.com/reactivemarkets/react-financial-charts
https://github.com/reactivemarkets/react-19-financial-charts

Copyright (c) 2015-2018 Ragu Ramaswamy
Copyright (c) 2016 Julien Renaux
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> **Note:** v1 is a fully breaking change with large parts, if not all, rewritten. Do not expect the same API! although the same features should exist.

![ci](https://github.com/react-financial/react-financial-charts/workflows/ci/badge.svg)
[![codecov](https://codecov.io/gh/reactivemarkets/react-financial-charts/branch/master/graph/badge.svg)](https://codecov.io/gh/reactivemarkets/react-financial-charts)
[![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/react-financial/react-financial-charts/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/react-financial-charts.svg?style=flat)](https://www.npmjs.com/package/react-financial-charts)
![ci](https://github.com/react-financial/react-19-financial-charts/workflows/ci/badge.svg)
[![codecov](https://codecov.io/gh/reactivemarkets/react-19-financial-charts/branch/master/graph/badge.svg)](https://codecov.io/gh/reactivemarkets/react-19-financial-charts)
[![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/react-financial/react-19-financial-charts/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/react-19-financial-charts.svg?style=flat)](https://www.npmjs.com/package/react-19-financial-charts)

Charts dedicated to finance.

Expand Down Expand Up @@ -56,12 +56,12 @@ The aim with this project is create financial charts that work out of the box.
## Installation

```sh
npm install react-financial-charts
npm install react-19-financial-charts
```

## Documentation

[Stories](https://react-financial.github.io/react-financial-charts/)
[Stories](https://react-financial.github.io/react-19-financial-charts/)

## Contributing

Expand All @@ -72,8 +72,8 @@ This project is a mono-repo that uses [Lerna](https://lerna.js.org/) to manage d
To get started run:

```bash
git clone https://github.com/react-financial/react-financial-charts.git
cd react-financial-charts
git clone https://github.com/react-financial/react-19-financial-charts.git
cd react-19-financial-charts
npm ci
npm run build
```
Expand Down Expand Up @@ -105,4 +105,4 @@ npm start

## LICENSE

[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B13613%2Fgit%40github.com%3Areactivemarkets%2Freact-financial-charts.git.svg?type=large)](https://app.fossa.com/projects/custom%2B13613%2Fgit%40github.com%3Areactivemarkets%2Freact-financial-charts.git?ref=badge_large)
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B13613%2Fgit%40github.com%3Areactivemarkets%2Freact-19-financial-charts.git.svg?type=large)](https://app.fossa.com/projects/custom%2B13613%2Fgit%40github.com%3Areactivemarkets%2Freact-19-financial-charts.git?ref=badge_large)
101,571 changes: 51,012 additions & 50,559 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "lerna run build",
"build:annotations": "lerna run build --scope='*/annotations'",
"build:axes": "lerna run build --scope='*/axes'",
"build:charts": "lerna run build --scope='react-financial-charts'",
"build:charts": "lerna run build --scope='react-19-financial-charts'",
"build:coordinates": "lerna run build --scope='*/coordinates'",
"build:core": "lerna run build --scope='*/core'",
"build:indicators": "lerna run build --scope='*/indicators'",
Expand Down Expand Up @@ -78,17 +78,17 @@
"typescript": "^4.9.5"
},
"dependencies": {
"@react-financial-charts/annotations": "file:packages/annotations",
"@react-financial-charts/axes": "file:packages/axes",
"@react-financial-charts/coordinates": "file:packages/coordinates",
"@react-financial-charts/core": "file:packages/core",
"@react-financial-charts/indicators": "file:packages/indicators",
"@react-financial-charts/interactive": "file:packages/interactive",
"@react-financial-charts/scales": "file:packages/scales",
"@react-financial-charts/series": "file:packages/series",
"@react-financial-charts/stories": "file:packages/stories",
"@react-financial-charts/tooltip": "file:packages/tooltip",
"@react-financial-charts/utils": "file:packages/utils",
"react-financial-charts": "file:packages/charts"
"@react-19-financial-charts/annotations": "file:packages/annotations",
"@react-19-financial-charts/axes": "file:packages/axes",
"@react-19-financial-charts/coordinates": "file:packages/coordinates",
"@react-19-financial-charts/core": "file:packages/core",
"@react-19-financial-charts/indicators": "file:packages/indicators",
"@react-19-financial-charts/interactive": "file:packages/interactive",
"@react-19-financial-charts/scales": "file:packages/scales",
"@react-19-financial-charts/series": "file:packages/series",
"@react-19-financial-charts/stories": "file:packages/stories",
"@react-19-financial-charts/tooltip": "file:packages/tooltip",
"@react-19-financial-charts/utils": "file:packages/utils",
"react-19-financial-charts": "file:packages/charts"
}
}
80 changes: 40 additions & 40 deletions packages/annotations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,110 +3,110 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/reactivemarkets/react-financial-charts/compare/v1.3.2...v2.0.0) (2023-05-12)
# [2.0.0](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.3.2...v2.0.0) (2023-05-12)

### Bug Fixes

- **core:** fixing chart flickering ([9fe8cc7](https://github.com/reactivemarkets/react-financial-charts/commit/9fe8cc7ec212949db46f14664e6ebe1272aa752d))
- **core:** fixing chart flickering ([9fe8cc7](https://github.com/reactivemarkets/react-19-financial-charts/commit/9fe8cc7ec212949db46f14664e6ebe1272aa752d))

- feat!: removing type module from package config ([c6be298](https://github.com/reactivemarkets/react-financial-charts/commit/c6be298ef6e556a30644fdcad4faaf3b77a25599))
- feat!: removing type module from package config ([c6be298](https://github.com/reactivemarkets/react-19-financial-charts/commit/c6be298ef6e556a30644fdcad4faaf3b77a25599))

### Features

- Eliminated unsafe lifecycle methods, rewrote GenericComponent and GenericChartComponent ([7841001](https://github.com/reactivemarkets/react-financial-charts/commit/7841001b3c88df621361f638411f359af9cbab92))
- Migrated to new React context API ([bec345b](https://github.com/reactivemarkets/react-financial-charts/commit/bec345b62153ecdf5c01380a8e29ad7398daaafd))
- Eliminated unsafe lifecycle methods, rewrote GenericComponent and GenericChartComponent ([7841001](https://github.com/reactivemarkets/react-19-financial-charts/commit/7841001b3c88df621361f638411f359af9cbab92))
- Migrated to new React context API ([bec345b](https://github.com/reactivemarkets/react-19-financial-charts/commit/bec345b62153ecdf5c01380a8e29ad7398daaafd))

### BREAKING CHANGES

- no need for extensions in imports now

## [1.3.1](https://github.com/reactivemarkets/react-financial-charts/compare/v1.3.0...v1.3.1) (2021-06-16)
## [1.3.1](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.3.0...v1.3.1) (2021-06-16)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.3.0](https://github.com/reactivemarkets/react-financial-charts/compare/v1.2.2...v1.3.0) (2021-05-23)
# [1.3.0](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.2.2...v1.3.0) (2021-05-23)

### Bug Fixes

- adding module to type property in package.json ([1359ac6](https://github.com/reactivemarkets/react-financial-charts/commit/1359ac6e93d9638792c7bb478bba5fe1e5484a82)), closes [#520](https://github.com/reactivemarkets/react-financial-charts/issues/520)
- adding module to type property in package.json ([1359ac6](https://github.com/reactivemarkets/react-19-financial-charts/commit/1359ac6e93d9638792c7bb478bba5fe1e5484a82)), closes [#520](https://github.com/reactivemarkets/react-19-financial-charts/issues/520)

## [1.2.1](https://github.com/reactivemarkets/react-financial-charts/compare/v1.2.0...v1.2.1) (2021-04-27)
## [1.2.1](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.2.0...v1.2.1) (2021-04-27)

### Bug Fixes

- **annotations:** fixing svg path annotation ([05cd1ec](https://github.com/reactivemarkets/react-financial-charts/commit/05cd1ec00153add3d62ce3ce31bac1ddb78cb427)), closes [#496](https://github.com/reactivemarkets/react-financial-charts/issues/496)
- **annotations:** fixing svg path annotation ([05cd1ec](https://github.com/reactivemarkets/react-19-financial-charts/commit/05cd1ec00153add3d62ce3ce31bac1ddb78cb427)), closes [#496](https://github.com/reactivemarkets/react-19-financial-charts/issues/496)

# [1.1.0](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.1...v1.1.0) (2021-02-26)
# [1.1.0](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.1...v1.1.0) (2021-02-26)

### Features

- adding react 17 as peer dependency ([569209b](https://github.com/reactivemarkets/react-financial-charts/commit/569209b6eb00f3c93eae1b5a9e4f014c055c93c7)), closes [#468](https://github.com/reactivemarkets/react-financial-charts/issues/468)
- adding react 17 as peer dependency ([569209b](https://github.com/reactivemarkets/react-19-financial-charts/commit/569209b6eb00f3c93eae1b5a9e4f014c055c93c7)), closes [#468](https://github.com/reactivemarkets/react-19-financial-charts/issues/468)

## [1.0.1](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0...v1.0.1) (2021-01-01)
## [1.0.1](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0...v1.0.1) (2021-01-01)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.16...v1.0.0) (2020-12-30)
# [1.0.0](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.16...v1.0.0) (2020-12-30)

### Features

- **deps:** moving to d3 v6 ([8d371d2](https://github.com/reactivemarkets/react-financial-charts/commit/8d371d240bc7ac3db3e2f0037b3c0807e05b4749))
- **deps:** moving to d3 v6 ([8d371d2](https://github.com/reactivemarkets/react-19-financial-charts/commit/8d371d240bc7ac3db3e2f0037b3c0807e05b4749))

# [1.0.0-alpha.16](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2020-09-04)
# [1.0.0-alpha.16](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2020-09-04)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.15](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2020-09-03)
# [1.0.0-alpha.15](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2020-09-03)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.14](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2020-09-02)
# [1.0.0-alpha.14](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2020-09-02)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.13](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2020-09-01)
# [1.0.0-alpha.13](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2020-09-01)

### Bug Fixes

- removing canvas gradients ([2205163](https://github.com/reactivemarkets/react-financial-charts/commit/220516356300c6c1c8528de3ca43e7ddaf8e5e66))
- removing canvas gradients ([2205163](https://github.com/reactivemarkets/react-19-financial-charts/commit/220516356300c6c1c8528de3ca43e7ddaf8e5e66))

# [1.0.0-alpha.10](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2020-08-28)
# [1.0.0-alpha.10](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2020-08-28)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.9](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2020-08-24)
# [1.0.0-alpha.9](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2020-08-24)

### Features

- adding more prop types across all components ([efefd4d](https://github.com/reactivemarkets/react-financial-charts/commit/efefd4dc3000ffe5ad5e63380ab324ab1e232a67))
- adding more prop types across all components ([efefd4d](https://github.com/reactivemarkets/react-19-financial-charts/commit/efefd4dc3000ffe5ad5e63380ab324ab1e232a67))

# [1.0.0-alpha.8](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2020-08-17)
# [1.0.0-alpha.8](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2020-08-17)

### Bug Fixes

- correcting prop types and docs ([198f0a5](https://github.com/reactivemarkets/react-financial-charts/commit/198f0a54dae54075383c25dca67ff48d5e5a1b2a))
- correcting prop types and docs ([198f0a5](https://github.com/reactivemarkets/react-19-financial-charts/commit/198f0a54dae54075383c25dca67ff48d5e5a1b2a))

### Features

- exporting props from components for docs ([fbdaea5](https://github.com/reactivemarkets/react-financial-charts/commit/fbdaea506730b091f4f8f6da52fc030b44d1a6e1))
- exporting props from components for docs ([fbdaea5](https://github.com/reactivemarkets/react-19-financial-charts/commit/fbdaea506730b091f4f8f6da52fc030b44d1a6e1))

# [1.0.0-alpha.7](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2020-07-26)
# [1.0.0-alpha.7](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2020-07-26)

### Bug Fixes

- updating prop types ([425b0b4](https://github.com/reactivemarkets/react-financial-charts/commit/425b0b459de229770e7608aff4f397b9bb00de5e))
- updating prop types ([425b0b4](https://github.com/reactivemarkets/react-19-financial-charts/commit/425b0b459de229770e7608aff4f397b9bb00de5e))

# [1.0.0-alpha.2](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2020-07-15)
# [1.0.0-alpha.2](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2020-07-15)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.1](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2020-07-10)
# [1.0.0-alpha.1](https://github.com/reactivemarkets/react-19-financial-charts/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2020-07-10)

**Note:** Version bump only for package @react-financial-charts/annotations
**Note:** Version bump only for package @react-19-financial-charts/annotations

# [1.0.0-alpha.0](https://github.com/reactivemarkets/react-financial-charts/compare/v0.5.1...v1.0.0-alpha.0) (2020-07-08)
# [1.0.0-alpha.0](https://github.com/reactivemarkets/react-19-financial-charts/compare/v0.5.1...v1.0.0-alpha.0) (2020-07-08)

- feat!: separating code into packages ([670537f](https://github.com/reactivemarkets/react-financial-charts/commit/670537fa280dddfbe921639a8e22a7c11d14e5f3))
- feat!: separating code into packages ([670537f](https://github.com/reactivemarkets/react-19-financial-charts/commit/670537fa280dddfbe921639a8e22a7c11d14e5f3))

### BREAKING CHANGES

Expand Down
2 changes: 1 addition & 1 deletion packages/annotations/LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The MIT License (MIT)
https://github.com/reactivemarkets/react-financial-charts
https://github.com/reactivemarkets/react-19-financial-charts

Copyright (c) 2015-2018 Ragu Ramaswamy
Copyright (c) 2016 Julien Renaux
Expand Down
2 changes: 1 addition & 1 deletion packages/annotations/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Annotations

```bash
npm i @react-financial-charts/annotations
npm i @react-19-financial-charts/annotations
```
14 changes: 7 additions & 7 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@react-financial-charts/annotations",
"name": "@react-19-financial-charts/annotations",
"version": "2.0.0",
"description": "Annotations for react-financial-charts",
"description": "Annotations for react-19-financial-charts",
"publishConfig": {
"access": "public"
},
Expand All @@ -26,10 +26,10 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/reactivemarkets/react-financial-charts.git"
"url": "https://github.com/reactivemarkets/react-19-financial-charts.git"
},
"bugs": {
"url": "https://github.com/reactivemarkets/react-financial-charts/issues"
"url": "https://github.com/reactivemarkets/react-19-financial-charts/issues"
},
"scripts": {
"build": "npm run clean && npm run compile",
Expand All @@ -38,11 +38,11 @@
"watch": "tsc -p tsconfig.json --watch --preserveWatchOutput"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@react-financial-charts/core": "file:../core",
"@react-19-financial-charts/core": "file:../core",
"@types/d3-scale": "^3.2.2"
}
}
4 changes: 2 additions & 2 deletions packages/annotations/src/Annotate.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { GenericChartComponent } from "@react-financial-charts/core";
import { GenericChartComponent } from "@react-19-financial-charts/core";

export interface AnnotateProps {
readonly className?: string;
Expand All @@ -11,7 +11,7 @@ export interface AnnotateProps {
export class Annotate extends React.Component<AnnotateProps> {
public static defaultProps = {
className:
"react-financial-charts-enable-interaction react-financial-charts-annotate react-financial-charts-default-cursor",
"react-19-financial-charts-enable-interaction react-19-financial-charts-annotate react-19-financial-charts-default-cursor",
};

public render() {
Expand Down
4 changes: 2 additions & 2 deletions packages/annotations/src/BarAnnotation.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { functor } from "@react-financial-charts/core";
import { functor } from "@react-19-financial-charts/core";
import { ScaleContinuousNumeric } from "d3-scale";
import * as React from "react";

Expand Down Expand Up @@ -67,7 +67,7 @@ export interface BarAnnotationProps {

export class BarAnnotation extends React.Component<BarAnnotationProps> {
public static defaultProps = {
className: "react-financial-charts-bar-annotation",
className: "react-19-financial-charts-bar-annotation",
opacity: 1,
fill: "#000000",
fontFamily: "-apple-system, system-ui, Roboto, 'Helvetica Neue', Ubuntu, sans-serif",
Expand Down
2 changes: 1 addition & 1 deletion packages/annotations/src/Label.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GenericComponent, functor, ChartCanvasContext } from "@react-financial-charts/core";
import { GenericComponent, functor, ChartCanvasContext } from "@react-19-financial-charts/core";
import { ScaleContinuousNumeric } from "d3-scale";
import * as React from "react";

Expand Down
Loading