All Projects → capitalone → React Native Pathjs Charts

capitalone / React Native Pathjs Charts

Licence: apache-2.0
Android and iOS charts based on react-native-svg and paths-js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Pathjs Charts

SwiftCharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,405 (+174.23%)
Mutual labels:  charts, graphs
visa-chart-components
Visa Chart Components (VCC) is an accessibility focused, framework agnostic set of data experience design systems components for the web. VCC attempts to provide a toolset to enable developers to build equal data experiences for everyone, everywhere.
Stars: ✭ 81 (-90.76%)
Mutual labels:  charts, graphs
angular-fusioncharts
Angular Component for FusionCharts JavaScript Charting Library
Stars: ✭ 53 (-93.96%)
Mutual labels:  charts, graphs
hacktoberfest-data
Generating stats from the raw Hacktoberfest application data.
Stars: ✭ 21 (-97.61%)
Mutual labels:  charts, graphs
Fern.vim
🌿 General purpose asynchronous tree viewer written in Pure Vim script
Stars: ✭ 552 (-37.06%)
Mutual labels:  tree, cross-platform
Mermaid
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
Stars: ✭ 27 (-96.92%)
Mutual labels:  charts, graphs
graffeine
Simple, modular graphs for iOS.
Stars: ✭ 22 (-97.49%)
Mutual labels:  charts, graphs
Primereact
The Most Complete React UI Component Library
Stars: ✭ 2,393 (+172.86%)
Mutual labels:  tree, charts
React Jsx Highcharts
Highcharts built with proper React components
Stars: ✭ 336 (-61.69%)
Mutual labels:  charts, graphs
plain-free-bootstrap-admin-template
Free Bootstrap 5 Admin and Dashboard Template that comes with all essential dashboard components, elements, charts, graph and application pages. Download now for free and use with personal or commercial projects.
Stars: ✭ 141 (-83.92%)
Mutual labels:  charts, graphs
scalajs-highcharts
Scala.js static typed facades for Highcharts library
Stars: ✭ 30 (-96.58%)
Mutual labels:  charts, graphs
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+676.28%)
Mutual labels:  charts, graphs
echarty
Minimal R/Shiny Interface to ECharts.js
Stars: ✭ 49 (-94.41%)
Mutual labels:  charts, graphs
beapi-bench
Tool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing. Adding new features almost daily
Stars: ✭ 16 (-98.18%)
Mutual labels:  charts, graphs
Outwiker
Сross-platform software for keeping your notes in a tree
Stars: ✭ 198 (-77.42%)
Mutual labels:  tree, cross-platform
silky-charts
A silky smooth D3/React library
Stars: ✭ 38 (-95.67%)
Mutual labels:  charts, graphs
Swiftcharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,336 (+166.36%)
Mutual labels:  charts, graphs
Squid
A Ruby library to plot charts in PDF files
Stars: ✭ 205 (-76.62%)
Mutual labels:  charts, graphs
fusioncharts-dist
FusionCharts JavaScript Charting library. Over 95+ charts and 1,400+ maps to choose from, with integrations available for all popular JavaScript frameworks & back-end programming languages.
Stars: ✭ 65 (-92.59%)
Mutual labels:  charts, graphs
Archarts
Lovely Augmented Reality Charts for iOS - Built with ARKit
Stars: ✭ 679 (-22.58%)
Mutual labels:  charts, graphs

** Capital One built this project to help our engineers as well as users in the react native community. We have decided to focus on alternatives to react native, and, unfortunately, we are no longer able to fully support the project. We have archived the project oas of Mar 1 2018 where it will be available in a read-only state. Feel free to fork the project and maintain your own version. **

react-native-pathjs-charts

npm version

This library is a cross-platform (iOS/Android) library of charts/graphs using react-native-svg and paths-js based on the excellent work done by Roman Samec in the react-pathjs-chart library. The project is an early attempt at providing a ubiquitous solution for charts & graphs for React Native that offer a unified view across devices.

Components include Pie charts, Bar charts, Smoothline charts, Stockline charts, Scatterplots, Tree graphs and Radar graphs. Since Paths-Js makes no assumptions about rendering, this library is perfect for using SVG path objects to render custom charts easily.

This library is in its early stages, but I welcome contributors who would like to help make this the charting solution for React Native. Many of our mobile experiences need to create dashboards. Up to now, we've only been seeing libraries that are native bridges. Wouldn't it be great to have a cross platform solution that just worked?

Installation

To add the library to your React Native project:

npm install react-native-pathjs-charts --save
react-native link react-native-svg

For further information on usage, see the docs

Current Features

  • Pie, Bar, Smoothline, Stockline, Scatterplot, Tree and Radar graphs
  • Configuration of format, labels, colors, axis, ticks, lines
  • No touch support (yet)
  • No animations (yet)
  • Chart information configurable based on data parameters which specify which variables are accessors
  • Rendering works on iOS/Android
  • No native dependencies for linking (except linking required by react-native-svg)

Example Application

To run the example application (from a cloned repo):

cd example
npm install
react-native link react-native-svg
react-native run-ios
# or
react-native run-android

Developing and Testing With The Example App

As you are working on changing src files in this library and testing those changes against the example app, it is necessary to copy files to example/node_modules/react-native-pathjs-charts each time a change is made. To automate this, a sync-rnpc script has been added that will create a background process to watch for src file changes and automatically copy them. To enable this:

cd example
npm run sync-rnpc

Todo

For this library to really shine, there are a lot of improvements to be made. Here are some of my top ideas:

  • Add basic animations to draw the charts
  • Add touch functionality (as the react-native-svg library adds touch features)
  • Add the ability to absolutely position regular React-Native views in relation to SVG chart elements
  • More chart types
  • More axis controls (to control scale)
  • Add View component support to allow custom components instead of message when no data appears
  • Events
  • More documentation, information on configuration
  • Extended examples
  • Bug fixing, unit testing, cleanup
  • CICD pipeline with confirmed build success

Contributing

Contributors: We welcome your interest in Capital One’s Open Source Projects (the “Project”). Any Contributor to the project must accept and sign a CLA indicating agreement to the license terms. Except for the license granted in this CLA to Capital One and to recipients of software distributed by Capital One, you reserve all right, title, and interest in and to your contributions; this CLA does not impact your rights to use your own contributions for any other purpose.

Link to CLA

This project adheres to the Open Source Code of Conduct. By participating, you are expected to honor this code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].