1.5.7 • Published 1 year ago

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

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.5.6

1 year ago

1.5.5

1 year ago

1.5.4

1 year ago

1.5.3

1 year ago

1.5.2

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago