Open aiyunstunna opened 3 months ago
Update:
Cell data is still not being received on a simple pineScript which produces a table with all common characters that I tested just now.
PineScript:
//@version=5
indicator("TableTest", overlay=true)
// Define the table
var table tfTable = table.new(position.top_right, 1, 1, border_width = 0)
table.cell(tfTable, 0, 0, "M35", 2, text_color = color.yellow, text_size = size.small)
JSON Received:
"TableTest": {
"plots": {},
"graphics": {
"tables": [
{
"id": 1,
"position": "top_right",
"rows": 1,
"columns": 1,
"bgColor": null,
"frameColor": null,
"frameWidth": 0,
"borderColor": null,
"borderWidth": 0
}
]
}
},
This is an awesome API and I tremendously appreciate your work.
Describe the bug When accessing the table of a private indicator, the "cells" key in the JSON object is missing even though I can see in graphicParser.js that it is expected and the table is populated on the chart in TradingView. Just to let you know, there are characters such as "ā" in the chart.
To Reproduce
Expected behavior I was expecting to see the values in the cells.
Would a character like "ā" lead to an absence of the "cells" key in the JSON object output?
Additional context
This is the current output:
Thank you for taking a look!