kaigouthro

Dynamic Array Table (versatile display methods)

kaigouthro מעודכן   
Library "datTable"
Dynamic Array Table.... Configurable Shape/Size Table from Arrays
Allows for any data in any size combination of arrays to join together
with:
  • all possible orientations!
  • filling all cells contiguously and/or flipping at boundaries
  • vertical or horizontal rotation
  • x/y axis direction swapping
  • all types array inputs for data.
please notify of any bugs. thanks

init(_posit)
  Get Table (otional gapping cells)
  Parameters:
    _posit: String or Int (1-9 3x3 grid L to R)
  Returns: Table

coords()
  Req'd coords Seperate for VARIP table, non-varip coords


add
  Add arrays to display table. coords reset each calc
  uses displaytable object, string titles, and color optional array, and second line optional data array.
הערות שחרור:
v2

Already updating.. found small error preventing full 99x99 possible size
(it will crash at over 100 table limitation)
also, updated and finished out the settings configuration to include frame/borders..
הערות שחרור:
v3

gut punch realizing i should have named this library "adapTable"

- updated demo, minor cleanup.
הערות שחרור:
v4

changed "to string" on final step for optimizing and removing NaN cells
added per-cell (row/column will override) sizing capability.
הערות שחרור:
v5

Merging superpowers added. not avail on flip at boundaries
- will skip cells if over the truncate limit
- will stretch cells if under

Needed upgrade for this nearly finished item.
הערות שחרור:
v6
update merge on/off toggle, filter for non-compat
הערות שחרור:
v7
minor bug fix
הערות שחרור:
v8

merge / table > 50 width/height
please report bugs or share any interesting usages.
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.