# Candle Price Chart

https://fieldbook.lizardi.mx/components/candle-price-chart

Category: Charts
![Still of the Candle Price Chart component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/candle-price-chart.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/candle-price-chart-b34053febd.mp4 (5 s, silent)

Candle Price Chart: An OHLC candlestick chart with up and down colored candles, a wick per period, and a hover tooltip showing open, high, low and close.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| upColor | color | #9BE15D | No additional limit in the metadata. |
| downColor | color | #FF4D8D | No additional limit in the metadata. |
| periodCount | number | 20 | From 8 to 40; step 1 |
| showGrid | boolean | true | No additional limit in the metadata. |

## Usage notes

Candle Price Chart uses the wide preview frame with a dark theme setting.

### Which frameworks are available for Candle Price Chart?

Candle Price Chart is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Candle Price Chart depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Candle Price Chart?

The React source for Candle Price Chart includes: attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowLeft, ArrowRight, End, Escape, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Candle Price Chart handle reduced motion?

Candle Price Chart reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: delay: reduce ? 0 : Math.min(i \* 14, 300) / 1000; duration: reduce ? 0 : 0.46; height: reduce ? c.bodyHeight : 0. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "candle-price-chart",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Area chart lite](https://fieldbook.lizardi.mx/components/area-chart-lite)
- [Donut share chart](https://fieldbook.lizardi.mx/components/donut-share-chart)
- [Engraved label pie](https://fieldbook.lizardi.mx/components/engraved-label-pie)
- [Forecast tail line](https://fieldbook.lizardi.mx/components/forecast-tail-line)
- [Gradient Area Chart](https://fieldbook.lizardi.mx/components/gradient-fill-area-chart)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
