New to Telerik UI for Blazor? Download Free 30-day trial

Chart - Candlestick Chart

  • Candlestick-chart.razor
  • StockService.cs
  • StockDto.cs
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

Telerik UI for Blazor Chart is a data visualization component which allows you to output graphical representation of your data. It is useful when you would like to utilize modern browser technologies such as SVG or Canvas for interactive data visualizations. The chart supports various numerical, categorical and axis-free types. The current demo focuses on the Candlestick Chart.

The Blazor Candlestick Chart is typically used to illustrate movements in the price of a financial instrument over time. It consists of a bar (the candle), representing the open and close values, and vertical lines, the candlesticks, which illustrate the highest and lowest values. The Candlestick Chart supports multiple series and exposes various configuration options.

The individual series are marked with different colors that can be customized through the ColorField property of the series. In some scenarios, the open value might be greater than the close one – the Candlestick Chart lets you distinguish these points by setting dedicated DownColor for them.

The Blazor Candlestick Chart also allows you control the distance between the bars of different series in the same category – use the Spacing property to set your desired distance value. Additionally, you can configure the distance between the different categories though the Gap property.

Besides series customization, the Blazor Chart exposes multiple nested tags that allow you configure the rest of the chart elements – Category Axis, Legend, Plot Area, Tooltip. Check the Chart API Reference for a full list of properties, methods and events.

The demo showcases a Blazor Candlestick Chart that visualizes the Boeing company pricing movements on daily basis. The Chart uses date category axis and the Y-axis represents the prices.

This Charts and Graphs Candlestick Chart example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.