일목균형표 paneViews/draw 호출 여부 디버그
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -66,10 +66,8 @@ class CloudRenderer implements IPrimitivePaneRenderer {
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
draw(target: any): void {
|
||||
if (this._data.length < 2) {
|
||||
console.log('[IchimokuCloud] draw: skipped, data.length=', this._data.length);
|
||||
return;
|
||||
}
|
||||
console.log('[IchimokuCloud] draw called. data.length:', this._data.length);
|
||||
if (this._data.length < 2) return;
|
||||
const timeScale = this._chart.timeScale();
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
@@ -184,6 +182,7 @@ export class IchimokuCloudPlugin implements ISeriesPrimitive<Time> {
|
||||
getBearishVisible() { return this._bearishVisible; }
|
||||
|
||||
paneViews(): readonly IPrimitivePaneView[] {
|
||||
console.log('[IchimokuCloud] paneViews called. chart:', !!this._chart, 'series:', !!this._series, 'data:', this._data.length);
|
||||
if (!this._chart || !this._series) {
|
||||
console.warn('[IchimokuCloud] paneViews: chart or series is null → returning []');
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user