Skip to main content

Multiple scales

The DXcharts React API allows to move study data series between panes and to move to a new or existing scale within a single pane using the following methods:

  • moveStudyToPane - move study data series to the pane above or below. This method is used for the two non-standard scenarios:
    1. The pane is not yet created yet - it creates a new one.
    2. The target pane is the main "chart" pane with the candles series. The new scale for the study will be created if the study's overlaying property is false by default. Otherwise, it will be moved to the same scale as the main candle series.
  • moveStudyToNewScaleWithinChartPane - move study data series to the new scale to the left or right of the chart.
  • moveStudyToExistingScaleWithinChartPane - move study data series to the existing y-axis scale.

For more information about these methods, go to the API page.

DXcharts React supports moving data series only for the studies data series with a specific behavior. In all other cases, use the moveDataSeriesToPane method from the DXcharts Lite pane manager.