TradingView
ironpark
8 mars 2023 06:24

TableBuilder 

1000SHIB / TetherUS PERPETUAL CONTRACTBinance

Description

Library "TableBuilder"
A helper library to make it simpler to create tables in pinescript

This is a simple table building library that I created because I personally feel that the built-in table building method is too verbose. It features chaining methods and variable arguments.

There are many features that are lacking because the implementation is early, and there may be antipatterns because I am not familiar with the runtime behavior like pinescript. If you have any comments on code improvements or features you want, please comment :D

Notes de version

v2

Font, Align and Size features implemented in Row/Cell object

Width(this, width)
  Change the width of all cells in that row
  Parameters:
    this
    width
  Returns: Row

Height(this, height)
  Change the height of all cells in that row
  Parameters:
    this
    height
  Returns: Row

Font(this, text_font_family)
  Change the width of all cells in that row
  Parameters:
    this
    text_font_family
  Returns: Row

AlignH(this, halign)
  Change the horizontal align of all cells in that row
  Parameters:
    this
    halign
  Returns: Cell

AlignV(this, valign)
  Change the vertical of all cells in that row
  Parameters:
    this
    valign
  Returns: Cell

업데이트됨
Size(this, width, height)
  Change the width of all cells in that row
  Parameters:
    this
    width
    height
  Returns: Row

Notes de version

More useful example code
Commentaires
gingin1327
감사합니다! 필요할 때 잘 꺼내서 쓰겠습니다~~
Seungdori_
감사합니다 잘 사용하겠습니다 :)
Plus