gpui-component/docs
amiyzku 9b3b2802cc chart: Add candlestick chart (#1749)
## Description

Add `CandlestickChart` component for visualizing financial OHLC data
with candlestick patterns.

- Introduced a new CandlestickChart for displaying OHLC (Open, High,
Low, Close) values.
- Updated ChartStory to include stock price data and render multiple
candlestick chart variations.
- Enhanced theme with bullish and bearish colors for candlestick
representation.
- Updated documentation to include CandlestickChart examples and usage.

This addition enhances the charting library by providing a crucial tool
for visualizing stock market trends.

## Screenshot

<img width="1335" height="423" alt="image"
src="https://github.com/user-attachments/assets/5df7078e-a469-4262-b645-6434d08b7ccf"
/>

## How to Test

```bash
cargo run -p gpui-component-story
```

## Checklist

- [x] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [x] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [x] Passed `cargo run` for story tests related to the changes.
- [ ] Tested macOS, Windows and Linux platforms performance (if the
change is platform-specific)
2025-12-08 10:53:16 +08:00
..
.vitepress docs: Fix footer display. (#1727) 2025-12-02 19:24:14 +08:00
data docs: Improve docs add more details. (#1447) 2025-10-29 02:41:28 +00:00
docs chart: Add candlestick chart (#1749) 2025-12-08 10:53:16 +08:00
public docs: Add icons for page background to website. (#1701) 2025-11-28 07:14:43 +00:00
src docs: Switch to use VitePress. (#1405) 2025-10-21 15:18:41 +08:00
.gitignore docs: Add Context & ElementId doc. (#1460) 2025-10-29 23:37:26 +08:00
bun.lock docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00
contributors.md docs: Add icons for page background to website. (#1701) 2025-11-28 07:14:43 +00:00
contributors.vue docs: Add icons for page background to website. (#1701) 2025-11-28 07:14:43 +00:00
index.md docs: Remove index page warrning. 2025-11-17 10:22:01 +08:00
index.vue docs: Add icons for page background to website. (#1701) 2025-11-28 07:14:43 +00:00
package.json docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00
postcss.config.mjs docs: Switch to use VitePress. (#1405) 2025-10-21 15:18:41 +08:00
README.md docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00

gpui-component-docs

To install dependencies:

bun install

To run:

bun run dev

This project was created using bun init in bun v1.2.23. Bun is a fast all-in-one JavaScript runtime.