gpui-component/docs/docs/components
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
..
accordion.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
alert.md docs: Improve docs add more details. (#1447) 2025-10-29 02:41:28 +00:00
avatar.md docs: Improve docs add more details. (#1447) 2025-10-29 02:41:28 +00:00
badge.md docs: Improve docs add more details. (#1447) 2025-10-29 02:41:28 +00:00
button.md button: Add dropdown_caret option to show a caret icon to end of button. (#1637) 2025-11-18 16:41:16 +08:00
calendar.md docs: Improve docs add more details. (#1447) 2025-10-29 02:41:28 +00:00
chart.md chart: Add candlestick chart (#1749) 2025-12-08 10:53:16 +08:00
checkbox.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
clipboard.md clipboard: Removed content method from Clipboard. (#1520) 2025-11-05 07:17:58 +00:00
collapsible.md collapsible: Add Collapsible. (#1525) 2025-11-06 10:57:18 +08:00
color-picker.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
date-picker.md input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
description-list.md description_list: Renamed child to item, and add child to add DescriptionItem. (#1521) 2025-11-05 07:26:17 +00:00
dialog.md Revert "root: Render overlays inside Root element by default. (#1570)" (#1584) 2025-11-13 13:37:05 +08:00
dropdown_button.md dropdown_button: Add more button option methods to DropdownButton. (#1633) 2025-11-18 14:31:14 +08:00
editor.md input: Add to support CodeEditor as single line mode. (#1696) 2025-11-28 19:51:40 +08:00
form.md form: Rename FormField to Field. (#1539) 2025-11-07 18:43:01 +08:00
group-box.md setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
icon.md icon: Rework icons to make use of the IconNamed trait (#1640) 2025-11-20 02:30:08 +00:00
image.md
index.md chart: Add candlestick chart (#1749) 2025-12-08 10:53:16 +08:00
input.md input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
kbd.md chore: Update List, Tree, Kbd exports. (#1467) 2025-10-30 07:19:39 +00:00
label.md
list.md dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716) 2025-12-01 17:57:18 +08:00
menu.md menu: Add check_side to PopupMenu to support display check at right side. (#1677) 2025-11-25 15:30:36 +08:00
notification.md docs: Fix typo in notifications doc. (#1747) 2025-12-05 07:25:09 +00:00
number-input.md
otp-input.md
plot.md plot: Add support for stacked chart (#1681) 2025-11-26 10:24:57 +00:00
popover.md popover: Fix click trigger to close popover. (#1559) 2025-11-11 21:14:56 +08:00
progress.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
radio.md
resizable.md resizable: Simplify Resizable API. (#1459) 2025-10-29 23:01:05 +08:00
scrollable.md scrollbar: Introduce overflow_scrollbar to adds Scrollbars to elements. (#1694) 2025-11-27 11:29:50 +00:00
select.md input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
settings.md setting: Add SettingFieldElement trait. (#1657) 2025-11-21 10:48:29 +00:00
sheet.md Revert "root: Render overlays inside Root element by default. (#1570)" (#1584) 2025-11-13 13:37:05 +08:00
sidebar.md sidebar: Improve Sidebar to allows caret icon to expand submenu. (#1642) 2025-11-19 05:39:24 +00:00
skeleton.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
slider.md slider: Add option to choose between linear and logarithmic scale (#1543) 2025-11-10 02:56:09 +00:00
spinner.md spinner: Rename Indicator to Spinner. (#1526) 2025-11-06 11:36:39 +08:00
switch.md chore: Standardize the overall API and improve docs. (#1516) 2025-11-05 19:10:30 +08:00
table.md dock: Refactor Panel trait to has &mut self and &mut Context<Self>. (#1716) 2025-12-01 17:57:18 +08:00
tabs.md tab: Refactor creation to use builder pattern (#1553) 2025-11-11 10:35:00 +08:00
tag.md
title-bar.md
toggle.md toggle: Refactor Toggle, ToggleGroup API. (#1515) 2025-11-05 10:47:55 +08:00
tooltip.md
tree.md docs: Fix minor docs issues (#1656) 2025-11-21 17:34:30 +08:00
virtual-list.md chore: Update List, Tree, Kbd exports. (#1467) 2025-10-30 07:19:39 +00:00
webview.md docs: Improve docs to use variable version from toml. (#1603) 2025-11-14 16:10:48 +08:00