Skip to content

Customization Use Cases

Evgeniy Zhukovskiy edited this page Jan 19, 2017 · 10 revisions

Charting Library allows you to customize its appearance, the way it displays data, default properties and lots of other things. Customizations are client-side and server-side. Some of them are made through the constructor, other ones can be made using widget/chart methods. Here is the single place where you can find most used customizations and links to their descriptions.

Default instrument and resolution

Change default symbol (instrument) and resolution (interval). Minimum supported resolution is 1 second.

documentation

Default visible range (timeframe)

Change time range of bars for the default resolution

documentation

Default visible range for resolutions

Change time range of bars when the resolution is changed by a user. Look at the sample here:

documentation

Initial timezone

documentation

Size of the chart

Width and Height

Fullscreen

Autosize

Chart colors

  1. Color of toolbars

documentation

  1. Color of the chart

documentation

Indicators

  1. Limit amount of indicators for 1 chart layout - documentation
  2. Limit what indicators are displayed and can be added - documentation
  3. Add your own indicators calculated on a server - documentation
  4. Change default properties of indicators - documentation
  5. Change default properties on the fly - documentation

Drawings

  1. Limit what drawings are displayed and can be added - documentation
  2. Change default properties of drawings - documentation
  3. Change default properties on the fly - documentation

Language

Choose one of more than 20 translations of the library

documentation

Note: Language is set when the chart is created. It cannot be changed without recreating of a chart.

Formatting of numbers and dates

  1. Change decimal sign of numbers - documentation
  2. Set custom formatters for data and time - documentation
  3. Prices are formatted according to the symbol information - documentation

Default properties of a chart

  1. Initially - documentation
  2. On the fly - documentation

Server for snapshots

documentation

Show/hide elements of the chart

  1. Most of the chart elements can be shown/hid by using documentation
  2. You can add your own CSS - documentation

Time frames at the bottom of the chart

documentation

Initial list of favorite intervals / chart styles

documentation

Resolutions displayed in the menu

  1. Full list of resolution is provided in the configuration of the datafeed - documentation
  2. Resolutions are enabled or disabled in the list basing on the symbol information - documentation
  3. Initial list of favorite resolutions can be set - documentation

Volume indicator

In spite of other indicators Volume is added by default if the instrument supports it (documentation). You can disable this behaviour using documentation.

Context menu

documentation

Custom buttons in the toolbar

documentation

💹 Watch list

documentation

💹 News feed

You can attach to any RSS feed - documentation

Clone this wiki locally