1.5.7 • Published 11 months ago

simple-react-native-financial-chart v1.5.7

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

React Native Candlestick Chart Library

A simple and customizable candlestick chart library for React Native, perfect for financial applications and data visualization.

Features

  • Candlestick charts with customizable styles.
  • Optional tooltips for each candlestick.
  • Touch interaction for viewing detailed data.
  • Scalable to different dataset sizes.
  • Easy to integrate and use in React Native projects.

Installation

To install the library, run the following command:

npm install simple-react-native-financial-chart
or
yarn add simple-react-native-financial-chart

Usage

Import SimpleCandlestickChart from the library and pass in the required data.

import React from 'react';
import { SimpleCandlestickChart } from 'simple-react-native-financial-chart';

const App = () => {
  const data = [
    { time: 1234567890, open: 100, high: 110, low: 90, close: 105, tooltip: { text: "Buy", backgroundColor: "green" } },
    // ... more data points
  ];

  return (
    <SimpleCandlestickChart data={data} style={{ flex: 1 }} />
  );
};

export default App;

Props

PropTypeDescription
dataarrayArray of candlestick data objects.
styleobjectStyle properties for the chart container.
backgroundColorstringBackground color of the chart.
candleColorobjectColors for up and down candlesticks.

Contributing

Contributions are welcome!

Note

Its just an overnight work, not recommended for production

1.5.7

11 months ago

1.5.6

11 months ago

1.5.5

11 months ago

1.5.4

11 months ago

1.5.3

11 months ago

1.5.2

11 months ago

1.5.1

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago