tvjsx / trading-vue-js

💹 Hackable charting lib for traders. You can draw literally ANYTHING on top of candlestick charts. [Not Maintained]
https://tvjsx.github.io/trading-vue-demo/
MIT License
2.09k stars 638 forks source link

Offchart - Request for overlapping indicators to be included in the same offchart (Enhancement) #114

Closed ghost closed 4 years ago

ghost commented 4 years ago

The offcharts seem to work for one indicator at a time if i have multiple overlapping indicators within the range , then a separate offchart is getting created

can the overlapping be introduced base on a common param between the combining offcharts

C451 commented 4 years ago

This is undocumented yet, there is grid property in overlay object:

{
  grid: {
    id: <new_id> // 0 - main grid, 1 - first offchart, etc
  }
}

By changing this id you can overlay overlays.

novecento commented 4 years ago

What is the grid-id pattern to overlay 4 offchart Splines, "2 with 2" ? a-b c-d