Skip to main content
v1.2.0

Dashboard

When working with financial markets, traders often need to monitor multiple charts with technical indicators. Dashboard is a component for flexible positioning of multiple Charts efficiently in the same rendering view.

Dashboards are created with create_dashboard method. Upon its creation, amount of columns and rows must be specified.

Creating dashboard

trader = TAChart(license_key)

dashboard = trader.create_dashboard(rows=3, cols=4)

Adding Charts to the Grid

Charts can then be placed in dashboard cells with chart type, column and row indexes and spans. Each chart occupies a rectangular area defined by its starting position and span. The span determines how many rows or columns the chart extends across, allowing for charts of different sizes within the same dashboard.

Candlestick = dashboard.add_chart(chart_type='CandleStick', title='Candlestick', row_index=0, column_index=0, row_span=1, column_span=1)

Chart Types and Their Applications

The dashboard supports all major chart visualization types, please refer to Chart types

Addidng data

To load the same trading data from a CSV file into all charts in dashboard, you can use:

dashboard.load_csv_to_all_charts('data/trading_data.csv')

To see other possible ways please refer to Adding data in code

Example

Link to the examples