Skip to content
프로젝트

chart-kit/react-native-chart-kit

GitHub에서 보기

소개

React Native를 위한 아름다운 차트입니다. 대시보드, 보고서, 데이터가 풍부한 모바일 앱에 사용할 수 있는 선형, 영역, 막대, 원형, 도넛, 진행률 차트와 기여도 히트맵을 제공합니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
-2

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
React Native Chart Kit

React Native Chart Kit

Beautiful charts for React Native. Line, area, bar, pie, donut, progress, and contribution heatmaps for dashboards, reports, and data-rich mobile apps.

npm downloads license

Website · Docs · Quickstart · Examples · Pro

Install

npm install react-native-chart-kit react-native-svg

Expo:

npm install react-native-chart-kit
npx expo install react-native-svg

First Chart

import { LineChart } from "react-native-chart-kit/v2";

const data = [
  { month: "Jan", revenue: 52 },
  { month: "Feb", revenue: 86 },
  { month: "Mar", revenue: 58 },
  { month: "Apr", revenue: 134 }
];

export function RevenueChart() {
  return (
    <LineChart
      data={data}
      xKey="month"
      yKey="revenue"
      width={410}
      height={240}
    />
  );
}

The root import stays available for legacy screens. New screens should use react-native-chart-kit/v2.

What You Get

Pro Charts

Chart Kit Pro adds licensed chart workflows for product dashboards:

Links

Documentation CLI and agent access

Read the public documentation from a terminal:

npx --package=react-native-chart-kit chart-kit docs /docs/react-native/charts/line

Use chart-kit docs to list pages or add --json for structured output. The CLI ships from version 7.0.4. No API key is required. Charts render locally in your application; the HTTP API serves documentation.

See the developer guide, agent instructions, and OpenAPI specification.

관련 프로젝트 살펴보기

불러오는 중…