-
Notifications
You must be signed in to change notification settings - Fork 0
Customization Use Cases
Charting Library allows you to customize the appearance, the way it displays data, default properties and lots of other parameters.
There are client-side and server-side customizations. Some of them are made through the constructor, others are made using widget/chart methods.
We've gathered the most used customizations along with the links to their descriptions for your convenience.
Change the default symbol (instrument) and resolution (time interval).
Minimum supported resolution is 1 second.
Change time range of bars for the default resolution
Change time range of bars when the resolution is changed by the user. A sample is available here:
You can set the default timezone. It can be changed by the user in the menu.
You can add the chart as a web page element or use a fullscreen mode.
Customize the colors of the chart so that it matches your site design.
- Toolbar color - documentation
- Chart color - documentation
- Limit the amount of indicators per chart layout - documentation
- Limit the number of indicators that can be displayed and added - documentation
- Add your own indicators that are calculated on the server - documentation
- Change the default properties of indicators - documentation
- Change the default properties on the fly - documentation
- Limit the number of drawings that can be displayed and added - documentation
- Change the default properties of drawings - documentation
- Change the default properties on the fly - documentation
More than 20 translated versions of the Charting Library are available to you.
Note that you select the language when creating the chart. You'd have to recreate the chart if you wish to change the language.
- Change the decimal sign of numbers - documentation
- Set custom formatters for time and data - documentation
- Prices are formatted according to the symbol information - documentation
You can change any available properties in the properties dialog.
- Initially - documentation
- On the fly - documentation
TradingView allows you to save snapshots to its servers. You can change this if you wish.
Certain chart elements (toolbars, buttons, other controls) can be hidden if you don't need them.
- Most of the chart elements can be shown/hidden by using Featuresets
- You can add your own CSS - documentation
Timeframe is a time period of bars. It's a preferred resolution to display the period. The list can be customized.
You can select the intervals and chart styles that will be shown in the top toolbar by default. A user can change it if items_favoriting
is enabled in the Featuresets.
- The complete list of resolutions is provided in the configuration of the datafeed - documentation
- Resolutions are enabled or disabled in the list basing on the symbol information - documentation
- Initial list of favorite resolutions can be adjusted - documentation
Volume is added by default if the financial instrument supports it (documentation). This behavior can be disabled using documentation.
You can add new elements to the context menu or hide the existing items.
You can add your own buttons to the top toolbar.
You can select the default symbols for the watchlist and set them to read-only if needed.
You can attach to any RSS feed and even select the feed depending on the type of the financial instrument.
- What is Charting Library
- Getting Started
- Data Binding
- Chart Customization
- Customization Overview
- Client-Side Customization
- Server-Side Customization
- Customization Use Cases
- Trading Terminal
- Saving/Loading Charts
- Creating Custom Studies
- Breaking changes in versions