The Candlestick Chart Component - Demo is a practical demonstration of how to use the Candlestick Chart Component in OutSystems applications. This documentation outlines how to integrate, configure, and use the component effectively in your applications.
Drag-and-Drop Integration: Learn how to drag and drop the "CandleChart" web block into your screen.
Dataset Binding: Pass a sample dataset containing keys such as Date, Open, High, Low, Close, and more to the web block.
Date
Open
High
Low
Close
Interactive Chart Features: Explore zoom, pan, and hover functionalities for detailed insights.
Customizable Appearance: Adjust the chart's bullish (UpColor) and bearish (DownColor) candle colors.
UpColor
DownColor
Annotations: Use the Note field to add annotations or additional data insights.
Note
Open your OutSystems application.
Navigate to the screen where you want to display the candlestick chart.
Drag and drop the "CandleChart" web block from the components panel onto your screen.
Create a dataset with the following keys:
Date: (DateTime) The date corresponding to the candlestick.
Open: (Decimal) The opening price.
High: (Decimal) The highest price.
Low: (Decimal) The lowest price.
Close: (Decimal) The closing price.
Volume: (Integer) The trading volume (optional).
Volume
UpColor: (Text) The color for bullish candles (e.g., green).
DownColor: (Text) The color for bearish candles (e.g., red).
PercentageChange: (Decimal) The percentage change in price (optional).
PercentageChange
Note: (Text) Additional annotations or notes (optional).
Pass this dataset to the "CandleChart" web block as an input parameter.
Configure the UpColor and DownColor inputs to change the appearance of bullish and bearish candles.
Add optional fields like Note or PercentageChange for enhanced chart functionality.
Publish your application.
Open the screen where the chart is added.
The candlestick chart will render dynamically based on the input dataset.
[ { "Date": "2025-01-01T09:00:00", "Open": 100.5, "High": 105.2, "Low": 99.8, "Close": 103.7, "Volume": 1500, "UpColor": "#00FF00", "DownColor": "#FF0000", "PercentageChange": 2.5, "Note": "Opening of the year" }, { "Date": "2025-01-02T09:00:00", "Open": 103.7, "High": 108.4, "Low": 102.5, "Close": 107.1, "Volume": 2000, "UpColor": "#00FF00", "DownColor": "#FF0000", "PercentageChange": 3.2, "Note": "Second day of trading" } ]
Stock Market Applications: Display candlestick charts to visualize stock price movements.
Cryptocurrency Dashboards: Track real-time cryptocurrency prices and trends.
Financial Reports: Add interactive charts to financial dashboards.
Custom Applications: Use in any application requiring time-series data visualization.
Simplified integration with a drag-and-drop approach.
Fully customizable and interactive charts.
Minimal configuration required to display complex financial data.
Chart Not Rendering: Ensure the dataset is correctly formatted and passed to the web block.
Incorrect Colors: Verify the UpColor and DownColor inputs.
Missing Data Points: Check that all required keys (Date, Open, High, Low, Close) are included in the dataset.
The Candlestick Chart Component - Demo provides a quick and intuitive way to integrate and use candlestick charts in OutSystems applications. By following the steps and using the example dataset, developers can seamlessly create professional-grade financial visualizations with minimal effort.