[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112534":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},112534,"funnest-charts","funnest-xyz\u002Ffunnest-charts","funnest-xyz","Open-source financial charts for investment apps: a TradingView-style trading chart, SVG chart components, CLI and MCP.","https:\u002F\u002Fcharts.funnest.xyz",null,"TypeScript",98,13,63,0,1,4,29,50.34,"Apache License 2.0",false,"main",true,[25,26,27,28,29,30],"candlestick","chart","financial-charts","mcp","trading","tradingview","2026-11-23 13:00:38","2026-11-23 13:10:17","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"brand\u002Flogo-mark.svg\" width=\"72\" height=\"72\" alt=\"Funnest\">\n\n# Funnest Charts\n\nOpen-source financial charts for investment apps.\\\nA pro-grade trading chart and lightweight dashboard charts, with your data and your design.\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@funnest\u002Fcharts-react?color=6C4DFF&label=npm)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@funnest\u002Fcharts-react)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache--2.0-6C4DFF)](LICENSE)\n\n[Website](https:\u002F\u002Fcharts.funnest.xyz) · [Docs](https:\u002F\u002Fcharts.funnest.xyz\u002Fdocs\u002F) · **English** | [한국어](README.ko.md)\n\n\u003C\u002Fdiv>\n\n![Trading chart: crosshair, intervals, light\u002Fdark and candle colors](docs\u002Fmedia\u002Ftrading-chart.gif)\n\n## Why\n\n- Runs in your page, not an iframe.\\\n  Background, fonts and up\u002Fdown colors follow your design tokens.\n- Positions, open orders and fills on the chart, with drag-to-modify orders.\n- Mouse and touch: pinch zoom, long-press crosshair, inertial scrolling.\n- Speaks your user's language: English, or Korean for a Korean browser, with matching up\u002Fdown colors.\\\n  Korean market defaults when it's Korean: KST, KRX sessions and tick sizes, red-up \u002F blue-down.\n- No exchange code inside.\\\n  Connect any exchange or broker through one `Datafeed` interface.\n\n## Quick start\n\n```bash\nnpm i @funnest\u002Fcharts-react\n```\n\n```tsx\nimport { FnChart } from '@funnest\u002Fcharts-react';\n\n\u003Cdiv style={{ height: 600 }}>\n  \u003CFnChart datafeed={myDatafeed} symbol=\"005930\" resolution=\"1D\" \u002F>\n\u003C\u002Fdiv>\n```\n\nOne package is enough for React.\\\nIt brings in the engine, the trading UI and the chart math automatically.\n\n## Dashboard charts\n\n![Chart components following the pointer](docs\u002Fmedia\u002Fcomponents.gif)\n\nFor return cards, watchlists and portfolios that don't need a full trading screen.\\\nThey are SVG and safe for server rendering.\n\n```tsx\nimport { LineChart, ReferenceLine, Point } from '@funnest\u002Fcharts-react';\n\n\u003CLineChart series={[{ id: 'price', data: prices }]} area=\"gradient\" scrubber={{ showValues: true }}>\n  \u003CReferenceLine dataY={avgPrice} label=\"Avg. price\" \u002F>\n  \u003CPoint seriesId=\"price\" dataX={prices.length - 1} pulse \u002F>\n\u003C\u002FLineChart>\n```\n\n| Component | Use |\n|---|---|\n| `LineChart` · `AreaChart` · `BarChart` | Price history, composition (`stacked`), P&L and volume, horizontal rankings (`layout=\"horizontal\"`) |\n| `CandlestickChart` | A small candlestick chart with volume for cards and dashboards |\n| `DonutChart` | Portfolio shares as a ring (or a pie), total in the middle |\n| `TreemapChart` | Market maps: tiles sized by market cap, colored by change |\n| `PercentageBarChart` | Portfolio weights, buy\u002Fsell pressure, several rows or vertical columns |\n| `CartesianChart` | Compose your own from `Line`, `Area`, `BarPlot`, axes and annotations; several y axes (`yAxisId`) and `[low, high]` ranges for bands and floating bars |\n| `XAxis` · `YAxis` · `Scrubber` · `PeriodSelector` | Axes, pointer tracking with value tooltips, period tabs |\n| `ReferenceLine` · `Point` · `Legend` | Average\u002Ftarget price lines, trade markers, legends |\n\n## Packages\n\n| Package | What it is |\n|---|---|\n| [`@funnest\u002Fcharts-react`](packages\u002Freact) | React: the `\u003CFnChart \u002F>` trading chart and the SVG chart components |\n| [`@funnest\u002Fcharts-ui`](packages\u002Fui) | Trading chart widget for any framework (`createTradingChart`) |\n| [`@funnest\u002Fcharts`](packages\u002Fcore) | Canvas engine, indicators and realtime helpers |\n| [`@funnest\u002Fcharts-viz`](packages\u002Fviz) | Platform-neutral chart math shared by web and React Native |\n| [`@funnest\u002Fcharts-cli`](packages\u002Fcli) | `funnest-charts` command: validate specs, render SVG\u002FPNG\u002FHTML, generate React code |\n| [`@funnest\u002Fcharts-mcp`](packages\u002Fmcp) | MCP server for AI tools such as Claude Code and Cursor |\n\n## AI · CLI · MCP\n\n```bash\nnpx @funnest\u002Fcharts-cli render spec.json --out chart.png      # spec → PNG \u002F SVG \u002F HTML \u002F React code\nclaude mcp add funnest-charts -- npx -y @funnest\u002Fcharts-mcp   # add the MCP server to Claude Code\n```\n\nThe agent skill is in [`skills\u002Ffunnest-charts`](skills\u002Ffunnest-charts\u002FSKILL.md).\\\nA summary for LLMs is at [`\u002Fllms.txt`](https:\u002F\u002Fcharts.funnest.xyz\u002Fllms.txt).\n\n## Theme\n\nThe trading chart follows the OS light\u002Fdark setting by default and switches live (`colorScheme: 'system'`).\\\nPin it with `'light'` or `'dark'`, or override colors with `theme`.\\\nThe SVG components follow the page's `color-scheme` and the `--fnv-*` CSS variables.\n\n## Language\n\nWith no `locale`, the widget uses Korean for a browser set to Korean and English for everyone else.\nUp\u002Fdown colors follow it: red up · blue down for Korean, green up · red down otherwise (`direction: 'kr' | 'global'` to choose).\nReplace any word with `strings`, or translate all of them for your language (start from `STRINGS.en`):\n\n```tsx\nimport { STRINGS } from '@funnest\u002Fcharts-ui';\n\n\u003CFnChart datafeed={myDatafeed} symbol=\"AAPL\" locale=\"en\" strings={{ addIndicator: 'Add study' }} \u002F>\n```\n\n## Logo badge\n\nThe trading chart shows a small Funnest logo in its bottom-left corner.\\\nTurn it off with `attribution: false`.\\\nIf you use Funnest Charts for free, keeping it on is the best way to support the project.\n\n## Development\n\n```bash\npnpm install\npnpm dev          # playground (http:\u002F\u002Flocalhost:5173)\npnpm site         # website and docs (http:\u002F\u002Flocalhost:3100)\npnpm test         # unit tests\npnpm test:site    # build the website and run browser checks\npnpm typecheck\npnpm build\n```\n\nReleases are published from GitHub Actions with npm Trusted Publishing.\\\nBump the versions in `packages\u002F*\u002Fpackage.json`, commit, then push a tag such as `git tag v0.1.1 && git push origin v0.1.1`.\n\n## License\n\nCode is [Apache-2.0](LICENSE).\\\nThe Funnest name and logos are trademarks and are not covered by the license ([NOTICE](NOTICE)).\n","Funnest Charts 是一个开源金融图表库，专为投资类应用提供 TradingView 风格的交易图表与轻量级仪表盘图表组件。核心功能包括支持 KRX\u002F美股等多市场行情（含韩语本地化、KST 时区、红涨蓝跌）、拖拽订单交互、多点触控操作（缩放\u002F惯性滚动）、无 iframe 嵌入式集成，以及基于 SVG 的服务端渲染安全组件（如线图、K线图、环形图、树状图等）。采用单一 React 包设计，通过统一 Datafeed 接口对接任意交易所或行情源，适用于证券\u002F加密货币交易终端、财富管理仪表盘及投研分析工具。",2,"2026-11-24 04:43:46","CREATED_QUERY"]